Multiple occurance lookup and add the values

Gavin Harrison

New Member
Joined
May 2, 2017
Messages
34
Hi.

Ive tried a couple of formulas to do the below, but don't seem to be able to get one to work. Hoping somebody can help me.

Essentially, I have a column with names (lets say column A) and in column B numbers.

The column with names will have multiple occurances of the same name but may have different numbers next to it.

Essentially I will have a list of the possible names that will occur in column A and next to each name a total of the numbers next to each occurrence of their name.

For Example:

John10
Tom
5
John8
Barbara3
Tom6
Totals
John18

<tbody>
</tbody>
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Book1
AB
1John10
2Tom5
3John8
4Barbara3
5Tom6
6Totals
7John18
Sheet2
Cell Formulas
RangeFormula
B7=SUMIF(A1:A5,A7,B1:B5)
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,552
Members
449,088
Latest member
davidcom

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