Anne Troy
MrExcel MVP
- Joined
- Feb 18, 2002
- Messages
- 2,632
- Office Version
- 365
- Platform
- Windows
I know how NOT to display zeroes across the board.
I know how NOT to display zeroes using conditional formatting.
I know how NOT to display zeroes using a formula.
At least I thought I did. I consider myself fairly efficient at creating formulas.
I'm trying to get the value over 40 for overtime hours.
When G5 = 40, I cannot get it to NOT display the 0.00 in the cell.
Here's my formula....
=IF(G5=40,"",IF(MAX(0,G5-40)=0,"",MAX(0,G5-40)))
Here's another that fails...
=IF(G5=40,"",MAX(0,G5-40))
I know how NOT to display zeroes using conditional formatting.
I know how NOT to display zeroes using a formula.
At least I thought I did. I consider myself fairly efficient at creating formulas.
I'm trying to get the value over 40 for overtime hours.
When G5 = 40, I cannot get it to NOT display the 0.00 in the cell.
Here's my formula....
=IF(G5=40,"",IF(MAX(0,G5-40)=0,"",MAX(0,G5-40)))
Here's another that fails...
=IF(G5=40,"",MAX(0,G5-40))