SUMIF FUNCTION IN EXCEL
INTRODUCTION
The SumIf function in excel is used to calculate the sum of only selected values by giving a certain condition.
SUMIF SYNTAX
SumIf(Range, Criteria, [Sum_range])
SumIf(Range, Criteria, [Sum_range])
Range: The range is cells address in which formula applies (Ex: A1: A10)
Criteria: This is a real condition, that select the values for sum (Ex: ">60")
[Sum_range]: This is an optional argument.
SumIf Excel Example 2: In this example, we are calculating the sum of salaries but only for sales department employees.
SUMIFS FUNCTION
Syntax: SumIf(Sum_range, Criteria_range1, Criteria1, ...)
Sum_range: This is a cell address of those values in which want to calculate the sum.
Creteria_range1: This is a criteria value's cell address.
Criteria1: This is a number of criteria which you want to apply in the calculation.
Example: In this example, we are calculating a sum of salary for all the Sales and Purchase department employees.
0 Comments