If we divide a number with zero then we get #DIV/0.
I followed the formula using the IsError, then and Else statement and I was able to get rid of the error.
But it looks like the result is not a number anymore.
I use the ToNumber function after that but if I do that, I’m getting the error again.
How do you divide a number that the result will be zero or null value.
To avoid the DIV/0 error,use a if condition before the division…
=if <> 0 then /
then you can format those cells where you have the denominator=0…
Hope this helps…
Sarma.
But i dont want to format the report. Instead it should do by itself on providing run time parameters. I want #div/0 with either ‘0’ or NULL or hiding row.