A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Conditional Format based on Month of Date in Cell



 
 
Thread Tools Display Modes
  #1  
Old January 11th, 2010, 08:11 AM posted to microsoft.public.excel.worksheet.functions
Joe
external usenet poster
 
Posts: 1,218
Default Conditional Format based on Month of Date in Cell

I have a cell that I typed in 1/1/2010 and I want to conditional format it
based on what month it is. Say format blue text if it's 1/1/2010 and green
text if 2/1/2010.

I did a test with formula =IF(MONTH(A1)=1,"yep","nope") and it returns "yep"

So I tried to use the following in the conditional formatting window based
on formula:
MONTH(A1)=1 which does nothing.

The formula =MONTH(A1) returns a value of 1 so I don't see what the problem
is.
  #2  
Old January 11th, 2010, 08:23 AM posted to microsoft.public.excel.worksheet.functions
Per Jessen
external usenet poster
 
Posts: 686
Default Conditional Format based on Month of Date in Cell

Hi

Using formulas in conditional formatting, the equtation must always start
with an equal sign:

=Month(A1)=1

Regards,
Per

"Joe" skrev i meddelelsen
...
I have a cell that I typed in 1/1/2010 and I want to conditional format it
based on what month it is. Say format blue text if it's 1/1/2010 and green
text if 2/1/2010.

I did a test with formula =IF(MONTH(A1)=1,"yep","nope") and it returns
"yep"

So I tried to use the following in the conditional formatting window based
on formula:
MONTH(A1)=1 which does nothing.

The formula =MONTH(A1) returns a value of 1 so I don't see what the
problem
is.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:25 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.