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 » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Average function



 
 
Thread Tools Display Modes
  #1  
Old September 16th, 2003, 09:23 PM
Jeff Kimbell
external usenet poster
 
Posts: n/a
Default Average function

When I use the average function over a range of cells that
includes a cell with "#VALUE!", the function returns
with "#VALUE!". The description of the average function
is that it ignores non-numerical values. That is what I
want. How can I get it to ignore "#VALUE!"? Thanks.
  #2  
Old September 16th, 2003, 09:40 PM
Aladin Akyurek
external usenet poster
 
Posts: n/a
Default Average function

AVERAGE does not ignore error values. You should either try to eliminate the
cause of #VALUE! error or use:

=AVERAGE(IF(ISNUMBER(A1:A5),A1:A5))

which you need to confirm with control+shift+enter, instead of just with
enter.

"Jeff Kimbell" wrote in message
...
When I use the average function over a range of cells that
includes a cell with "#VALUE!", the function returns
with "#VALUE!". The description of the average function
is that it ignores non-numerical values. That is what I
want. How can I get it to ignore "#VALUE!"? Thanks.



  #3  
Old September 16th, 2003, 09:45 PM
Harlan Grove
external usenet poster
 
Posts: n/a
Default Average function

"Jeff Kimbell" wrote...
When I use the average function over a range of cells that
includes a cell with "#VALUE!", the function returns
with "#VALUE!". The description of the average function
is that it ignores non-numerical values. That is what I
want. How can I get it to ignore "#VALUE!"? Thanks.


=AVERAGE(IF(ISNUMBER(YourRangeHere),YourRangeHere) )

entered as an array formula, meaning hold down [Ctrl] and [Shift] keys before
pressing [Enter].

--
Never attach files.
Snip unnecessary quoted text.
Never multipost (though crossposting is usually OK).
Don't change subject lines because it corrupts Google newsgroup archives.
 




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


All times are GMT +1. The time now is 08:34 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.