Sumif and Sumifs functions in Excel
Sumif function - The function to sum using a condition
Syntax: Sumif (range, criteria, sum_range).
Inside:
- Range: data range of conditions.
- Criteria: Conditions for summing.
- sum_range: The data area you want to sum.
Meaning of the function: conditional sum function.
Example: Calculating the total amount sold of the item with the code "SD1M2".
Sumifs function - Sum function uses multiple conditions
Syntax: (sum_range, criteria_range1, criteria1, criteria_range2, criteria1, .).
Inside:
- Sum_range: The data area to be summed (only counting cells with numeric data types, text values ignored).
- criteria_range1: data area containing the value of condition 1.
- criteria1: The search condition corresponds to the criteria_range1 data area.
- criteria_range2: the data area containing the value of condition 2.
- criteria2 : The search condition corresponds to the criteria_range2 data area.
Similarly if there are many search conditions there will be criteria n with n <= 255.
Example: Calculating the total amount of money sold on April 18, 2015 with the code "SD1M2".
The total values must satisfy both conditions simultaneously to be summed.
Some examples of using sumif and sumifs functions.
Calculate the total amount of money sold on 18/4/2015 with the number = 5.
Calculating the total amount of money sold on 04/18/2015 with item code "SD1M2" with the quantity equal to 2.
You have to pay attention in this article I to format the column number of the text so when writing the conditional value function to the string. If you convert the column number format to number slightly changed when writing commands. Depending on the data type you customize accordingly.
Good luck !
You should read it
- SUMIF and SUMIFS functions - specific usage and examples
- Differentiate between SUM, SUMIF, SUMIFS and DSUM functions
- How to combine Sumif and Vlookup functions in Excel
- How to use the SUMIF function in Excel
- The way to sum the same codes in Excel
- The SUMIFS function, how to use multiple conditional calculation functions in Excel
- How to use SUMIF with 2 or more conditions in Excel
- SUMIFS function in Excel
- The SUM function (sums) in Excel
- Summary of trigonometric functions in Excel
- How to calculate the total value based on multiple conditions in Excel
- How to fix the SUM function doesn't add up in Excel
Maybe you are interested
IBM Unveils Breakthrough Optical Data Transmission Technology That Enables 'Light-Speed' AI Training
How to use the Round function in Excel to round numbers and process data
How to Overwrite Deleted Data on a Drive in Windows 11/10
How to sort data in Excel using Sort is extremely simple
How to stay safe from 'SpyLoan' Android apps that use your data to blackmail you
6 Excel functions to find data quickly