cancel
Showing results for 
Search instead for 
Did you mean: 

#Div/0 Error in Percentage

Former Member
0 Kudos

Hi,

i am dividing two number

-350/500

when i take the percentage i am getting #Div/0.

Instead of #Div/0 i want to show as n/a

capture.jpg

Accepted Solutions (0)

Answers (1)

Answers (1)

amitrathi239
Active Contributor

=if(iserror(variable)) then "n/a" else [variable]

Former Member
0 Kudos

its became string and i cannt do percentage. even though i have writeen the formula as below

=If(IsError([Rtn% Qty])) Then "n/a" Else FormatNumber(([Rtn% Qty]);"0.00%")

capture1.jpg

amitrathi239
Active Contributor
0 Kudos

if you need to display "n.a" then obvious it's going to be convert in the string.

replace "n.a" with 0 and try.

Former Member
0 Kudos

i dnt want to display 0