#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default average with N/A

I have a spreadsheet with 9 worksheets (named by employee last name).
On the 9th worksheet I want to get the average of cells B4 from each of the
other sheets. Some of these cells may include an N/A.

Can you give me a formula that will overlook the N/A cells?

Thank you!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default average with N/A

Hi,

=IFERROR(AVERAGE(Sheet2:Sheet3!A2),AVERAGE(Sheet2: Sheet3!A2))
I supposed that you have sheet 2 and 3 and the cell to average is A2

If this helped please click yes. Thank you

"dernspiker" wrote:

I have a spreadsheet with 9 worksheets (named by employee last name).
On the 9th worksheet I want to get the average of cells B4 from each of the
other sheets. Some of these cells may include an N/A.

Can you give me a formula that will overlook the N/A cells?

Thank you!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default average with N/A

This is my formula then:
=IFERROR(AVERAGE(Adams:Webb!B4),AVERAGE(Adams:Webb !B4))

But now it returns a #NAME? error





"Eduardo" wrote:

Hi,

=IFERROR(AVERAGE(Sheet2:Sheet3!A2),AVERAGE(Sheet2: Sheet3!A2))
I supposed that you have sheet 2 and 3 and the cell to average is A2

If this helped please click yes. Thank you

"dernspiker" wrote:

I have a spreadsheet with 9 worksheets (named by employee last name).
On the 9th worksheet I want to get the average of cells B4 from each of the
other sheets. Some of these cells may include an N/A.

Can you give me a formula that will overlook the N/A cells?

Thank you!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default average with N/A

I would use 9 cells (on a separate (hidden???) worksheet:

='Smith'!B4
='Jones'!b4
....
='Zydecker'!b4

Then use a 10th cell to get the average.

=average(if(isnumber(a1:a9),a1:a9))
This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)

or this formula (normally entered):

=sumif(a1:a9,"<1E37")/count(a1:a9)

1E37 is a very large number (1 followed by 37 zeros).

Or maybe:

=if(count(a1:a9)=0,"No numbers",sumif(a1:a9,"<1E37")/count(a1:a9))



dernspiker wrote:

I have a spreadsheet with 9 worksheets (named by employee last name).
On the 9th worksheet I want to get the average of cells B4 from each of the
other sheets. Some of these cells may include an N/A.

Can you give me a formula that will overlook the N/A cells?

Thank you!


--

Dave Peterson
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
A formula to AVERAGE IF but only average a set number of values [email protected] Excel Worksheet Functions 2 January 31st 08 08:28 PM
Find monthly average but have average automatically configured kimbafred Excel Discussion (Misc queries) 2 August 8th 07 12:28 AM
Error Handling #N/A with AVERAGE Function - Average of values in Row Sam via OfficeKB.com Excel Worksheet Functions 13 July 31st 05 03:59 PM
Weighed Average of a weiged average when there are blanks krl - ExcelForums.com Excel Discussion (Misc queries) 1 July 6th 05 07:37 PM
how does one convert text to a formula "average(A:A)" to =average( phshirk Excel Worksheet Functions 4 April 14th 05 01:20 AM


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

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"