#Div/0! error

akber.431

New Member
Joined
Jun 1, 2011
Messages
42
Can anyone how can i get rid off the #Div/0! error

actually i need to know the percentage of sold Item, so i m dividing Sold item (amount)/Gross Sales first excel is coming ok, and next its showing above error,


please help me out this on error,

thanks and regards
Akber
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
#DIV/0 error is simply division by zero, if Sold Item is in A1 and Gross Sales is in B1 then

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

which will let the formula return a blank cell if the divisor is zero.
 
Upvote 0
You have to use absolute-reference to Gross Sales cell

Something like
=A2/$A$20
copy down

assuming Gross Sales in cell A20

M.
 
Upvote 0
#DIV/0 error is simply division by zero, if Sold Item is in A1 and Gross Sales is in B1 then

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


which will let the formula return a blank cell if the divisor is zero.


sorry i tried but its not working

this is my equation



A B C
1- Qty Amount Mis%
2- 8.00 1,400.00 3% (formula =b2/b*100)
3- 19.00 820.00 2% (i encoded manual other wise #DIV/0)



10 Gross Sales 42196
 
Upvote 0

Forum statistics

Threads
1,224,585
Messages
6,179,703
Members
452,938
Latest member
babeneker

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