A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

#DIV/0! error for Averages



 
 
Thread Tools Display Modes
  #1  
Old September 22nd, 2004, 08:27 PM
dandigger
external usenet poster
 
Posts: n/a
Default #DIV/0! error for Averages

I know the DIV/0 has been asked many times, but I have a similar but
different problem. The formula suggestions by all for the other problem are
very helpfull and I say thanks. I have a problem using the Average function
that it returns the same error of #DIV/0!. I have a formula page that gets
values from different tabs. The formula is something like this: =AVERAGE('3.2
More Details'!Q4:Q1500)
Since there are no values (yet) in Q4 thru Q1500, I get the DIV/0 error. I'm
trying to figure out a way to not see that error message. It would be nice if
there was an AVERAGEIF function. Is there anything similar, or how can I get
this to work??!! Thanks in Advance.
  #2  
Old September 22nd, 2004, 08:41 PM
external usenet poster
 
Posts: n/a
Default

hi,
you can try something like this:
=IF(G10=0,"",AVERAGE(F10,G10))
I don't know you data lay out so this may not fit your
data exactly but it is a average if formula.
tested and it works.

-----Original Message-----
I know the DIV/0 has been asked many times, but I have a

similar but
different problem. The formula suggestions by all for the

other problem are
very helpfull and I say thanks. I have a problem using

the Average function
that it returns the same error of #DIV/0!. I have a

formula page that gets
values from different tabs. The formula is something like

this: =AVERAGE('3.2
More Details'!Q4:Q1500)
Since there are no values (yet) in Q4 thru Q1500, I get

the DIV/0 error. I'm
trying to figure out a way to not see that error message.

It would be nice if
there was an AVERAGEIF function. Is there anything

similar, or how can I get
this to work??!! Thanks in Advance.
.

  #3  
Old September 22nd, 2004, 08:59 PM
Patti
external usenet poster
 
Posts: n/a
Default

Will this work?

=if(iserror(AVERAGE('3.2More Details'!
Q4:Q1500)),"",AVERAGE('3.2More Details'!Q4:Q1500))

-----Original Message-----
I know the DIV/0 has been asked many times, but I have a

similar but
different problem. The formula suggestions by all for the

other problem are
very helpfull and I say thanks. I have a problem using

the Average function
that it returns the same error of #DIV/0!. I have a

formula page that gets
values from different tabs. The formula is something like

this: =AVERAGE('3.2
More Details'!Q4:Q1500)
Since there are no values (yet) in Q4 thru Q1500, I get

the DIV/0 error. I'm
trying to figure out a way to not see that error message.

It would be nice if
there was an AVERAGEIF function. Is there anything

similar, or how can I get
this to work??!! Thanks in Advance.
.

  #4  
Old September 22nd, 2004, 09:11 PM
cwilson
external usenet poster
 
Posts: n/a
Default

Try =IF(iserror(AVERAGE('3.2 More Details'!Q4:Q1500)),"",AVERAGE('3.2 More
Details'!Q4:Q1500))

This should leave the cell blank if there is an error, but give you the
average if there is no error.

Hope it helps.

"dandigger" wrote:

I know the DIV/0 has been asked many times, but I have a similar but
different problem. The formula suggestions by all for the other problem are
very helpfull and I say thanks. I have a problem using the Average function
that it returns the same error of #DIV/0!. I have a formula page that gets
values from different tabs. The formula is something like this: =AVERAGE('3.2
More Details'!Q4:Q1500)
Since there are no values (yet) in Q4 thru Q1500, I get the DIV/0 error. I'm
trying to figure out a way to not see that error message. It would be nice if
there was an AVERAGEIF function. Is there anything similar, or how can I get
this to work??!! Thanks in Advance.

  #5  
Old September 22nd, 2004, 09:40 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default

Hi
try:
=IF(COUNT('3.2 More Details'!Q4:Q1500),AVERAGE('3.2 More
Details'!Q4:Q1500),"")

--
Regards
Frank Kabel
Frankfurt, Germany

"dandigger" schrieb im
Newsbeitrag ...
I know the DIV/0 has been asked many times, but I have a similar but
different problem. The formula suggestions by all for the other

problem are
very helpfull and I say thanks. I have a problem using the Average

function
that it returns the same error of #DIV/0!. I have a formula page

that gets
values from different tabs. The formula is something like this:

=AVERAGE('3.2
More Details'!Q4:Q1500)
Since there are no values (yet) in Q4 thru Q1500, I get the DIV/0

error. I'm
trying to figure out a way to not see that error message. It would be

nice if
there was an AVERAGEIF function. Is there anything similar, or how

can I get
this to work??!! Thanks in Advance.


  #6  
Old September 22nd, 2004, 09:57 PM
dandigger
external usenet poster
 
Posts: n/a
Default

The =If(iserror(.... works just fine. I thank you very much cwilson and Patti.
I love Excel!

"cwilson" wrote:

Try =IF(iserror(AVERAGE('3.2 More Details'!Q4:Q1500)),"",AVERAGE('3.2 More
Details'!Q4:Q1500))

This should leave the cell blank if there is an error, but give you the
average if there is no error.

Hope it helps.

"dandigger" wrote:

I know the DIV/0 has been asked many times, but I have a similar but
different problem. The formula suggestions by all for the other problem are
very helpfull and I say thanks. I have a problem using the Average function
that it returns the same error of #DIV/0!. I have a formula page that gets
values from different tabs. The formula is something like this: =AVERAGE('3.2
More Details'!Q4:Q1500)
Since there are no values (yet) in Q4 thru Q1500, I get the DIV/0 error. I'm
trying to figure out a way to not see that error message. It would be nice if
there was an AVERAGEIF function. Is there anything similar, or how can I get
this to work??!! Thanks in Advance.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DIV/0 wiredbliss General Discussion 2 August 14th, 2004 09:02 AM


All times are GMT +1. The time now is 03:04 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.