Solved

Conditional Formatting

Posted on 2013-12-04
9
226 Views
Last Modified: 2013-12-04
I cannot get conditional formatting in Excel 2010 to work on this formula.

=IF(TODAY()-F73<10,"",TODAY()-F73)

I have this formula entered to calculate the number of days that have passed since the last event. What I need is conditional formatting to highlight the cell where this formula is if the result of the formula is >29. So anything event that is 30 days past or more should be formatted.

When I try the conditional formatting in Excel every cell is highlighted even if the result of the formula above is less than 30. I know there is something screwy about conditional formatting and formulas but I cannot remember and I have not been able to get this to work.
0
Comment
Question by:gacto
  • 4
  • 3
  • 2
9 Comments
 
LVL 4

Expert Comment

by:andrew_man
ID: 39695997
Post your sheet here
0
 

Author Comment

by:gacto
ID: 39696080
Here is a copy of what I am trying to make work. I just used the basic conditional formatting function here but I have tried several times to use other options and all of the results are the same.
ConditionalFormattingExample.xlsx
0
 
LVL 4

Expert Comment

by:andrew_man
ID: 39696104
0
Technology Partners: 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!

 
LVL 33

Accepted Solution

by:
Rob Henson earned 500 total points
ID: 39696155
Change formula to:

=AND($G2<>"",$G2>29)

Calculation in column G puts "" in cell when less than 10. Excel doesn't recognise as a number so can't evaluate aginst 29 .

Thanks
Rob H
0
 
LVL 4

Expert Comment

by:andrew_man
ID: 39696163
I suggest that not yet due to be zero instead of ""

=IF(TODAY()-F2<10,0,TODAY()-F2)
0
 
LVL 33

Expert Comment

by:Rob Henson
ID: 39696177
I was thinking the same but left it with user's original.

If you use andrew_man's suggestion you can then use sheet options to hide zeros or Custom Format specific column so that they don't show.
0
 
LVL 4

Expert Comment

by:andrew_man
ID: 39696191
Yes
0
 

Author Comment

by:gacto
ID: 39696433
andrew_man,

the spreadsheet you uploaded works fine until I enable editing and then the formatting fails. I have followed the logic of your formatting and it does not work in my version of Excel.
0
 

Author Closing Comment

by:gacto
ID: 39696436
Excellent suggestion Rob H.
0

Featured Post

Technology Partners: 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

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

726 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