rolling 12 data

V

ventuguy1488

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?
 
D

Don Guillett

try this idea. Note that you cannot (nor should you) use the entire column.
=SUMPRODUCT((A2:A22>=TODAY()-365)*(A2:A22<=TODAY())*B2:B22)
 
R

Roger Govier

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?
 
V

ventuguy1488

today -364 == 365 right? But i found if i didnt format the date beyond todays
date i didnt have this problem but thanks all
 
V

ventuguy1488

I am trying to fomat the whole column so that it just keeps traking the daily
data for the last year
 
V

ventuguy1488

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?
 
D

Don Guillett

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.
 
B

Bernd

Without Analysis TP:
=SUMPRODUCT(--
(A1:A999>DATE(YEAR(TODAY()-1,MONTH(TODAY()),DAY(TODAY())),--
(A1:A999<=TODAY()),B1:B999)

Regards,
Bernd
 
Top