Solved

Conditional Formatting Help

Posted on 2013-02-04
4
228 Views
Last Modified: 2013-02-04
I have a conditional formatting formula that highlights every that is older than today

=$I2<=TODAY()

How do I tell it to look at column I and highlight anything older than 3 months (90 days)?

Thank you
0
Comment
Question by:squirrelzan
  • 2
  • 2
4 Comments
 
LVL 50

Expert Comment

by:barry houdini
ID: 38851751
just subtract 90 like

=$I2<=TODAY()-90

that could highlight blank cells too, so to stop that change to

=AND($I2<>"",$I2<=TODAY()-90)

regards, barry
0
 

Author Comment

by:squirrelzan
ID: 38851775
Barry

I understand your formula, but you can see from attached that it highlighted dates not older than 90 days and not all the rows that are older than 90 days (see row 96) are changed to red.

Thank you for your help.
book1.xlsx
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 38851833
You need to make sure that the formula applies to the top cell of the "applies to" range - you have "applies to" set to start at row 1 but formula applies to row 2 so you get the wrong formatting - see attached corrected version (I changed "applies to" range - which in turn changes the formula, so I then changed formula!)

regards, barry
book1-barry.xlsx
0
 

Author Closing Comment

by:squirrelzan
ID: 38852117
Thank you for pointing out my error. Your help is appreciated.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question