Search code examples
arraysgoogle-sheetsfiltersumgoogle-query-language

Filter duplicate values in Google Spreadsheets


I have the following table:

[example]

1

How can I make a new table where all the duplicates are merged and the values are added together so I have a total per name ?


Solution

  • use:

    =QUERY(V:X; "select V,sum(W),sum(X) where V is not null group by V")