Conditional Format based on Month of Date in Cell

J

Joe

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.
 
P

Per Jessen

Hi

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

=Month(A1)=1

Regards,
Per
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top