Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Managing Conditional Formatting Rules in Excel
  • How to create Checklist in Excel
  • How to create a Histogram in Excel
  • Remove Duplicates Example in Excel
  • Excel Line Chart

References

  • Get nth match with INDEX / MATCH in Excel
  • To count total rows in a range in Excel
  • How to get address of named range in Excel
  • Multi-criteria lookup and transpose in Excel
  • How to use Excel VLOOKUP Function

Data Validations

  • Excel Data validation specific characters only
  • Excel Data validation whole percentage only
  • Excel Data validation date in next 30 days
  • Excel Data validation must begin with
  • Data validation must not exist in list

SUMIFS multiple criteria lookup in table in Excel

by

This tutorial shows how to calculate SUMIFS multiple criteria lookup in table in Excel using the example below;

Formula

=SUMIFS(table[values],table[col1],c1,table[col2],c2,table[col3],c3)

Explanation

In some situations, you can use the SUMIFS function to perform multiple-criteria lookups on numeric data. To use SUMIFS like this, the lookup values must be numeric and unique to each set of possible criteria. In the example shown, the formula in H8 is:

=SUMIFS(Table1[Price],Table1[Item],H5,Table1[Size],H6,Table1[Color],H7)

Where Table1 is an Excel Table as seen in the screen shot.

Worked Example:   Sum if cells are equal to in Excel

How this formula works

This example shows how the SUMIFS function can sometimes be used to “lookup” numeric values, as an alternative to more complicated multi-criteria lookup formulas. This approach is less flexible than more general lookup formulas based on INDEX and MATCH (or VLOOKUP) but it’s also more straightforward, since SUMIFS is designed to easily handle multiple criteria. It’s also very fast.

In the example shown, we are using the SUMIFS function to “look up” the price of an item based on the item name, color, and size. The inputs for these criteria are the cells H5, H6, and H7.

Worked Example:   Sum if ends with in Excel

Inside the SUMIFS function, the sum range is supplied as the “Price” column in Table1:

Table1[Price]

Criteria are supplied in 3 range/criteria pairs as follows:

Table1[Item],H5 // item
Table1[Size],H6 // size
Table1[Color],H7 // color

With this configuration, the SUMIFs function finds matching values in the “Price” column and returns the sum of matching prices for the specific criteria entered in H5:H7. Because only one price exists for each possible combination of criteria, the sum of the matching price is the same as as the sum of all matching prices.

Worked Example:   Sum if date is between in Excel

Notes:

  1. Each combination of criteria must match one result only.
  2. Lookup values (the sum range) must be numeric.
  3. SUMIFS will return zero if no match occurs.

Post navigation

Previous Post:

Weighted average in Excel

Next Post:

Win loss points calculation in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • How to use Excel TRUE Function
  • Return blank if in Excel
  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • How to return blank in place of #DIV/0! error in Excel
  • IF with boolean logic in Excel

Date Time

  • Convert text date dd/mm/yy to mm/dd/yy in Excel
  • Get last working day in month in Excel
  • Get project midpoint in Excel
  • Get days between dates ignoring years in Excel
  • DATEVALUE function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Group times into unequal buckets in Excel
  • Group arbitrary text values in Excel
  • Map text to numbers in Excel
  • Calculate conditional mode with criteria in Excel
  • Group numbers at uneven intervals in Excel

General

  • How to calculate profit margin percentage in Excel
  • Count cells less than in Excel
  • Flash Fill in Excel
  • Find Most Frequently Occurring Word in Excel Worksheet
  • How to count total number of cells in a rectangular range in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning