I get the #div/0! when using the formula =average(d33:d48)

  • Thread starter Thread starter Glen
  • Start date Start date
G

Glen

I was wanting to know the formula for this subject so the cell would not show
this error. it comes up when there is no number in the cell. what am I doing
wrong. I know there is a formula but can't remember it. thanks
 
=if(count(d33:d48)=0,"No Numbers!",average(d33:d48))

I wouldn't check =sum() just because the data sums to 0 doesn't mean that there
are no entries in that range.
 
Hi,

Or you can use;
=IF(ISERROR(AVERAGE(D33:D48)),0,AVERAGE(D33:D48))

Regs,
 
But if the average could be 0, you wouldn't no if the 0 was caused by the error
or by the sum being 0.

If that's important, I'd use:
=IF(ISERROR(AVERAGE(D33:D48)),"Error",AVERAGE(D33:D48))
Hi,

Or you can use;
=IF(ISERROR(AVERAGE(D33:D48)),0,AVERAGE(D33:D48))

Regs,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Need "Div/0" Average Relief ... 4
#DIV/0! error 1
Average 1
Find Average w/ #DIV/0! in Cell 5
#DIV/0 error 2
Another DIV/0 Error 2
Getting an average using if statement 3
getting rid of a #Div/0! error 2

Back
Top