?
Solved

Excel Formula, Today()

Posted on 2011-09-14
4
Medium Priority
?
286 Views
Last Modified: 2012-05-12
Hi,

So I am trying to use conditional formatting for a number of cells.

I have a list of "Due Dates", I would like these to highlight Red

IF TODAY() is greater than the Due Date and if Balance (in a different cell) is greater than 0

I cant seem to piece this together... can anyone help.
0
Comment
Question by:edli83
[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
  • 2
4 Comments
 
LVL 50

Expert Comment

by:barry houdini
ID: 36536959
Try using AND, e.g. with date in A1 and Balance in B1 use this formula in conditional formatting

=AND(TODAY()>A1,B1>0)

regards, barry
0
 

Author Comment

by:edli83
ID: 36537019
Perfect that seems to work... Is there an easy way to apply the formula to all the cells in that column?
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 2000 total points
ID: 36537085
Normally it's easiest to select the range you need, e.g. select down to row 100 and then just apply that same formula - it automatically adjusts for each row.

In Excel 2007 and later if you have already applied CF to a single cell then you can go into conditional formatting and change the "applies to" box to the range you need rather than a single cell....but you shouldn't alter the start point of the range.

Alternatively you can use the "format painter" - the little paintbrush button on the toolbar/ribbon. Select the cell with CF applied then click on formula painter, then select the range to which to apply that format

regards, barry
0
 

Author Comment

by:edli83
ID: 36537129
Thanks Barry!!!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

770 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