Formula or Macro for comparing duplicates and creating a sum

Dkeels

New Member
Joined
Feb 2, 2019
Messages
1
NameNumberAmountTotal
Brad Jones123456735
Brad Jones123456719
Brad Jones123456710
Joe Bob999999955
Steve Smith111111160
Steve Smith111111140

<tbody>
</tbody>
Hi,

I am looking for help to make a formula or macro for this spreadsheet. I am not great at excel compared to the other things I've seen on this site so be kind.
I need the total field to add any amounts in the amount field together if there are matches in the name column. So for example all of the amounts for Brad Jones are added into the Total field. There could be many different rows per person but would need them all to be added. There may also be some on the worksheet that have no matches.
Thanks for any help.

Dkeels
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Hi & welcome to MrExcel
How about
=SUMIF(A:A,A2,C:C)
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,732
Members
448,987
Latest member
marion_davis

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