removing #DIV/0! & #VALUE!

wberg82

New Member
Joined
Feb 19, 2016
Messages
38
What do I need to do to this equation, so I don't get the #DIV/0! result?

=IF(E43<=(N43/2),((A25/(ROUNDDOWN((N43/E43),0)))*B43),A25*B43)

Same with #VALUE !

=IFERROR((D25/(ROUNDDOWN((O43/H43),0))),"")*B43

Thanks
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
=iferror(if(e43<=(n43/2),((a25/(rounddown((n43/e43),0)))*b43),a25*b43),"")

=iferror(d25/rounddown((o43/h43),0)*b43,"")


 
Upvote 0
1.

=IF(E43<=(N43/2),IF(ISNUMBER(1/E43),((A25/(ROUNDDOWN((N43/E43),0)))*B43),"not available"),A25*B43)

2.

=IF(ISNUMBER(1/H43),(D25/(ROUNDDOWN(O43/H43,0)*B43,"")

Do these work for you?
<strike>
</strike>
 
Upvote 0

Forum statistics

Threads
1,214,992
Messages
6,122,631
Members
449,095
Latest member
bsb1122

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