Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How would I track a rolling set of 30 cells?

I am trying to have a cell show me a sum for the past 30 days, updated daily.
The group of the 30 cells I'm summing will need to adjust down one cell
daily.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default How would I track a rolling set of 30 cells?

One way:

Assume headings in row 1, then data in rows 2:xx, one row per day, date
in column A, numeric data in column B:

=SUM(OFFSET(B2,MAX(0, COUNTA(B:B)-31), 0, 30,1))




In article ,
CJ Barnes <CJ wrote:

I am trying to have a cell show me a sum for the past 30 days, updated daily.
The group of the 30 cells I'm summing will need to adjust down one cell
daily.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 860
Default How would I track a rolling set of 30 cells?

Hi CJ

Another way assuming your data is in A1 to A30
then in B30

=IF(A30="","",SUM(A1:A30))
and drag it down as far as you need. The cell references
will update as you drag drown.
i.e. B31 will show =IF(A31="","",SUM(A2:A31)) etc.

The B column will stay blank until you put a value into A

HTH
Martin


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default How would I track a rolling set of 30 cells?

=SUMPRODUCT(--(A2:A100=TODAY()-30),B2:B100)


"CJ Barnes" wrote:

I am trying to have a cell show me a sum for the past 30 days, updated daily.
The group of the 30 cells I'm summing will need to adjust down one cell
daily.

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
rolling dustin Excel Worksheet Functions 2 August 3rd 06 10:17 PM
How do I sum numbers in rolling format? (4 qtrs=4 cells to left) Deb Excel Discussion (Misc queries) 2 April 19th 06 04:46 PM
Need to track cells that haven't been updated telewats Excel Discussion (Misc queries) 2 January 24th 06 07:16 PM
How do I set up 12-month rolling month cells in excel? jbh Excel Discussion (Misc queries) 2 November 30th 05 08:12 PM
Z Chart i.e. top rolling annual bottom rolling monthly middle cum. wat prin Excel Worksheet Functions 0 January 28th 05 03:43 PM


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