![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Posts: 64
|
In conditional formatting I use the formula =(A1-TODAY())<6 to alert me when a delivery date is approaching. I have it fill the cell red with a yellow font.
Currently the cell stays red even after the due date is past. I'd like the cell to return to a regular non-formatted cell once the due date is past. How should I modify my formula to accomplish this? |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Newcastle, UK
Posts: 1,174
|
Try using:
=AND((A1-TODAY())>0,(A1-TODAY())<6) Hope this helps
__________________
"Have a good time......all the time" Ian Mac |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Apr 2002
Posts: 64
|
Ian,
That solved the problem. Thanks for your help. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|