• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 488
  • Last Modified:

Excel Conditional Formatting based on date

Dear Experts -

I am looking for a way to write a conditional formatting formula that can easily be applied to any cell in my "Outstanding Debt" tab that will look at the Date/Year column and compare that date to the date that will be entered into cell "A2" the “outstanding debt as of “ date.     The conditional format result would be any date that occurs before the date entered the worksheet would apply a strike through.   For example if 1/1/2014 is inserted in "A2" for the as of date then any date that occurs before that date would apply a strike through to the amounts on that date line to the right.   I can put in each cell say if A2>A7 apply formatting but I would have to change the formula for each row meaning the next line would read if A2>A8 and so on.  I am hoping there is a better way to attack this.  I have attached a file to show the structure of my worksheet.    Thanks!
Sample-Data.xlsm
0
Michael Keith
Asked:
Michael Keith
1 Solution
 
Rgonzo1971Commented:
Hi,

You have to change your rule from
=$A$2>$A$7

Open in new window


to
=$A$2>$A7

Open in new window

to be able to adapt for the rows without changing the formula and expanding the "Applies to"

Regards
0
 
Michael KeithAuthor Commented:
Who knew it was so simple.   That will do the trick.  Thanks
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now