#DIV/0! ERROR is taunting me....

Michele

Board Regular
Joined
Jul 22, 2002
Messages
233
Here is my formula "=(STDEV(B71:F71))^2" and here is what is displayed in cell I71 "#DIV/0! ERROR"

would like to choke this spreadsheet right now !!! I tried a conditional formating formula but when I really do end up with 0 for a sum it won't display it so I am at my wits end. Any ideas ?

Thanks, M :(
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
If you want to suppress the error try

=IF(ISERROR(STDEV(B71:F71)^2),"",STDEV(B71:F71)^2)
 
Upvote 0
Are you sure the values in B71:F71 are actually numbers?
Not "Numbers Stored As Text" ?

Use
=ISNUMBER(B71) filled right to test


Also, I think STDEV requires at least 2 numbers in it's arguments...
So perhaps test for at least 2

=IF(COUNT(B71:F71)>=2,STDEV(B71:F71)^2,"")


Hope that helps.
 
Upvote 0
THAT WORKS Peter !!! but I have many other formulas I need to do this to and they are different, like averages, stand division or this complex formulae here "=2*SQRT((AD64/2)^2+(AD61/SQRT(3))^2)+AD62/SQRT(12)"

I am trying to figure out how to apply what you showed me to this last formula and I am just too stoopid !!! lol

any who, yup !
 
Upvote 0
Good point !!! I only tested that formula on 2 cells, maybe I need to see about this. thank you
 
Upvote 0
i was using 5 cells and it seems to change values for each cell entered, is that what you meant ?
 
Upvote 0
=2*SQRT((AD64/2)^2+(AD61/SQRT(3))^2)+AD62/SQRT(12)

That shouldn't ever result in a #DIV/0! error as you never divide by 0.

On a simple scale though, the basic formula is:

=IF(B1,A1/B1,"")
 
Upvote 0
Yippeeee , thanks guys !!! That did work ! I had the cell properties set for the wrong format and a lingering color change code.

thanks ;)
 
Upvote 0

Forum statistics

Threads
1,224,570
Messages
6,179,610
Members
452,931
Latest member
The Monk

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