Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Average For Variable-length Column (w N/A value inside)


Hi,

I have this column which stores variable data and connected to a chart
Some of the data has N/A value on it. If I take the average of th
whole set of data it gives me error value (Perhaps, due to the dat
with N/A value). If the solution is to take away the N/A value fro
the data the trend on the chart will be discontinued. So I would lik
to get the average of non-error values only without deleting the N/
values.

BR,
Joh

--
Billabon
-----------------------------------------------------------------------
Billabong's Profile: http://www.excelforum.com/member.php...fo&userid=1090
View this thread: http://www.excelforum.com/showthread.php?threadid=26597

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Average For Variable-length Column (w N/A value inside)

=Average(if(isnumber(A1:A10),A1:A10))

Entered with Ctrl+shift+Enter rather than just enter since this is an array
formula.

--
Regards,
Tom Ogilvy

"Billabong" wrote in message
...

Hi,

I have this column which stores variable data and connected to a chart.
Some of the data has N/A value on it. If I take the average of the
whole set of data it gives me error value (Perhaps, due to the data
with N/A value). If the solution is to take away the N/A value from
the data the trend on the chart will be discontinued. So I would like
to get the average of non-error values only without deleting the N/A
values.

BR,
John


--
Billabong
------------------------------------------------------------------------
Billabong's Profile:

http://www.excelforum.com/member.php...o&userid=10904
View this thread: http://www.excelforum.com/showthread...hreadid=265971



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
Sum a Column of Variable length Chris G Excel Discussion (Misc queries) 4 November 7th 05 12:25 PM
Sum a column of variable length? Brian Excel Discussion (Misc queries) 5 February 3rd 05 02:26 PM
Using a Macro to Sum a Variable-Length Range (a Column) Chuckles123[_2_] Excel Programming 1 October 3rd 04 11:51 PM
Averaging a variable length column Doug[_10_] Excel Programming 1 June 22nd 04 07:48 PM
how to? running average from a variable length list robreeve Excel Programming 1 July 28th 03 02:05 PM


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