Hi All-
I'm working on a spreadsheet in Excel 2007, and im having an issue.
Ok here goes, i have a =now() in cell F1, and an anticipated date of completion in column G, i need column G to hightlight in red the day before it is due. For example today (F1) is 11/21/11, i need everything in column G that is 11/20/11 to highlight in red and so on when the date changes daily.
Hope i made sense and you can help!
Thanks Canada
Last edited by CanadaFriend; 11-21-2011 at 10:20 AM.
Change formula in F1 to =TODAY() so that time is not involved.
Assuming column G is only dates (no times), then select the column G from G2 down, go to Home|Conditional Formatting|New Rule
Select Format Only Cells That Contain from rule types section
Select Cell Value >> Equal To and enter =$F$1-1
Click Format and choose from Fill tab.
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.
Highlight column G
Conditional formatting > New Rule > Use a formula to determine which cells to format
Enter =G1=TODAY()-1
if you want cells highlighted ONLY the day before they're due, or
=G1>=TODAY()-1
if you want cells to remain highlighted once they've passed their due date.
Please disregard anything in the above post. It may well have been edited without my consent, as has been the case with several posts and threads recently.
Highlight column G, go to conditional formatting, highlight cell rules, A date occurring, choose tomorrow (or yesterday not sure which you want?). This should do it.
Last edited by deastham2000; 11-21-2011 at 09:55 AM.
Thank you that worked!
Last edited by CanadaFriend; 11-21-2011 at 10:18 AM. Reason: <Solved>
Thanks CanadaFriend
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks