Summary Table: Index Match?

cdubs34

New Member
Joined
Jul 26, 2011
Messages
34
Hello,

I have a large set of data with the following being a small sample of what it looks like:

NameProductPrice
John SmithHat$10
Jane DoeCoat$20
Tom JonesPants$15
Steve SmithCoat$18
Jane DoePants$20
Tom JonesPants$25

<tbody>
</tbody>


I then ultimately need to create a summary chart using formulae that will look something like this:

# Items# Items# ItemsSpendSpendSpend
HatsCoatsPantsHatsCoatsPants
John Smith
Jane Does
Tom Jones
Steve Smith

<tbody>
</tbody>

Could you please help me out with a formula that would fill out for each person how many of each item they bought and then how much they spent in total on each item? Not sure if this would be an Index Match formula or something different. Your help is much appreciated! Thanks.

C
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Row\Col
A​
B​
C​
D​
E​
F​
G​
H​
I​
J​
K​
1​
NameProductPrice# Items# Items# ItemsSpendSpendSpend
2​
John SmithHats
$10
HatsCoatsPantsHatsCoatsPants
3​
Jane DoeCoat
$20
John Smith
1
0
0
10
0
0
4​
Tom JonesPants
$15
Jane Doe
0
0
1
0
0
20
5​
Steve SmithCoat
$18
Tom Jones
0
0
2
0
0
40
6​
Jane DoePants
$20
Steve Smith
0
0
0
0
0
0
7​
Tom JonesPants
$25

In F3 enter, copy across, and down:

=IF(F$1="# Items",COUNTIFS($A:$A,$E3,$B:$B,F$2),SUMIFS($C:$C,$A:$A,$E3,$B:$B,F$2))
 
Upvote 0

Forum statistics

Threads
1,214,907
Messages
6,122,185
Members
449,071
Latest member
cdnMech

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