Conditional Formatting with Dates

B

BillXMachina

I hope someone will be able to help me. I have tried a number of things but
can't get this just right. I want to be ale to make the text in a cell turn
red if todays date is between two dates. Example: in Cells A1 through A12
are the months of the year (January, February, March, April, May, June, July,
August, September, October, November, December). I want to highlight he
current month in Red.

I have tried the following and had mixed results. In each cell I have tried
the following:

1. =OR(TODAY() >= 1-1-2008, TODAY() <= 1-31-2008)
Results = Turns text red regardless of current date


2. =AND(TODAY() >= 1-1-2008, TODAY() <= 1-31-2008)
Results = Does not turn text red regardless of current date

I'm not sure whats wrong here, please help.

Thanks,
Bill
 
G

GoBow777

BillXMachina;667245 said:
I hope someone will be able to help me. I have tried a number of thing
but
can't get this just right. I want to be ale to make the text in a cel
turn
red if todays date is between two dates. Example: in Cells A1 throug
A12
are the months of the year (January, February, March, April, May, June
July,
August, September, October, November, December). I want to highligh
he
current month in Red.

I have tried the following and had mixed results. In each cell I hav
tried
the following:

1. =OR(TODAY() >= 1-1-2008, TODAY() <= 1-31-2008)
Results = Turns text red regardless of current date


2. =AND(TODAY() >= 1-1-2008, TODAY() <= 1-31-2008)
Results = Does not turn text red regardless of current date

I'm not sure whats wrong here, please help.

Thanks,
Bill

Hello Bill:

Try this formula with Conditional Formatting for cells A1:A12.

=MONTH(DATE(1900,COLUMN(),1))=MONTH(TODAY()
 

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