AVERAGEIFS formula adjustment to replace a number within the range

Improv90

New Member
Joined
Dec 5, 2018
Messages
1
Currently I am using a formula to calculate the last 7 days average to then use that average to project data as a run rate for the remaining days of the month. My current method is hindered due to if there is a slowdown in business (ie. Holiday, shutdown, etc.) the run rate will skew heavily, accordingly. I would like to adjust my averageifs formula [currently: =IFERROR(AVERAGEIFS($I33:$BR33,$I$24:$BR$24,1),"")] to include an additional plug that will reference the same range, but of row 21 ($I$21:$BR$21) to replace a day in the average with a more normalized business day (possibly from the week prior--using the same weekday) so the run rate will calculate more accurately and smooth out any large fluctuations in projections. For additional context, row 21 has an indicator (if(vlookup) to determine if that specific day is an abnormal business day (holiday, etc..) which would be triggered by ('1') if an abnormal business day and ("") if normal.

Apologies for the lengthy explanation and any help/suggestions are greatly appreciated!
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,223,903
Messages
6,175,287
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top