Calculate Rolling Average exclude zero and for Weekday


Hi I am trying to calculate rolling average for attached data in row currently i am using formula =IFERROR(AVERAGEIFS(DM8:GZ8,$DM$1:$GZ$1,"Mon",DM8:GZ8,"<>0"),"") to calculate average however now want to calculate in rolling for previous 16 weeks as off today. Data will be uploaded on real time basis daily and want to calculate average of previous 16 weeks of Weekdays "Sun" , "Mon"....... Can anyone please help me ASAP. Attached is Excel file for your reference Password to open is "mis"



Hello Does anyone have any answer
Srushtiar Aug 23, '16 at 9:52 am
Add to Discussion



So, I hope you are good in Excel because this formula is a real big one lol.


This replaces:


Right now, the new formula only goes back 2 weeks from today.

Change the 2 in this part of the formula: 2*7 to however many weeks you want it to go back. 2*7 should appear in the formula twice.

I don't think you have enough cells in the table to go back 16 weeks.

Also, the 26 in the formula is important and should be the number of the column that starts the data table; currently, that is column Z.


Answer the Question

You must create an account to use the forum. Create an Account or Login