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

I have a column of data, some of which are #N/A. In the next column I want to
calculate te running average of 5 points in that data. The problem is that if
any one of those 5 points is #N/A, my running average value is also #N/A. Can
anyone suggest a formula that will exclude a value in my average caluculation
if it is #N/A?

Thanks in advance.
  #2   Report Post  
Max
 
Posts: n/a
Default

One way ..

Try in say B1, array-entered (CTRL+SHIFT+ENTER):

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

--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"rmellison" wrote in message
...
I have a column of data, some of which are #N/A. In the next column I want

to
calculate te running average of 5 points in that data. The problem is that

if
any one of those 5 points is #N/A, my running average value is also #N/A.

Can
anyone suggest a formula that will exclude a value in my average

caluculation
if it is #N/A?

Thanks in advance.



  #3   Report Post  
rmellison
 
Posts: n/a
Default

Thanks! Actually, I had already tried that formula (or something very
similar), but foolishly had not tried it array-entered!

"Max" wrote:

One way ..

Try in say B1, array-entered (CTRL+SHIFT+ENTER):

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

--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"rmellison" wrote in message
...
I have a column of data, some of which are #N/A. In the next column I want

to
calculate te running average of 5 points in that data. The problem is that

if
any one of those 5 points is #N/A, my running average value is also #N/A.

Can
anyone suggest a formula that will exclude a value in my average

caluculation
if it is #N/A?

Thanks in advance.




  #4   Report Post  
Max
 
Posts: n/a
Default

Glad you got it sorted out <g !
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"rmellison" wrote in message
...
Thanks! Actually, I had already tried that formula (or something very
similar), but foolishly had not tried it array-entered!



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
Trouble Sorting Averages of Randomly Generated Numbers GStrawley Excel Discussion (Misc queries) 3 September 5th 05 10:39 PM
calculating averages Golf Averages Excel Discussion (Misc queries) 1 August 15th 05 08:25 PM
Pivot table (Running Averages) cs02000 Excel Worksheet Functions 0 March 6th 05 10:11 PM
Difference between Averages in a Pivot Table [email protected] Excel Worksheet Functions 3 March 4th 05 12:18 AM
Converting Weekly Data into Monthly Averages Kaine Excel Discussion (Misc queries) 2 February 25th 05 09:03 AM


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