Color cells when Date is current or nearing

D

dsmith7265

Hello all, I was wondering if anyone could tell me how to color a cell
when a date nears or is the same date. Is this possible?


Thanks!
DLS
 
J

J.E. McGimpsey

Take a look at Conditional Formatting in XL Help.

You probably want your condition to read something like:

Formula Is =(TODAY()-5)< A1

this assumes that A1 is the cell you're conditionally formatting and
that you want the cell colored if the current date is later than 5
days prior to the value in A1. After you enter the formula, click on
Format and select a color from the Patterns tab, then click OK, OK.
 
P

Peo Sjoblom

Format>conditional formatting, formula is

=AND(A1-TODAY()<5,TODAY()<=A1)

where A1 is the date, I used less than 5 days, change that to what you want
 

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