![]() |
![]() |
|
|||||||
| 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 |
|
Guest
Posts: n/a
|
i have applied conditional formatting..to turn a date red if it is within 5 days of today...=(f6-TODAY())<6.....what formula do I use to change the color once the date is past today's date?
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,318
|
Quote:
=F6>TODAY() |
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2002
Location: Pittsburgh, PA
Posts: 1
|
Itried that , it didn't work.
|
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,318
|
Quote:
You have dates in F from F6 on. Do these dates change or fixed? Aladin |
|
|
|
|
|
|
#5 | ||
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,318
|
Quote:
Select the range of interest (containing due dates) from F6 on. Activate Format|Conditional Formatting. Choose 'Formula Is' for Condition 1. Enter in the formula box: =AND(TODAY()-F6>=1,TODAY()-F6<6) Activate Format. Select red on the Patterns tab. While still in the Conditional Dialog window, activate Add. Choose 'Formula Is' for Condition 2. Enter in the formula box: =F6>TODAY() Activate Format. Select a color different from red on the Patterns tab. Click OK, OK. ADDENDUM. Reading your mail once more, the "...AND all the due dates are not input yet" made me believe that you want to apply to cond format also to those cells missing a date. In that case, I'd suggest using: =AND(LEN(F6)>0,TODAY()-F6>=1,TODAY()-F6<6) =AND(LEN(F6),F6>TODAY()) Aladin [ This Message was edited by: Aladin Akyurek on 2002-03-10 10:38 ] |
||
|
|
|
|
|
#6 |
|
Board Regular
Join Date: Feb 2002
Posts: 7,743
|
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|