Over 2 million + professionals use CFI to learn accounting, financial analysis, modeling and more. Unlock the essentials of corporate finance with our free resources and get an exclusive sneak peek at the first module of each course.
Start Free
What is the SUMIFS Function in Excel?
We all know the SUMIF function allows us to sum the data given based on associated criteria within the same data. However, the SUMIFs Function[1] in Excel allows applying multiple criteria.
Criteria_range1 = Range of cells that we want to apply criteria1 against
Criteria1 = Used to determine which cells to add. Criteria1 is applied against criteria_range1.
Criteria_range2, criteria2, … = The additional ranges along with their associated criteria.
The SUMIFS Function in Excel allows us to enter up to 127 range/criteria pairs for this formula. Remember:
SUMIFS will return a numeric value.
Rows and columns should be the same in the criteria_range argument and the sum_range argument.
Let’s take an example to understand it. Suppose we use data about flowers and their cost per dozen for different regions. If I need to find out the total cost for Carnations for the South region, I can do it in the following manner:
Similarly, if I wish to find out the total cost of Daffodils for the North region, I can use the same formula.
Suppose I wish to find out the total cost of flowers for the East region, the formula to be used would be:
The SUMIFS function can use comparison operators like ‘=’, ‘>’, ‘<‘. If we wish to use these operators, we can apply them to an actual sum range or any of the criteria ranges. Also, we can create comparison operators using them:
‘<=’ (less than or equal to)
‘>=’ (greater than or equal to)
‘<>’ (less than or greater than/not equal to)
Let’s take an example to understand this in detail.
Using the sales figures per region of different salespersons, I wish to find out the:
Sales of North region greater than 100
Sales greater than 500
I can use the abovementioned operators as follows:
Wildcard characters such as ‘*’ and ‘?’ can be used within the criteria argument when using the SUMIFS function. Using these wildcards will help us in finding matches that are a similar but not accurate match.
Asterisk (*) – It matches any sequence of characters. It can be used after, before or surrounding criteria to allow partial search criteria to be used.
For example, if I apply the following criteria in SUMIFS function:
N* – It implies all cells in the range that start with N
*N – It implies all cells in the range that ends with N
*N* – Cells that contain N
Question mark (?) – It matches any single character. Suppose I apply N?r as the criteria. Here “?” will take the place of a single character. N?r will match with North, Nor, etc. However, it will not take into consideration Name.
What if the given data contain an asterisk or an actual question mark?
In this case, we can use “tilde (~)”. We need to type “~” in front of the question mark in that scenario.
Using named ranges with SUMIFS Function
Named range is the descriptive name of a collection of cells or range in a worksheet. We can use named ranges while using the SUMIFS function.
When using SUMIF, we can evaluate only one condition, whereas different criteria can be evaluated under SUMIFS formula. This is the primary difference between the two Excel functions.
SUMIFS is available from MS Excel 2007.
The SUMIF function can be only used for adding a single continuous range based on a single specified range with a single criterion, whereas, SUMIFS can be applied over multiple continuous ranges.
Free Excel Course
Don’t forget to check out CFI’s Free Excel Crash Course to learn more about functions and develop your overall Excel skills. Become a successful financial analyst by learning how to create sophisticated financial analysis and financial modeling.
Additional Resources
Thank you for reading CFI’s guide on the SUMIFS Function in Excel. To learn more, check out these additional CFI resources:
To master the art of Excel, check out CFI’s Excel Crash Course, which teaches you how to become an Excel power user. Learn the most important formulas, functions, and shortcuts to become confident in your financial analysis.
Launch CFI’s Excel Crash Course now to take your career to the next level and move up the ladder!
Take your learning and productivity to the next level with our Premium Templates.
Upgrading to a paid membership gives you access to our extensive collection of plug-and-play Templates designed to power your performance—as well as CFI's full course catalog and accredited Certification Programs.
Gain unlimited access to more than 250 productivity Templates, CFI's full course catalog and accredited Certification Programs, hundreds of resources, expert reviews and support, the chance to work with real-world finance and research tools, and more.