Solved

Excel Conditional Formatting based on date

Posted on 2014-01-14
2
445 Views
Last Modified: 2014-01-15
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
Comment
Question by:Apex623
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 51

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 39781967
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
 
LVL 1

Author Comment

by:Apex623
ID: 39782701
Who knew it was so simple.   That will do the trick.  Thanks
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

732 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