rolling 12 data

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi I am trying to track a rolling 1 year cycle of data and am using this
:=SUMIF(A:A,">="&TODAY()-364,M:M), but if you falsely add data above todays
date for instance if i went to 03/07/07 and inputted data it computes also I
tried taking the greater than out but that doesnt work any suggestions?
 
try this idea. Note that you cannot (nor should you) use the entire column.
=SUMPRODUCT((A2:A22>=TODAY()-365)*(A2:A22<=TODAY())*B2:B22)
 
=SUMPRODUCT(--(A2:A9>=EDATE(TODAY(),-12)),--(A2:A9<=TODAY()),B2:B9)
 
Hi

You could just add a second Sumif to the formula
=SUMIF(A:A,">="&TODAY()-364,M:M)-SUMIF(A:A,">"&TODAY(),M:M)

Did you really mean 364 and not 365?
 
today -364 == 365 right? But i found if i didnt format the date beyond todays
date i didnt have this problem but thanks all
 
I am trying to fomat the whole column so that it just keeps traking the daily
data for the last year
 
what is edate? Also u have partial columns i need the whole column but can i
use this for a rolling 12 mnth total vrs a rolling 365?
 
None of your posts fully tell us what you are trying to do. If you have a
final solution please post it here for the benefit of others.
 
Without Analysis TP:
=SUMPRODUCT(--
(A1:A999>DATE(YEAR(TODAY()-1,MONTH(TODAY()),DAY(TODAY())),--
(A1:A999<=TODAY()),B1:B999)

Regards,
Bernd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top