DIV/0 error

Kidmon

Board Regular
Joined
Mar 4, 2011
Messages
71
I am using excel 2007

I need to divide numbers from cells that sometimes contain blank cells.
I am using =(B3/B5) and it works until if finds a blank cell. Then I get the dreded DIV/0 ERROR.

I have tried to use =IFERROR(QUOTIENT(B2,B5),"") and it works but I need to see the complete number. This returns something like 6, but I need to see 6.66 to be more acurate.

What is a simple way to write the formula?

Thanx for your help
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Thank you for your help.
I tried your formula and it still return DIV/0 error. I am sure I have not eplained it clearly for the forum. I have created a screen shot in a hope of making a better picture to understand my error. Please check it out. Thank you again, I really appreciate the help I have received from this forum.
 
Upvote 0
I am using excel 2007

I need to divide numbers from cells that sometimes contain blank cells.
I am using =(B3/B5) and it works until if finds a blank cell. Then I get the dreded DIV/0 ERROR.

I have tried to use =IFERROR(QUOTIENT(B2,B5),"") and it works but I need to see the complete number. This returns something like 6, but I need to see 6.66 to be more acurate.

What is a simple way to write the formula?

Thanx for your help
See your other thread:

http://www.mrexcel.com/forum/showthread.php?t=616970
 
Upvote 0
Thank you. Of course 0 is not blank. Duuuuuu, I should have thunk it. Learning to think in Excel is a new language for me.

By the way, what do I do if the cells contain a #VALUE ERROR because B5 contains a number before B3 is populated?
Thanx again, This forum is wonderful.
 
Upvote 0

Forum statistics

Threads
1,215,692
Messages
6,126,232
Members
449,303
Latest member
grantrob

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