“SUMIF” function is used to know the total of the particular item from the given data.
The Content covered in this article:
What is the “SUMIF” Function?
The Excel “SUMIF” Function is used where we need to sum up the value on single criteria i.e. total of the sale of pen, pencil, or notebooks. It can be sum up the value of the cells based on a condition of any Text, number, and logical text. It is also working on matching concepts like VLOOKUP and HLOOKUP but with a condition.
The feature of the “SUMIF” function: –
- With the help of the “SUMIF” function, we can retrieve the total of a particular item from the given data if the condition is matched with the data of the selected cell.
- It helps in applying a particular condition on the given data to get the total value of them.
The logical operator: –
For the “SUMIF” function we can also use follow logical test on the selected data other than the Text and Number.
|<>||Not Equal to|
|>=||Greater than and Equal to|
|<=||Less than and equal to|
Explanation of Function:-
Now, We will explain the Arguments of the Function.
=SUMIF(range, criteria, [sum_range])
range: – Range is that column or row of selected cells on which we want to apply the condition or criteria.
criteria: – This is a condition which we have to apply to the selected cells.
[sum_range]: – Sum range is that range of selected cells, consisting of the values we want to total or summed up. This is optional because in the case where the range and sum_ range are the same. It means if we want to make a total of the value when a condition is cleared or matched from the other range of cells, not from the same column or row of the selected range on.
Example of Function: –
I will show you, how to apply the whole function. (using optional also).
From the following table get the item-wise value of the total sale amount.
We will Apply the ‘SUMIF’ function and get the result. This is shown in the following steps: –
Step No. 1:-
We will write the “=SUMIF( ” in the column of the result.
Step No. 2
Now select the range on which you want to apply the Condition or criteria.
In an example, we have to sum up the sale amount as per the name of the item. So, we have to apply a condition to the name of the items.
Step No. 3
Now press “F4” to fix the range. it will convert from the C4:C21 to $C$4:$C$21. Now when you will copy this formula in another cell then the range remains the same from the excel will find out the condition or criteria.
Step No. 4
Now select the Condition or criteria which we want to apply.
In an example, The name of items are given, we have to write the total amount in front of them, so we can select the criteria by selecting the cell of the given name.
Step No. 5
Now select the range of the cells of which the value we have to sum up.
For example, The total amount of sales date wise to give in the “F” column, so we select the cells of the “F” column with the total amount of sales.
Step No. 6
Now press “F4” to fix the range. it will convert from the F4:F21 to $F$4:$F$21. Now when you will copy this formula in another cell then the range remains the same from the excel will find out the condition or criteria.
Step No. 7: –
Now close the brackets:
Step No. 8: –
Now, you will get the SUM total of the item named “Pen”:
Step No. 9: –
Now, Copy and paste the function in all remaining cells to get the result for all items.
Please Share and comment on your feedback in the comment box.
to buy the Microsoft Excel Click Here.
Also, Check out the following function of excel: –
- How to use VLOOKUP in Excel – free explanation
- How to use HLOOKUP in Excel – free explanation
- IF Function in Excel – Free Explanation with example
- Excel SUMIF Function – Download practice Sheet
- Excel Match Function- Download practice Sheet
- Excel Index Function – Download Practice Sheet
- COUNTIF Excel Function – Download Practice Sheet