Hello awesome people,
I have been trying to get this 30 day rolling average formulae working for few days now but couldn't so I was hoping if you guys could help me to the right direction please.
I have also searched chandoo forum for this formula but couldn't find one which meets my criteria.
Basically I would like to find out the average spend for 30 days for all the dates in column "Date".
My current formulae:
=AVERAGEIFS(C$3:C$1048575,$B$3:$B$1048575,">="&$B3-29,$B$3:$B$1048575,"<="&$B3)
does calculate the rolling average for 30 days but don't know how to handle the blank cells therefore resulting wrong output.
Date Total Spend Rolling Average 30 day
18/02/2013 128 128
19/02/2013 131 130
20/02/2013 78 112
21/02/2013 112
22/02/2013 70 102
Also I am not sure if I am approaching this issue in a correct way.
Thanks for your time.
Kind Regards,
Z.
I have been trying to get this 30 day rolling average formulae working for few days now but couldn't so I was hoping if you guys could help me to the right direction please.
I have also searched chandoo forum for this formula but couldn't find one which meets my criteria.
Basically I would like to find out the average spend for 30 days for all the dates in column "Date".
My current formulae:
=AVERAGEIFS(C$3:C$1048575,$B$3:$B$1048575,">="&$B3-29,$B$3:$B$1048575,"<="&$B3)
does calculate the rolling average for 30 days but don't know how to handle the blank cells therefore resulting wrong output.
Date Total Spend Rolling Average 30 day
18/02/2013 128 128
19/02/2013 131 130
20/02/2013 78 112
21/02/2013 112
22/02/2013 70 102
Also I am not sure if I am approaching this issue in a correct way.
Thanks for your time.
Kind Regards,
Z.