A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Formula to average last 25 entries in a column?



 
 
Thread Tools Display Modes
  #1  
Old June 1st, 2010, 10:24 AM posted to microsoft.public.excel.misc
Going Crazy with excel[_2_]
external usenet poster
 
Posts: 16
Default Formula to average last 25 entries in a column?

Guess I have a duel question.
First, I have numerous columns of data, all numerical. New entries are
entered at the end of the column. Is there a formula to average just the
last 25 entries in the column? (Bottom of column up)
Second question pertains to the ability to "auto populate". I have a column
of names. (three dozen). I would then like to auto populate the single
column of names, matching the names with the average data obtained from the
above. (average of last 25, 50, 100,etc entries) Data changes daily?
Any help would be greatly appreciated.
  #2  
Old June 1st, 2010, 10:54 AM posted to microsoft.public.excel.misc
Mike H
external usenet poster
 
Posts: 8,419
Default Formula to average last 25 entries in a column?

Hi,

Average last 25 entries

=AVERAGE(OFFSET(A1,COUNTA(A:A)-25,):OFFSET(A1,COUNTA(A:A),))

I don't understand the second question
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Going Crazy with excel" wrote:

Guess I have a duel question.
First, I have numerous columns of data, all numerical. New entries are
entered at the end of the column. Is there a formula to average just the
last 25 entries in the column? (Bottom of column up)
Second question pertains to the ability to "auto populate". I have a column
of names. (three dozen). I would then like to auto populate the single
column of names, matching the names with the average data obtained from the
above. (average of last 25, 50, 100,etc entries) Data changes daily?
Any help would be greatly appreciated.

  #3  
Old June 1st, 2010, 11:33 AM posted to microsoft.public.excel.misc
Going Crazy with excel[_2_]
external usenet poster
 
Posts: 16
Default Formula to average last 25 entries in a column?

Sorry Mike, I know what I want, just don't know how to say it.
Maybe an example will help.

Data Sheet one Data Sheet two
Column 1 Column 1 Column 2 Column 3 Column 4
Ralph Sam 199 496 408
Sam Ralph 210 333
535
John Mike 75 322
647
Mike Tim 498 354
657
Tim John 637 577
353

Looking to take the information from Data Sheet two, and auto populate that
data into the matching name on data sheet one. I know I can drag the
information from one to the other, but there are numerous entries for each.
Better?


"Mike H" wrote:

Hi,

Average last 25 entries

=AVERAGE(OFFSET(A1,COUNTA(A:A)-25,):OFFSET(A1,COUNTA(A:A),))

I don't understand the second question
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Going Crazy with excel" wrote:

Guess I have a duel question.
First, I have numerous columns of data, all numerical. New entries are
entered at the end of the column. Is there a formula to average just the
last 25 entries in the column? (Bottom of column up)
Second question pertains to the ability to "auto populate". I have a column
of names. (three dozen). I would then like to auto populate the single
column of names, matching the names with the average data obtained from the
above. (average of last 25, 50, 100,etc entries) Data changes daily?
Any help would be greatly appreciated.

  #4  
Old June 2nd, 2010, 10:46 AM posted to microsoft.public.excel.misc
Steve Dunn
external usenet poster
 
Posts: 192
Default Formula to average last 25 entries in a column?

=AVERAGE(OFFSET($B$1,MAX(COUNT($B:$B)-25,0),,25))

and

=INDEX(Sheet2!$A$1:$E$5,MATCH($A1,Sheet2!$A$1:$A$5 ,0),COLUMN())

HTH
Steve D.


"Going Crazy with excel"
wrote in message news
Sorry Mike, I know what I want, just don't know how to say it.
Maybe an example will help.

Data Sheet one Data Sheet two
Column 1 Column 1 Column 2 Column 3 Column 4
Ralph Sam 199 496
408
Sam Ralph 210 333
535
John Mike 75 322
647
Mike Tim 498 354
657
Tim John 637 577
353

Looking to take the information from Data Sheet two, and auto populate
that
data into the matching name on data sheet one. I know I can drag the
information from one to the other, but there are numerous entries for
each.
Better?


"Mike H" wrote:

Hi,

Average last 25 entries

=AVERAGE(OFFSET(A1,COUNTA(A:A)-25,):OFFSET(A1,COUNTA(A:A),))

I don't understand the second question
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Going Crazy with excel" wrote:

Guess I have a duel question.
First, I have numerous columns of data, all numerical. New entries are
entered at the end of the column. Is there a formula to average just
the
last 25 entries in the column? (Bottom of column up)
Second question pertains to the ability to "auto populate". I have a
column
of names. (three dozen). I would then like to auto populate the
single
column of names, matching the names with the average data obtained from
the
above. (average of last 25, 50, 100,etc entries) Data changes daily?
Any help would be greatly appreciated.


  #5  
Old June 2nd, 2010, 10:55 AM posted to microsoft.public.excel.misc
Steve Dunn
external usenet poster
 
Posts: 192
Default Formula to average last 25 entries in a column?

1st formula should perhaps have been better shown as:

=AVERAGE(OFFSET(B$1,MAX(COUNT(B:B)-25,0),,25))

So it can be copied along to other columns.


"Steve Dunn" wrote in message
...
=AVERAGE(OFFSET($B$1,MAX(COUNT($B:$B)-25,0),,25))

and

=INDEX(Sheet2!$A$1:$E$5,MATCH($A1,Sheet2!$A$1:$A$5 ,0),COLUMN())

HTH
Steve D.


"Going Crazy with excel"
wrote in message
news
Sorry Mike, I know what I want, just don't know how to say it.
Maybe an example will help.

Data Sheet one Data Sheet two
Column 1 Column 1 Column 2 Column 3 Column 4
Ralph Sam 199 496 408
Sam Ralph 210 333
535
John Mike 75 322
647
Mike Tim 498 354
657
Tim John 637 577
353

Looking to take the information from Data Sheet two, and auto populate
that
data into the matching name on data sheet one. I know I can drag the
information from one to the other, but there are numerous entries for
each.
Better?


"Mike H" wrote:

Hi,

Average last 25 entries

=AVERAGE(OFFSET(A1,COUNTA(A:A)-25,):OFFSET(A1,COUNTA(A:A),))

I don't understand the second question
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Going Crazy with excel" wrote:

Guess I have a duel question.
First, I have numerous columns of data, all numerical. New entries
are
entered at the end of the column. Is there a formula to average just
the
last 25 entries in the column? (Bottom of column up)
Second question pertains to the ability to "auto populate". I have a
column
of names. (three dozen). I would then like to auto populate the
single
column of names, matching the names with the average data obtained
from the
above. (average of last 25, 50, 100,etc entries) Data changes daily?
Any help would be greatly appreciated.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.