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  dBforums > General > Database Concepts & Design > Finding average of last 10

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-05-10, 15:06
freeman77 freeman77 is offline
Registered User
 
Join Date: May 2010
Posts: 8
Finding average of last 10

Hi,
I need help.

I am working in excel and trying to write a formula that will calculate the average of the last ten numbers. I want to refresh my data and the formula with always find the last ten.

I have three columns:

column 1 - date
column 2 - mill
column 3 - levels

I have 703 rows. I wanna focus on column 3

Thanks
Reply With Quote
  #2 (permalink)  
Old 05-12-10, 09:44
sco08y sco08y is offline
Registered User
 
Join Date: Oct 2002
Location: Baghdad, Iraq
Posts: 697
Don't have Excel handy, but I think this should work:

Code:
=AVERAGE(INDIRECT("C" & ROWS() - 9 & ":C" & ROWS()))
Reply With Quote
  #3 (permalink)  
Old 05-12-10, 15:47
Colin Legg Colin Legg is offline
Registered User
 
Join Date: Sep 2008
Location: London, UK
Posts: 495
For reference, this is a duplicate thread of the one in the Excel board:
Excel formula. finding the last 10
__________________
Colin

RAD Excel Blog

Other tutorials:
Array Formulas | Deleting Rows with VBA
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On