Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Pat
 
Posts: n/a
Default What is the formula to sum the last ten entries in a row in an Ex.

I am trying to calculate a running average of the last 10 items I place in a
row. Is there an easy way to do this?
  #2   Report Post  
Rob van Gelder
 
Posts: n/a
Default

Assumes your list starts in A1 and is contained in column A without any
gaps.

=AVERAGE(OFFSET($A$1, COUNTA($A:$A) - 10, 0, 10))

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Pat" wrote in message
...
I am trying to calculate a running average of the last 10 items I place in
a
row. Is there an easy way to do this?



  #3   Report Post  
Pat
 
Posts: n/a
Default



"Rob van Gelder" wrote:

Assumes your list starts in A1 and is contained in column A without any
gaps.

=AVERAGE(OFFSET($A$1, COUNTA($A:$A) - 10, 0, 10))

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Pat" wrote in message
...
I am trying to calculate a running average of the last 10 items I place in
a
row. Is there an easy way to do this?



Rob, Thanks. What if I also want to include another column?

  #4   Report Post  
Rob van Gelder
 
Posts: n/a
Default

Assuming the columns are adjacent - by using the Width argument of Offset

This averages last 10 entries of columns A and B
=AVERAGE(OFFSET($A$1, COUNTA($A:$A) - 10, 0, 10, 2))

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Pat" wrote in message
...


"Rob van Gelder" wrote:

Assumes your list starts in A1 and is contained in column A without any
gaps.

=AVERAGE(OFFSET($A$1, COUNTA($A:$A) - 10, 0, 10))

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Pat" wrote in message
...
I am trying to calculate a running average of the last 10 items I place
in
a
row. Is there an easy way to do this?



Rob, Thanks. What if I also want to include another column?



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
revert formula insertion to old method Don't be a pain in the ass Setting up and Configuration of Excel 0 January 24th 05 01:49 PM
Cell shows formula and not the result of the formula. stumpy1220 Excel Worksheet Functions 2 January 14th 05 05:11 PM
Relative Indirect Formula Referencing? Damian Excel Worksheet Functions 1 January 7th 05 04:16 AM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 01:27 AM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM


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