Hi. I am trying to do a count with multiple criteria. One criteria is the year, another is the text lapse in a cell (the column is either client or lapse" and the last criteria is to count the number of times the text 5PR shows up in a column, although it may not be the only text in any of the cells.
I have tried
=COUNTIFS($Z$2:$Z$1876,$C$1929,$AA$2:$AA$1876,"lapse",$I$3:$I$1876,E1928)
If I do this with only the =COUNTIFS($Z$2:$Z$1876,$C$1929,$AA$2:$AA$1876,"lapse") the formula works, it is when I add the last piece, which is search to match the text in F1928 in the column of I.
I have also tried =SUMPRODUCT(--($Z$2:$Z$1876=$C$1929),--($AA$2:$AA$1876="lapse"),--(COUNTIF($I$3:$I$1876,"*5PR*"))) and again if I remove the last criteria it works. Lastly, I used =SUMPRODUCT(($Z$2:$Z$1876=$C$1929)*($AA$2:$AA$1876="lapse")*(COUNTIF($I$3:$I$1876,$E$1928))) this did return a value, but it is incorrect....
Help!!!
Bookmarks