Index match lookup multiple column & row headers and sum

bbr25

New Member
Joined
Aug 16, 2018
Messages
3
Hi

I have the following table with dates down the rows which is split into 5 activities and the columns are split between 5 desks with a person at that desk:

ABCDEFG
1Desk 1Desk 2Desk3Desk 4Desk 5
2DateActivityBobJulieDerekJohnDebbie
301/01/2018A101010
4B1010
5C10101010
6D10
7E101010
8DateActivityDerekBobDebbieJulieJohn
902/01/2018A1010
10B101010
11C101010
12D1010
13E1010
14DateActivityDebbieDerekBobJohnJulie
1503/01/2018A101010
16B1010
17C1010
18D1010
19E1010
20DateActivityBobDebbieDerekJulieJohn
2110/02/2018A1010
22B101010
23C1010
24D101010
25E101010
26DateActivityJohnJulieDebbieDerekBob
2705/03/2018A101010
28B10
29C1010
30D1010
31E10

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1



Now, on any specific day any one of those people could sit at any of the desks but the activities remain the same.

What I want is a summary sheet that sums all activities per person by month:

ABCDEFG
1MonthActivityBobJulieDerekJohnDebbie
2JanuaryA2010102020
3B20202010
4C3010301010
5D10201010
6E1020101020
7FebruaryA1010
8B101010
9C1010
10D101010
11E101010
12MarchA101010
13B10
14C1010
15D1010
16E10

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet2



Is this possible using formulas in each of the cells in Sheet 2 or does it need VBA?

Thanks
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,399
Latest member
alchavar

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