Collecting average values from multiple sheets with multiple conditions

redpoll

New Member
Joined
Jun 3, 2015
Messages
10
Hi all,

I have multi-sheet excel file where each sheet represents one round of golf hole by hole.

Sheet name = Round1

ABCDEF
1HoleMtsScoreAppClubDist
213494S6i158
324805H7i150
432123S9i122

<tbody>
</tbody>
...

<tbody>
</tbody>


Sheet name = Round99

ABCDEF
1HoleMtsScoreAppClubDist
213494S6i158
324805S6i150
432123H9i122

<tbody>
</tbody>
...

I would like to create one sheet that collects AVERAGE value from sheets Round1 to Round99 column F for each club (column E) when column D="H" as I've tried to illustrate below:

AD
1ClubDistance
26i(AVG of F IF E2:E19="6i" and D2:D19="H")
37i(AVG of F IF E2:E19="7i" and D2:D19="H")
49i(AVG of F IF E2:E19="9i" and D2:D19="H")

<tbody>
</tbody>


<tbody>
</tbody>
Can someone help me on this?

Thank you!
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
In B2 of the destination sheet enter:

=SUMPRODUCT(SUMIFS(INDIRECT("'"&"Round"&ROW($1:$99)&"'!F2:F19"),INDIRECT("'"&"Round"&ROW($1:$99)&"'!E2:E19"),A2,INDIRECT("'"&"Round"&ROW($1:$99)&"'!D2:D19"),"H"))/SUMPRODUCT(COUNTIFS(INDIRECT("'"&"Round"&ROW($1:$99)&"'!E2:E19"),A2,INDIRECT("'"&"Round"&ROW($1:$99)&"'!D2:D19"),"H"))
 
Upvote 0

Forum statistics

Threads
1,213,561
Messages
6,114,317
Members
448,564
Latest member
ED38

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