SUMIF is a function used to sum values that meet certain conditions, first introduced in Excel 2007. The SUMIF function can be used to sum cells based on dates, data, and text that match. bales provided. This function supports logical calculations (>, <, <>, =) and symbols (* ,?) to suit each part.
Syntax: = SUMIF(range, criteria, [sum_range])
The SUMIF function syntax has the following arguments:
- range Required. The range of cells that you want evaluated by criteria. Cells in each range must be numbers or names, arrays, or references that contain numbers. Blank and text values are ignored. The selected range may contain dates in standard Excel format (examples below).
- criteria Required. The criteria in the form of a number, expression, a cell reference, text, or a function that defines which cells will be added. For example, criteria can be expressed as 32, “>32”, B5, “32”, “apples”, or TODAY().
Important: Any text criteria or any criteria that includes logical or mathematical symbols must be enclosed in double quotation marks (“). If the criteria is numeric, double quotation marks are not required.
- sum_range Optional. The actual cells to add, if you want to add cells other than those specified in the range argument. If the sum_range argument is omitted, Excel adds the cells that are specified in the range argument (the same cells to which the criteria is applied).
- You can use the wildcard characters—the question mark (?) and asterisk (*)—as the criteria argument. A question mark matches any single character; an asterisk matches any sequence of characters. If you want to find an actual question mark or asterisk, type a tilde (~) preceding the character.
Example: For 1 data sheet
1.1 sums Sep cells based on a condition (for example, greater than 250)
1.2 Sums OCT cells based on a condition (e.g., less than 196)
1.3 To sum NOV cells based on a criteria (for example, LA), use the SUMIF function with 3 arguments (the last argument is the range to be summed).