How to total quantity based on similar name in column
I am trying to total points based on the persons name. Basically one column has the names, some of them duplicates. Another Column has points. I need a third column for total points at the end that looks at the names, finds those that are the same and totals the points for that person in the total points column. I have done this in excel
=SUMPRODUCT(($B$2:$B$4900=B2)*($C$2:$C$4900))
Column B is the name
Column C is the points
This formula is in the total points column.
I tried doing this in excel and then uploading to smartsheets but I get the #unparseable error. Any help would be greatly appreciated.
Comments
-
try
=sum(Collect(
keep in mind collect is a little weird. It gets an array from one column based on criteria in other columns. The first reference is the return column, then you reference a range for criteria, and the criteria. Once you've built your array with collect, sum will add all of the values together.
-
you could also try a sumif formula
in row 1 =SUMIF([ColumnB]:[ColumnB], [ColumnB]1, [ColumnC]:[ColumnC])
the formula should pick up the name in ColumnB for each specific row and use it as the criteria
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- 10.8K Get Help
- 65 Global Discussions
- 69 Industry Talk
- 385 Announcements
- 3.6K Ideas & Feature Requests
- 56 Brandfolder
- 125 Just for fun
- 50 Community Job Board
- 464 Show & Tell
- 40 Member Spotlight
- 44 Power Your Process
- 28 Sponsor X
- 234 Events
- 7.3K Forum Archives
Check out the Formula Handbook template!