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


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

Generic formula



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 is:


which resolves to:


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

Dave Bruns Profile Picture

AuthorMicrosoft Most Valuable Professional Award

Dave Bruns

Hi - I'm Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.