G
Guest
I need to sum the number of units used per 24-month period based on the date the unit is used. The first two columns represent the date of use and the number of units; the third column is what I need to calculate by summing the numbers in the second column for only those rows in which the date is within 24 months of the date in the current row
01/02/2000 1
02/02/2000 4
03/02/2000 3
04/02/2000 3 11
12/15/2001 2 13
01/05/2002 2 14 [eliminates the 01/02/2000 1 and adds the 01/05/2002 2
02/05/2002 2 11 [eliminates the 02/02/2000 5 and adds the 02/05/2002 2
03/05/2002 1 4 [eliminates the 03/02/2000 8 and adds the 03/05/2002 1
Dates can vary in frequency
Ideas? Thanks!
01/02/2000 1
02/02/2000 4
03/02/2000 3
04/02/2000 3 11
12/15/2001 2 13
01/05/2002 2 14 [eliminates the 01/02/2000 1 and adds the 01/05/2002 2
02/05/2002 2 11 [eliminates the 02/02/2000 5 and adds the 02/05/2002 2
03/05/2002 1 4 [eliminates the 03/02/2000 8 and adds the 03/05/2002 1
Dates can vary in frequency
Ideas? Thanks!