Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Eduardo
 
Posts: n/a
Default Using the OFFSET and COUNT functions to get a moving total

I am currently using the following formula:
=OFFSET(D10,COUNT(D11:D202),0). This inserts in a cell the value of the
last item in column D. What I am trying to figgure out is how to get
the total of the last 12 enteries in column D. ie. as each new value is
entered into that column, it should automaticaly calculate the total of
the last 12 values.
Thanks, Eduardo

  #2   Report Post  
Biff
 
Posts: n/a
Default Using the OFFSET and COUNT functions to get a moving total

Hi!

Assuming that there are no empty cells within the range:

=SUM(OFFSET(D10,COUNT(D11:D202),,-12))

Biff

"Eduardo" wrote in message
oups.com...
I am currently using the following formula:
=OFFSET(D10,COUNT(D11:D202),0). This inserts in a cell the value of the
last item in column D. What I am trying to figgure out is how to get
the total of the last 12 enteries in column D. ie. as each new value is
entered into that column, it should automaticaly calculate the total of
the last 12 values.
Thanks, Eduardo



  #3   Report Post  
Eduardo
 
Posts: n/a
Default Using the OFFSET and COUNT functions to get a moving total

Thanks, it worked. Eduardo

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



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