Forum Discussion
Anna McHaffie
Jan 09, 2017Copper Contributor
COUNTIFS using criteria from both column A and B
I can't figure out how to combine the formulas =COUNTIF(B:B,"IHC*")+COUNTIF(B:B,"SS*") and =COUNTIFS(A:A,">1330",A:A,"<1431") I want to only count the criteria in column A if the criteria in colu...
Wyn Hopkins
Jan 09, 2017MVP
Hi Anna,
You probably need to do 2 COUNTIFS given you want to count IHC* or SS*
=COUNTIFS(A:A,">1330",A:A,"<1431",B:B,"IHC*") + COUNTIFS(A:A,">1330",A:A,"<1431",B:B,"SS*")
You probably need to do 2 COUNTIFS given you want to count IHC* or SS*
=COUNTIFS(A:A,">1330",A:A,"<1431",B:B,"IHC*") + COUNTIFS(A:A,">1330",A:A,"<1431",B:B,"SS*")
Anna McHaffie
Jan 10, 2017Copper Contributor
Thank you, it worked!