Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Averaging data with errors

I am trying to take the average of some data but some of the cells contain
errors (as there is data missing for the function to calculate). In my
database there will always be some missing data so these errors will be
present. Is there any way of taking an average of data that contains errors?
eg. average(a1,a2,a3) equals 4 whe
a1=5
a2=#N/A
a3=3
Many thanks for your help
John
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Averaging data with errors

One way

In B1, array entered*:
=AVERAGE(IF(ISNUMBER(A1:A3),A1:A3))
*press CTRL+SHIFT+ENTER to confirm the formula
instead of just pressing ENTER
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"John Mac" wrote:
I am trying to take the average of some data but some of the cells contain
errors (as there is data missing for the function to calculate). In my
database there will always be some missing data so these errors will be
present. Is there any way of taking an average of data that contains errors?
eg. average(a1,a2,a3) equals 4 whe
a1=5
a2=#N/A
a3=3
Many thanks for your help
John

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Averaging data with errors

=AVERAGE(IF(NOT(ISNA(A1:A3)),A1:A3))

ctrl+shift+enter, not just enter


"John Mac" wrote:

I am trying to take the average of some data but some of the cells contain
errors (as there is data missing for the function to calculate). In my
database there will always be some missing data so these errors will be
present. Is there any way of taking an average of data that contains errors?
eg. average(a1,a2,a3) equals 4 whe
a1=5
a2=#N/A
a3=3
Many thanks for your help
John

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Averaging data with errors

Max

Do you know how I would be able to fit your advice into the following formula

=INT(AVERAGE(P2,S2,V2))+CHOOSE((MOD(AVERAGE(P2,S2, V2),1)<0.3)+(MOD(AVERAGE(P2,S2,V2),1)<0.7)+1,0.9,0 .5,0.1)

as when I try I keep getting errors
Thanks for your help
John

"Max" wrote:

One way

In B1, array entered*:
=AVERAGE(IF(ISNUMBER(A1:A3),A1:A3))
*press CTRL+SHIFT+ENTER to confirm the formula
instead of just pressing ENTER
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"John Mac" wrote:
I am trying to take the average of some data but some of the cells contain
errors (as there is data missing for the function to calculate). In my
database there will always be some missing data so these errors will be
present. Is there any way of taking an average of data that contains errors?
eg. average(a1,a2,a3) equals 4 whe
a1=5
a2=#N/A
a3=3
Many thanks for your help
John

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Averaging data with errors


Do you know how I would be able to fit your advice into the following formula

=INT(AVERAGE(P2,S2,V2))+CHOOSE((MOD(AVERAGE(P2,S2, V2),1)<0.3)+(MOD(AVERAGE(P2,S2,V2),1)<0.7)+1,0.9,0 .5,0.1)

as when I try I keep getting errors
Thanks for your help
John


"Teethless mama" wrote:

=AVERAGE(IF(NOT(ISNA(A1:A3)),A1:A3))

ctrl+shift+enter, not just enter


"John Mac" wrote:

I am trying to take the average of some data but some of the cells contain
errors (as there is data missing for the function to calculate). In my
database there will always be some missing data so these errors will be
present. Is there any way of taking an average of data that contains errors?
eg. average(a1,a2,a3) equals 4 whe
a1=5
a2=#N/A
a3=3
Many thanks for your help
John

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
Averaging data and rounding up John Mac Excel Worksheet Functions 3 July 25th 07 02:58 AM
averaging data James Excel Discussion (Misc queries) 10 December 11th 06 03:12 AM
averaging particular blocks of data robert111 Excel Discussion (Misc queries) 6 July 12th 06 02:41 PM
Averaging data Capt Bill Excel Worksheet Functions 2 March 27th 06 10:13 AM
incremental averaging of data ndflyguy Excel Discussion (Misc queries) 1 October 27th 05 04:50 PM


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