I would like to use the conditional formatting task to be able to highlight the attached spreadsheet, such that the entire row (from col A to H) is highlighted predicated on the following conditions: 1) Highlight the entire row (from col A to H) in red if date is = today, 2) Highlight the entire row (from col A to H) in green if the date is tomorrow, 3) The formula that would highlight the entire row(s) (from col A to H) in yellow that are yet to come within the same week as today's date. As of now, I can only highlight the date cell, not the entire row.
Last edited by NBVC; 01-10-2012 at 08:20 AM.
Revise each condition choosing to: use a formula to determine which cells to format.. then
Red: =$D2=TODAY()
Green: =$D2=TODAY()+1
Yellow: =AND($D2<TODAY()+14,WEEKNUM($D2)=WEEKNUM(TODAY())+1)
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
NBVC:
Thanks for the feed back. Everything is perfect except for the yellow conditional (remainder of the current week). Using the supplied spreadsheet, let us assume that today were Monday, 2/6/2012. Then the entry on row 10 should be green (which is true based on what you gave me), BUT rows 11 & 12 (2/9/2012 & 2/10/2012) should be yellow - NOT the following week (rows 13 & 14). In other words, the yellow shade should highlight any row that is between the today date, and the upcoming Saturday of that same week - Not the following week.
The full colored rows is exactly what I want for all three situations. Thanks
Try:
=AND($D2<TODAY()+7,WEEKNUM($D2)=WEEKNUM(TODAY()))
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
Perfect in all three accounts. Thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks