Hello,
I want to achieve a criterion whereby the row/record is counted if Condition A is met and (any of condition 2 and 3 is met). Was just wondering why the below two formulas are not the same? I checked my answer with a pivot table and it gives me the same answer as formula 1)
Range A and B are of the same size
Condition 1 = Range A = X
Condition 2 = Range B = Y
Condition 3 = Range B = ""
1) =Sum(If((Condition 1)*(Condition 2 + Condition 3)=1,1,0)) entered as an array
2) =Sum(If((Condition 1)*Or(Condition 2,Condition 3)=1,1,0)) entered as an array
Thanks guys!
I want to achieve a criterion whereby the row/record is counted if Condition A is met and (any of condition 2 and 3 is met). Was just wondering why the below two formulas are not the same? I checked my answer with a pivot table and it gives me the same answer as formula 1)
Range A and B are of the same size
Condition 1 = Range A = X
Condition 2 = Range B = Y
Condition 3 = Range B = ""
1) =Sum(If((Condition 1)*(Condition 2 + Condition 3)=1,1,0)) entered as an array
2) =Sum(If((Condition 1)*Or(Condition 2,Condition 3)=1,1,0)) entered as an array
Thanks guys!
Last edited: