Count Formula Needed

steve472

New Member
Joined
Feb 2, 2009
Messages
18
I have a table, A1:B20. In column A I have names, Chris, Steve and Mat. In Column B I have differing values associated with each name. For example:

Chris - £20
Steve - £45
Mat - £10
Steve - £45
Chris - £25
Mat - £30
Mat - £15

I need a count formula that adds up the total value assigned to each person. So for the above example the result would be:

Chris - £45
Steve - £90
Mat - £55

Can you help?

Steve
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
You could try one of...

=SUMIF(A1:A7,A9,B1:B7)

=SUMPRODUCT(--(A1:A7=A9),B1:B7)

A9 holds Chris
 
Upvote 0
Hello

Try.

Excel Workbook
ABCDE
1Chris20Chris45
2Steve45Steve90
3Mat10Mat55
4Steve45
5Chris25
6Mat30
7Mat15
Sheet1
 
Upvote 0
How about Data>Pivot table...?
 
Upvote 0

Forum statistics

Threads
1,215,635
Messages
6,125,942
Members
449,275
Latest member
jacob_mcbride

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