Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
RonB
 
Posts: n/a
Default AVERAGE excluding #N/A

I have read through most of posts that seem to apply but haven't found a
formula that will allow me to calculate the AVERAGE, MAX and MIN for a data
range that also contains #N/A in several cells. Can you help?
--
RonB
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Entered as an array with the key combo of CTRL,SHIFT,ENTER:

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

=MIN(IF(ISNUMBER(A1:A10),A1:A10))

=MAX(IF(ISNUMBER(A1:A10),A1:A10))

Biff

-----Original Message-----
I have read through most of posts that seem to apply but

haven't found a
formula that will allow me to calculate the AVERAGE, MAX

and MIN for a data
range that also contains #N/A in several cells. Can you

help?
--
RonB
.

  #3   Report Post  
RonB
 
Posts: n/a
Default

Works great...... Thanks!

"Biff" wrote:

Hi!

Entered as an array with the key combo of CTRL,SHIFT,ENTER:

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

=MIN(IF(ISNUMBER(A1:A10),A1:A10))

=MAX(IF(ISNUMBER(A1:A10),A1:A10))

Biff

-----Original Message-----
I have read through most of posts that seem to apply but

haven't found a
formula that will allow me to calculate the AVERAGE, MAX

and MIN for a data
range that also contains #N/A in several cells. Can you

help?
--
RonB
.


  #4   Report Post  
Ken Wright
 
Posts: n/a
Default

You should always try to fix errors at source rather than compensating for
them.

=IF(ISNA(your_formula),0,your_formula) or perhaps
=IF(ISNA(your_formula),"",your_formula)

will prevent the NAs appearing in the first place

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------

"RonB" wrote in message
...
Works great...... Thanks!

"Biff" wrote:

Hi!

Entered as an array with the key combo of CTRL,SHIFT,ENTER:

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

=MIN(IF(ISNUMBER(A1:A10),A1:A10))

=MAX(IF(ISNUMBER(A1:A10),A1:A10))

Biff

-----Original Message-----
I have read through most of posts that seem to apply but

haven't found a
formula that will allow me to calculate the AVERAGE, MAX

and MIN for a data
range that also contains #N/A in several cells. Can you

help?
--
RonB
.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using The Average Function if a cell has NA carl Excel Worksheet Functions 6 May 21st 23 07:46 PM
AVERAGE problems Jon Excel Worksheet Functions 5 February 1st 05 08:21 AM
EXcluding Zeros from the average in a row Geo Excel Discussion (Misc queries) 4 December 31st 04 04:07 PM
calculate average hours worked llstephens Excel Worksheet Functions 1 November 24th 04 02:37 PM
average, array and offsets Darin1979 Excel Worksheet Functions 0 November 17th 04 04:21 PM


All times are GMT +1. The time now is 11:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"