View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JE McGimpsey JE McGimpsey is offline
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.