How to SUM parts of a column which have same text value in different column in the same row

user2285265 picture user2285265 · Oct 29, 2013 · Viewed 200k times · Source

I have a column with names and a column with numbers:

FirstName    Name    Number
John         Smith     17
John         Smith     26
Peter        Smith     116
Peter        Smith     25
Franck       Black     17
Luke        Peterson   17
Luke        Peterson   37

Names with same FirstName and Name represent the same person. I need to sum the numbers associated with them. I prefer not to use VBA.

Answer

pnuts picture pnuts · Oct 29, 2013

A PivotTable might suit, though I am not quite certain of the layout of your data:

SO19669814 example

The bold numbers (one of each pair of duplicates) need not be shown as the field does not have to be subtotalled eg:

SO19669814 second example