Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Have a date chane if it is +/- 2 days from the previous date
I have a spreadsheet of dates that track visits. The visits are supposed to be 7 days appart but +/- 2 days is acceptible. Is there a way to change the backround color of the cell if the date is +/- 2 days from the date in the previous cell. Gohan51D -- Gohan51D ------------------------------------------------------------------------ Gohan51D's Profile: http://www.excelforum.com/member.php...o&userid=32274 View this thread: http://www.excelforum.com/showthread...hreadid=521228 |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Have a date chane if it is +/- 2 days from the previous date
You can do that with conditional formatting. Set the condition to
"Formula Is" and use this formula: =ABS(B1-A1)<=2 ....where A1 and B1 contain the dates. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
date (minus) date = working days diff | Excel Discussion (Misc queries) | |||
calculate the number of days from date received | Excel Worksheet Functions | |||
Number of days since a date | New Users to Excel | |||
Calculating days between current date and a date in future NETWORKDAYS() function | Excel Worksheet Functions | |||
Roll back to previous date | Excel Worksheet Functions |