DIV/0 problem

hbgray

Board Regular
Joined
Apr 7, 2004
Messages
211
i'm doing an average =AVERAGE(B1:B27) and it's giving me #DIV/0!

any ideas what is wrong?
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
36     
38     
38.75  
39     
39     
39     
39     
39     
40     
40     
41     
41     
41.5   
41.5   
42     
42     
42     
42     
43     
43.5   
44     
44     
46     
46     
47     
48     
48.1   
those are the cells, that's why it is so wierd--I can do it by hand but I would like to figure this out if I can...or any of you can :)
 
Upvote 0
the formula should be array formula with {} (by pressing ctrol shift enter after inputting the formula but before exiting in the cell)

{=AVERAGE(VALUE(B1:B27))}
 
Upvote 0
when I did that with the value in the formula it gave me #VALUE! and #DIV/0! without it
 
Upvote 0
I see you have peculiar space in your number
=AVERAGE(IF(B1:B27<>"",VALUE((SUBSTITUTE(B1:B27,CHAR(160),"")))))
 
Upvote 0

Forum statistics

Threads
1,214,971
Messages
6,122,525
Members
449,088
Latest member
RandomExceller01

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