?
Solved

Excel Formula, Today()

Posted on 2011-09-14
4
Medium Priority
?
298 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
  • 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

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

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.

601 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