Conditonal Format with a date format

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a page with colum A1:A365 date formatted I would like all stat days to
turn red Conditional format I am trying to use is,
…
=OR(A1:A365=â€DECEMBER 25, 2004â€, A1:A365=“JANUARY 1, 2005â€) ect ect

I If I type December 25 2004 in column any cell in column A without a date
format, it works. As soon as use a date format in column A1:A365 the
conditional format does not work.

Can anyone help??

Thank you
Kevin
 
Kevin,

This works for me. Select all the cells and then use this formula

=OR(A1=--"2005-12-25",A1=--"2006-01-01")

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
You're testing for a text string, not a date

You may find it easier to put all your 'stat days' into a range, the set up
the conditional formatting to be along these lines

Formula is =MATCH(A1,date_range,0)>0
 

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

Back
Top