Remove #DIV/0

leonv01

New Member
Joined
Mar 31, 2011
Messages
6
Hi, I'm looking for a solution to mask or hide "#DIV/0" cells in my workbook. Would be nice when I do not have to change all formulas because there are a lot in the workbook..

Many thnaks for your help!
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Where any formula has a chance of giving an error, wrap it in...

=IFERROR('original formula',0)
 
Upvote 0
Hi

The error #DIV/0 is cause by a quotient equal to zero, so you just have to test the quotient.

In a case like

=a/b

just test

=if(b<>0,a/b,"error")
 
Upvote 0
would like to have the same solution for this formula: =SUMIF($F$11:J58,"Points",I11:I53)

Thnx!
 
Upvote 0
That formula won't be the cause of any #DIV/0 error. It is likely that those errors are in column I, so visit column I and apply the fix that PGC suggested.
 
Upvote 0

Forum statistics

Threads
1,224,613
Messages
6,179,904
Members
452,948
Latest member
Dupuhini

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top