Conditional formatting with formula

C

CClark

What formula would I use if I wanted to format a cell (say in red) if the
date entered in that cell is 30 days or less from today's date?
 
P

Pete_UK

Suppose that cell is A2, then you would use this formula:

=AND(A2>TODAY(),A2<TODAY()+31)

So if A2 is after today AND less than 31 days hence, then the CF will
be activated - I think that is what you meant.

Hope this helps.

Pete
 

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