LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Complex Averages

Thanks Biff, that worked great. I appreciate your time on this.

KJ

"T. Valko" wrote:

Hmmm...

Well, let's start with this and go from there.

This will average the last 5 numbers in the range A1:J1.

Array entered** :

=AVERAGE(J1:INDEX(A1:J1,LARGE(IF(ISNUMBER(A1:J1),C OLUMN(A1:J1)-MIN(COLUMN(A1:J1))+1),5)))

If there are less than 5 numbers the formula will return a #NUM! error.

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

--
Biff
Microsoft Excel MVP


"kjal" wrote in message
...
Hey there. If there are only 5 numbers at some point, the 5 and 10 would
be
the same. I hope that helps. Basically, over the course of 3 or so months,
these numbers will begin to be added to the rows and by the end, there
will
be somewhere around 30 numbers out of 40 potential leaving 10 random
spaces
in each column assuming 40 max. So the last 5 and last 10 averages will
develop and deviate as more data is entered.

Thanks

"T. Valko" wrote:

What should happen if there aren't 5 or 10 numbers to average?

--
Biff
Microsoft Excel MVP


"kjal" wrote in message
...
Hello, I need to design a spreadsheet that averages the last 5 and last
10
numbers in a row of up to 40 numbers. There will be various random
spaces
between the entered numbers. So for example, if there are 15 numbers
spread
over 40 rows, I would need to average the last 5 which could each have
a
few
spaces between them. There will be no 0's or negatives in the data.

Thanks






 
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
Complex Formula for Yearly Averages Jen Excel Discussion (Misc queries) 1 September 14th 06 04:38 PM
Complex Index Match Help (or at least complex to me) Jennifer Reitman Excel Discussion (Misc queries) 3 August 10th 06 08:51 PM
averages mpmike1993 Excel Worksheet Functions 0 February 16th 06 09:31 PM
Help with averages please amerkarim Excel Worksheet Functions 5 September 29th 05 04:03 AM
Min & Max Averages Retiredff Excel Worksheet Functions 4 January 14th 05 04:58 PM


All times are GMT +1. The time now is 01:33 PM.

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"