Jayadev Sarangi
Member
Is it possible to insert "AND/OR" function or a defined NAME range in sumifs?
Please advise.
Thanks
Jay
Please advise.
Thanks
Jay
=SUMIFS(sum_range,criteria_range1,criteria1,criteria_range2,criteria2…)
=SUM(IF(($A$1:$A$3="x")+($A$1:$A$3="y"),$B$1:$B$3))
Confirm the formula by pressing Ctrl + Shift + Enter, not just Enter..
or
=SUMPRODUCT(($A$1:$A$3="x")+($A$1:$A$3="y"),$B$1:$B$3)