Exceljet

Quick, clean, and to the point

SUMIFS with Excel Table

Excel formula: SUMIFS with Excel Table
Generic formula 
=SUMIFS(Table[sum_col],Table[crit_col],criteria)
Explanation 

To conditional sum numeric data in an Excel table, you can use SUMIFS with structured references to for both sum and criteria ranges. In the example shown, the formula in I5 is:

=SUMIFS(Table1[Total],Table1[Item],H5)

Where Table1 is an Excel Table with the data range B105:F89.

How this formula works

This formula uses structured references to feed table ranges into the SUMIFS function.

The sum range is provided as Table1[Total], the criteria range is provided as Table1[Item], and criteria comes from values in column I.

The formula in I5 appears like this:

=SUMIFS(Table1[Total],Table1[Item],H5)

And resolves to this:

=SUMIFS(F5:F89,D5:D89,"Shorts")

The SUMIFS function returns 288, the sum values in the Total column where the value in the Item column is "Shorts".

Author 
Dave Bruns

Excel Formula Training

Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.