In this article, we will learn about how to Sum if values having multiple criteria using SUMIFS in Excel.
In simple words, while working with long data sheet. Sometimes we need to find the find the sum of time values having multiple criteria. SUMIFS function formula finds the SUM of the array where multiple conditions needs to be satisfied. So we made a formula out of the SUMIFS function to meet multiple conditions.
SUMIFS function returns the sum of range having multiple criterias.
Generic formula:
Variables:
Sum_range : range ( time values ) where sum is required.
range1 : range where criteria value1 is applied.
Value1 : value criteria applied on range1.
range2 : range where criteria value2 is applied.
Value2 : value criteria applied on range2.
Let’s understand more about this function using it in an example.
EXAMPLE:
In a database entry of employees is recorded with time. Now the company wants to know how much time a particular employee spends time.
We need to get the SUM of time value having 2 conditions. Conditions are in following statements.
So we will use the formula to get the total time
time ( C2:C15 ) : Sum_range where values gets sum
ID ( B2:B15 ) : range where criteria is applied.
date , ">=" & A2 : Dates after the January 1st, 2019.
date , "<" & A2+7 : Dates before the January 7th, 2019.
Explanation for the formula:
Here the SUMIFS function satisfies all the conditions mentioned. The function returns the SUM of the time values only which satisfies all the criteria in the formula.
Here the arguments to the function is given as cell references and named ranges. The yellow marked boxes indicates the named ranges used.
As you can see the formula returns 0:25 , the Total time spent by Emp_001.
Now to calculate the time spent by Emp_002. We will use the formula:
As you can see the formula returns 0:45 , the Total time spent by Emp_002.
Here are some observational notes when using the formula.
Notes:
Hope you understood how to Find the SUM time values having multiple criteria in Excel. Explore more articles on Excel SUMIFS function here. Please feel free to state your query or feedback for the above article.
Related Articles
3 SUMIF with Or Formulas : multiple use of SUMIF function with a logic OR function in excel.
How to Use SUMIFS Function in Excel : Use of SUMIFS function explained with example in excel.
SUMIFS using AND-OR logic : Use of SUMIFS function with 2 logic OR & AND function in excel.
SUMIF with non-blank cells : Use of SUMIF function to catch blank cells in Excel.
SUMIFS with dates in Excel : Use of SUMIFS function with dates as criteria in Excel.
Popular Articles
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.