Running Average...?

JustOneQuestion

New Member
Joined
Jul 5, 2016
Messages
19
Hi all,

I have a sheet that I track weekly hours on. I built a slicer, so I just 'slice' the table to view each week.

I have the names in column B, the total hours for that person in column J, and I have the weekly YTD average in column K. I am trying to not have to manually add the following week into the average formula each week...
For example - Right now I am manually adding whatever cell the next week falls on. =Average(J4, J39, J52) and so on...

I have toyed with the IF and search functions.. But have been unsuccessful.

I am trying to get excel to look up in column b, the name, then average the total that is in column J each week. Anyone know if that is possible? Below is an example of 2 weeks.

Below is an example of 2 weeks.

Daily Hours
FridaySaturdaySunday MondayTuesdayWednesday ThursdayWeekly Total
Bob
10.25​
10.25​
12.25​
10.25​
10​
53​
YTD Avg hours
Billy
11.5​
10.5​
12​
12.25​
11.75​
58​
49.5​
Steve
10​
3.5​
9.25​
10.5​
7​
40.25​
52​
Joe
10.5​
11​
11​
8.5​
11.5​
52.5​
41.5​
Frank
13​
13.75​
13​
10.5​
13.25​
63.5​
53.5​
Daily Hours
FridaySaturdaySunday MondayTuesdayWednesday ThursdayWeekly TotalYTD Avg hours
Bob
11.25​
11.75​
10.75​
12.25​
46​
49.5​
Billy
8.25​
13.25​
13​
11.5​
46​
52​
Steve
10​
3.75​
10.25​
9.5​
9.25​
42.75​
41.5​
Joe
10​
12.25​
12.25​
10​
10​
54.5​
53.5​
Frank
13.25​
13.75​
12.25​
13.75​
13.25​
66.25​
64.875​
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Does this do what you want?

Book1
BCDEFGHIJK
2FridaySaturdaySundayMondayTuesdayWednesdayThursdayWeekly TotalYTD Avg hours
3Bob10.2510.2512.2510.25105349.5
4Billy11.510.51212.2511.755852
5Steve103.59.2510.5740.2541.5
6Joe10.511118.511.552.553.5
7Frank1313.751310.513.2563.564.875
8
9Daily Hours
10FridaySaturdaySundayMondayTuesdayWednesdayThursdayWeekly TotalYTD Avg hours
11Bob11.2511.7510.7512.254649.5
12Billy8.2513.251311.54652
13Steve103.7510.259.59.2542.7541.5
14Joe1012.2512.25101054.553.5
15Frank13.2513.7512.2513.7513.2566.2564.875
Average
Cell Formulas
RangeFormula
K3:K7, K11:K15K3=AVERAGEIF(B$3:B$200,B3,J$3:J$200)
 
Upvote 0

Forum statistics

Threads
1,215,046
Messages
6,122,852
Members
449,096
Latest member
Erald

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