Sometimes, we need to sum by a category in Google Sheets.
We can use SUMIF function, SUMIFS function and UNIQUE function for this.
2 Methods to sum by category in Google Sheets
- Summing according to a given range using SUMIF
- Summing according to a given range using UNIQUE and SUMIF