
:max_bytes(150000):strip_icc()/SUMIFFormula-5be89ec846e0fb0051bf1e7e.jpg)

As the name suggests, the SUMIF formula in Excel sums values in a range on a given condition.
#SUMIF FUNCTION IN EXCEL HOW TO#
Your formula will then sum a range of cells starting from the first cell of your sum_range but is of the same dimensions as your range. Let's understand how to use the function using an example. You can try the SUMIF function to add numbers in a range based on multiple criteria. As a worksheet function, the SUMIF function can be entered as part of a formula in a cell of a worksheet. It can be used as a worksheet function (WS) in Excel. If you do it any other way, the outcome of the formula is not going to be correct. The SUMIF function is a built-in function in Excel that is categorized as a Math/Trig Function. Criteria can be applied to dates, numbers, and text. The sum_range needs to have the same size and shape as the range. The Excel SUMIF function returns the sum of cells that meet a single condition. In the absence of a sum_range argument, the values from the range argument are summed instead. This is an array of numeric values or cells that are numeric in value, which are added together when considering whether the range entry satisfied the supplied criteria. In writing the function, it is not necessary to specify the sum_range. You can enter the function criteria as a number, cell reference, expression, function, or text that specifies which cells are added.Īdditionally, you can specify wildcard characters such as an asterisk (*) that matches any character sequence and a question mark (?) that matches any single character. The range you select can include dates in the basic Excel format.Īs you write the function, it's important to specify the criteria. Cells that you leave blank or that have text values are ignored. You can type numbers, arrays, names, or references to cells in these ranges as long as they contain data values. This indicates the range of cells that you want to evaluate by a particular criterion. What is the Microsoft Excel SUMIF Function The SUMIF function is a computer program that you run from a worksheet cell formula. Criteria is specified using logical operators. To write the function correctly, you need to specify the range. The SUMIF function in Excel sums up particular cells based upon certain criteria.
