Solved

Excel Conditional Formatting based on date

Posted on 2014-01-14
2
433 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
2 Comments
 
LVL 50

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

This article will show you how to use shortcut menus in the Access run-time environment.
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 will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
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.

789 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