Solved

# Excel Formula, Today()

Posted on 2011-09-14
Medium Priority
298 Views
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
Question by:edli83
• 2
• 2

LVL 50

Expert Comment

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

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

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

ID: 36537129
Thanks Barry!!!
0

## Featured Post

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.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
###### Suggested Courses
Course of the Month4 days, 12 hours left to enroll