Sum by group
This tutorial shows how to sum values by group using an Excel formula, with the SUMIF function
=SUMIF($B$5:$B$11,"A",$C$5:$C$11)
=SUMIF($B$9:$B$15,$C$5,$C$9:$C$15)
|
GENERIC FORMULA
=SUMIF(range,group,sum_range)
ARGUMENTS GENERIC FORMULA
=SUMIF(range,group,sum_range)
ARGUMENTS EXPLANATION This formula uses the SUMIF function to sum values by specific groups.
Click on either the Hard Coded or Cell Reference button to view the formula that has group name directly entered into the formula or referenced to a specific cell. |
Related Topic | Description | Related Topic and Description |
---|---|---|
Sum time by year and task | How to sum the time by year and project | |
Sum values by year | How to sum the values by year | |
Sum values by week and task | How to sum values by week and task | |
Rank by group | How to rank a number by group |
Related Functions | Description | Related Functions and Description |
---|---|---|
SUMIF Function | The Excel SUMIF function returns the sum of all numbers in a specified range based on a single criteria |