# #DIV/0!

#### BMD

##### Board Regular
is there a way to say if your going to display the #DIV/0! just dispaly 0% insteed?

Thanks.

### Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
=If(Iserror(argument),0,argument)

BMD said:
is there a way to say if your going to display the #DIV/0! just dispaly 0% insteed?

Thanks.

Can you post your formula that gives the #DIV/0! ?

Simply check for the presence of 0 first

=IF(B1,A1/B1,0)

Or

IF(B1=0,0,A1/B1)

Or if B1 could be Text

=IF(N(B1),A1/B1,0)

Thanks,

=IF(E9=0,0,(E9-E18)/E9)

I should if known, If there is nothing to do put a 0 or do the math.

Replies
4
Views
141
Replies
5
Views
97
Replies
5
Views
309
Replies
7
Views
394
Replies
4
Views
42

1,202,984
Messages
6,052,912
Members
444,612
Latest member
FajnaAli

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back