zombiemaster
Board Regular
- Joined
- Oct 27, 2009
- Messages
- 245
Hi, everyone...I'm here with another hopefully easy question!
Management has given me a pre-existing report and wants me to improve it. One of the improvements they are asking for is with a yearly formula that takes a number from a month last year and compares it to a number from the same month this year and give a percentage as the result. What they DON'T LIKE is when last year's number is ZERO, the formula is giving the #DIV/0! error, and they want it to just be a blank-looking cell instead of that "ugly" error.
The formula I'm working with is very basic:
=(H9/G9)-1
Is there a way to "hide" a formula result from view if it's giving that error? I tried conditional formatting with no luck (I hate Conditional Formatting since they changed it from Office2007, which was SO much easier INHO). I also tried something like this, thinking it would work but it didn't:
=IF(H9>0.9,(H9/G9)-1," ")
I know there's a simple solution here, so someone here will get my undying gratitude for something easy.
Thanks in advance!
~ZM~
Management has given me a pre-existing report and wants me to improve it. One of the improvements they are asking for is with a yearly formula that takes a number from a month last year and compares it to a number from the same month this year and give a percentage as the result. What they DON'T LIKE is when last year's number is ZERO, the formula is giving the #DIV/0! error, and they want it to just be a blank-looking cell instead of that "ugly" error.
The formula I'm working with is very basic:
=(H9/G9)-1
Is there a way to "hide" a formula result from view if it's giving that error? I tried conditional formatting with no luck (I hate Conditional Formatting since they changed it from Office2007, which was SO much easier INHO). I also tried something like this, thinking it would work but it didn't:
=IF(H9>0.9,(H9/G9)-1," ")
I know there's a simple solution here, so someone here will get my undying gratitude for something easy.
Thanks in advance!
~ZM~