Solved

Conditional Formatting

Posted on 2013-12-04
9
190 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
 
LVL 31

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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
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 31

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now