Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How do I ignore "#N/A" data in a column while calculating average

How do I ignore "#N/A" data in a column while calculating average
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How do I ignore "#N/A" data in a column while calculating average

Try one of these:

=SUMIF(A1:A10,"<1E100")/COUNT(A1:A10)

This one is an array formula** :

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

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP


"Tuan" wrote in message
...
How do I ignore "#N/A" data in a column while calculating average



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default How do I ignore "#N/A" data in a column while calculating average

Hi,

Try this array entered formula

=AVERAGE(IF(ISNA(B1:B7),"",B1:B7))

being an array you must enter it by pressing Shift+Ctrl+Enter

In 2007 you can use

=AVERAGEIF(B1:B7,"<9E9")


--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Tuan" wrote:

How do I ignore "#N/A" data in a column while calculating average

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
How do I tell Excel to "ignore" invalid numeric data? BruceA Excel Discussion (Misc queries) 3 May 3rd 23 07:43 PM
How do I average only if data in another column = "X"? NeedToKnowBasis Excel Worksheet Functions 2 January 11th 08 03:18 PM
How do I change the column heading in Excel to display "A" "B" "C Thai New Users to Excel 1 November 30th 07 08:06 PM
Having a pie chart ignore data fields equal to "0" [email protected] Excel Discussion (Misc queries) 1 July 31st 06 08:13 PM
Change data in a single column from "last, first" to "first last" Jeanne Excel Discussion (Misc queries) 2 March 27th 06 08:40 PM


All times are GMT +1. The time now is 09:23 PM.

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

About Us

"It's about Microsoft Excel"