I've got a cell with the following custom number formatting:
_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)
As you can see, a zero should show up as a dash with a dollar sign. Usually, with this formatting, it does.
However, this particular cell also contains this formula:
=IF(ISNA(VLOOKUP(A9,'2011 Calc (Reset)'!$H$44:$M$54,6,FALSE) = TRUE),"0",VLOOKUP(A9,'2011 Calc (Reset)'!$H$44:$M$54,6,FALSE))
Basically, if the result of the VLOOKUP is NA, the result of the overall formula should be zero.
However, when this formula gives a zero result, all the formatting goes out the window. The user sees a zero flush against the left wall of the cell.
What can I do so that, when the formula returns zero, that zero is formatted properly?
Excel 2007, Windows XP
_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)
As you can see, a zero should show up as a dash with a dollar sign. Usually, with this formatting, it does.
However, this particular cell also contains this formula:
=IF(ISNA(VLOOKUP(A9,'2011 Calc (Reset)'!$H$44:$M$54,6,FALSE) = TRUE),"0",VLOOKUP(A9,'2011 Calc (Reset)'!$H$44:$M$54,6,FALSE))
Basically, if the result of the VLOOKUP is NA, the result of the overall formula should be zero.
However, when this formula gives a zero result, all the formatting goes out the window. The user sees a zero flush against the left wall of the cell.
What can I do so that, when the formula returns zero, that zero is formatted properly?
Excel 2007, Windows XP