I have a formula which divides two numbers and returns the result as a percentage.
For Example: X/Y
If x = 0 and y = 3, then I want it to be 0%
However, if X=3 and Y=0, then I don't want a 0 value, I want a blank (DIV BY 0)
When I try to insert this in my formula, I get a "a number is required here" error.
My Formula
if y>0 then
x/y
else
"N/A"
Any Ideas?
For Example: X/Y
If x = 0 and y = 3, then I want it to be 0%
However, if X=3 and Y=0, then I don't want a 0 value, I want a blank (DIV BY 0)
When I try to insert this in my formula, I get a "a number is required here" error.
My Formula
if y>0 then
x/y
else
"N/A"
Any Ideas?