The SUMIF function introduced in Microsoft Excel’s 2007 version is a powerful and simple calculation technique. This guide will demonstrate how the SUMIF function works and how to apply it. It’s generally known that SUM function ads the cell range totals. SUMIF takes the calculation one step further. It works on the following premise: only SUM those numbers in a certain range IF a cell in this range contains a certain value.

**Excel SUMIF Function**

SUMIF arguments include range, sum range, and criteria.

**The formula for this function is given below:**

=SUMIF ( Range,Criteria,Sum_range ).

Criteria and range are critical parts of the SUMIF equation, in contrast to which the sum range is not.

Range refers to the cell values-range searched for on Excel. This could include a cell block.

Criteria is the flag used by MS Excel to determine the cells to then add. In spreadsheets, this includes a number. It could also be <, > or = to a certain number.

Sum Range, on the other hand, defines cells which must be summed. This is a range which holds actual numbers. In case it is omitted from an equation, the function sums the entire range. This sum range could comprise cell blocks, rows or columns.

**How to Use Excel SUMIF Function **

To set up the table and criteria for the SUMIF function, you must define overall goals.

Create the table for the Cost with the required headings. Next, create a Calculations table and add the headings of the first column here.

The next step is to add the SUMIF function in the Calculations table. In order for the calculations table to update when the number is changed or a new row is added, the Cost table needs to be changed from a range to an actual table.

After this the functions have to be rewritten. Now when changes are made, the Calculations table updates automatically.

## How SUMIF Can be Used:

SUMIF can also use criteria such as < or > than. SUMIF functions can additionally be written leaving out the sum range if it is identical to the range. If the criteria is a cell reference or number, the function may be written without quotation marks, while in the case of expressions/text, it must be framed within quotation marks.

One may use SUMIF with other functions by putting the entire function in brackets for higher-order calculation such as addition and division.

The SUMIF function is inbuilt in Excel as the Math/Trigonometry Function. It can be used as a WS function in Excel.

SUMIF is a function to sum cells meeting a single criterion. It can be used to sum cells based on numbers, dates, and text that match certain criteria.

In case sum range is omitted, the range in the cells will be summed. While wildcard characters can be used in a criteria, a “?” matches one character and “*” matches any series of characters. For finding a literal question or asterisks, use ~ in front of the “?” or “*”.

## SUMIF Formula Examples:

If you need a subtotal by colour, you can easily do the needful with a SUMIF function. To use the SUMIF function for cells containing specific text, you need to use the SUMIF function with a wildcard. To sum values by a lookup operation, the SUMPRODUCT must be used with the SUMIF function. SUMIF greater than, or beginning with a specific value can also be applied. To SUMIF cells that contain an *, use the SUMIF function with the escape character or ~*.

If the user needs to conditionally sum identical ranges that exist in separate worksheets in a single formula, this can be done with SUMIF + Indirect wrapped in SUMPRODUCT. For summing cells where certain values are blank, the SUMIF function can also be used. For summing numbers based on specific cells being equal to certain values, you can do this with SUMIF too. If the values need to be summed where cells are equal to one of many things, a formula based on SUMPRODUCT and SUMIF can be used.

Even for SUMIF based on dates greater than an age or subtotalling invoice amounts by age, the SUMIF function can be used. To SUMIF cells ending in the specific text as well, or SUMIF less than, the function can be deployed. Finally, to SUMIF cells with certain text in another cell, you can try the SUMIF function with the concatenation and the wildcard.

A named range can also be used in the SUMIF function.

In a case like outstanding orders, where a company may need to draw conclusions from data, the comparison operator can be used.

If users want to sum values based on corresponding black cells, criteria = is used.

For summing values based on non-blank corresponding cells, use <>.

**Benefits of the SUMIF function**

The Excel SUMIF function works really well for businesses and users. It is perfect for those who are faced with scenarios where general sum of values does not meet requirement sans some type of further data manipulation to focus on specific data subsets.

With just a bit of creativity and critical thinking, comparison operators can be compared with wildcards or other functions to solve complex data problems. Learning functions like SUMIF also opens up possibilities of simple solutions to complex problems.