Solved

Excel Conditional Formatting based on date

Posted on 2014-01-14
2
427 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 49

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Clear Filter 8 41
Creating An Intelligent Dropdown 8 30
How to transform one row line like this in excel table 2010? 22 23
Formula Help 3 23
Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

822 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