#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default formula for averages

I have to compute the last 15 scores and obtain an aveage for Special
Olympics entry. I want to be able to have a formula which goes up the column
until it adds 15 games. There will be blanks as the athletes do not come
every week. So 15 games for one bowler will not be in the same row entries
as another. I know there must be a waty to do this but I don't have a clue
how. Can someone help? Last year I manually chose the 15 cells to add but
this year I have twice as many athletes. Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 83
Default formula for averages

On Tue, 1 Jun 2010 15:02:01 -0700, JNSteiner
wrote:

I have to compute the last 15 scores and obtain an aveage for Special
Olympics entry. I want to be able to have a formula which goes up the column
until it adds 15 games. There will be blanks as the athletes do not come
every week. So 15 games for one bowler will not be in the same row entries
as another. I know there must be a waty to do this but I don't have a clue
how. Can someone help? Last year I manually chose the 15 cells to add but
this year I have twice as many athletes. Thanks!


Assuming that your 15 last scores are to be found in the first 100
rows of column A and that there are always at least 15 scores present,
try this formula:

=AVERAGE(IF(ROW(A1:A100)*(A1:A100<"")=LARGE(ROW( A1:A100)*(A1:A100<""),15),A1:A100))

Note: This is an array formula that must be confirmed by
CTRL+SHIFT+ENTER rather than just ENTER.

Hope this helps / Lars-Åke

l
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
help with averages formula Jesse Blanchard[_2_] Excel Discussion (Misc queries) 2 February 4th 09 10:30 PM
help with averages formula Luke M Excel Discussion (Misc queries) 0 February 4th 09 09:06 PM
Averages formula/0 rldjda Excel Worksheet Functions 7 April 6th 08 12:37 AM
averages formula Gerald Excel Worksheet Functions 1 July 5th 05 05:56 AM
averages formula Gerald Excel Worksheet Functions 1 July 4th 05 04:50 PM


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

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"