Find totals

imonline

New Member
Joined
Apr 16, 2002
Messages
9
I've got in column A a series of names, ex. A1="Fred", A2="Jos", A3="John" and so on. In column B next to the names I've got a value, B1=236.69, B2=254.87, B3=326.99,...

Here's my problem, the names in column A may repeat themselves. I need a way to match the names in Column A to the values in column B and find the total value that is in column B that matches with the specific name in column A.

Here's an example:

I've got 3 instances of "Mark" in column A with corresponding values in column B of 10.00, 5.00 and 15.00. At the bottom of my sheet I've got to show that Mark has a total of 30.

Can anyone help?
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
On 2002-04-26 06:36, imonline wrote:
I've got in column A a series of names, ex. A1="Fred", A2="Jos", A3="John" and so on. In column B next to the names I've got a value, B1=236.69, B2=254.87, B3=326.99,...

Here's my problem, the names in column A may repeat themselves. I need a way to match the names in Column A to the values in column B and find the total value that is in column B that matches with the specific name in column A.

Here's an example:

I've got 3 instances of "Mark" in column A with corresponding values in column B of 10.00, 5.00 and 15.00. At the bottom of my sheet I've got to show that Mark has a total of 30.

Can anyone help?

=SUMIF(A1:A100,"Mark",B1:100)

If "Mark" in a cell, say, E1, use E1 in lieu of "Mark" in the above formula.
 
Upvote 0
<font size=+2>Thanks Aladin! </font>

Sometimes I have a tendancy to look for a complicated solution (lookup, hlookup,...).
 
Upvote 0

Forum statistics

Threads
1,214,904
Messages
6,122,169
Members
449,070
Latest member
webster33

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