Removing the #div/0! from my sheet

zepan

Board Regular
Joined
May 29, 2003
Messages
54
Hi Guys and Girls,

I have big sheet with some simple formulas working out the cost price for each unit =SUM(H5)/F5. In some cases the answer is 0 and understand you can't divide 0 by 0 and this is why the remark #DIV/0! comes in the cell. How can I clear this to give me a 0 and not the #div/0! Error.

Thanks in advance,

Matt
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Hi Guys,

How do I remove the #div/0! from this =ABS(H$3-H4)/H$3.
I am trying to calculate MAPE and this error is preventing me from getting a result.

Thanks
 
Upvote 0
Hi, can anyone help me eliminate #div/0. i want "0" to appear instead. this is the formula:

=IF(E11/D11>100%,100%,E11/D11)
 
Upvote 0
I have this formula =IF((AI97-AG97)/AG97<100%,(AI97-AG97)/AG97,"Manual Review")

I need to remove the #div/0! from it, how my friends? Iserror is not working.
 
Upvote 0
HTH. Dave
Code:
=IF(AG97=0,0,IF((AI97-AG97)/AG97<100%,(AI97-AG97)/AG97,"Manual Review"))
or...
Code:
=IF(ISERROR(IF((AI97-AG97)/AG97<100%,(AI97-AG97)/AG97,"Manual Review")),0,IF((AI97-AG97)/AG97<100%,(AI97-AG97)/AG97,"Manual Review"))
 
Last edited:
Upvote 0
This worked great, thank you Sir! :biggrin:
HTH. Dave
Code:
=IF(AG97=0,0,IF((AI97-AG97)/AG97<100%,(AI97-AG97)/AG97,"Manual Review"))
or...
Code:
=IF(ISERROR(IF((AI97-AG97)/AG97<100%,(AI97-AG97)/AG97,"Manual Review")),0,IF((AI97-AG97)/AG97<100%,(AI97-AG97)/AG97,"Manual Review"))
 
Upvote 0
EXCEL_FORMULA.jpg


anyone can help me solve this .... E6 and E7 support to be -100% but its show 0 becourse from IF(ISERROR) formula.thank.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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