In this article, we will learn how to use AND - OR logic in SUMIFS function in Excel.
AND logic is used when all conditions stated need to be satisfied.
OR logic is used when any condition stated satisfies.
In simple words, Excel lets you perform these both logic in SUMIFS function.
OR logic with SUMIFS is used when we need to find the sum if value1 or value2 condition satisfy
Syntax of SUMIFS with OR logic
Here we need to find the sum of Sales range If “Mike” or “Joe” occurs in Emp range
As you can see we got the sum of combined Joe’s and Mike’s sales.
AND logic with SUMIFS function is used when we need to find the sum if value1 and value2 both condition satisfy
Syntax of SUMIFS with AND logic
Here we need to find the sum of Sales range If “Joe” occurs in Emp range and “North” occurs in the Region range
As you can see we got the sum of just Joe’ North region.
Hope you understood how to use SUMIFS function with AND-OR logic in Excel. Explore more Mathematical functions with logic_test articles on Excel TEXT function here. Please feel free to state your query or feedback for the above article.
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.