Improve company productivity with a Business Account.Sign Up

x
?
Solved

Excel Conditional Formatting based on date

Posted on 2014-01-14
2
Medium Priority
?
498 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:Michael Keith
2 Comments
 
LVL 55

Accepted Solution

by:
Rgonzo1971 earned 2000 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:Michael Keith
ID: 39782701
Who knew it was so simple.   That will do the trick.  Thanks
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article presents several of my favorite code snippets.
This is a comprehensive review of a bundled Toolkit designed for use by IT Professionals and End Users to help Microsoft Outlook fans manipulate Outlook files and repair some common problems. Enjoy...
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

606 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