I need excel to calculate how many times this occurs:
That column C contains an X
when column H contains a certain name.
My problem is that column H can contain two names at times (ie John/Harry) and I would want this cell to be counted in both a John calculation and a Harry calculation.
I have tried this, but it only works on cells containing a single name
=SUMPRODUCT(--($C$3:$C211="X"),--($H3:$H211="John"))
Thanks in advance.
That column C contains an X
when column H contains a certain name.
My problem is that column H can contain two names at times (ie John/Harry) and I would want this cell to be counted in both a John calculation and a Harry calculation.
I have tried this, but it only works on cells containing a single name
=SUMPRODUCT(--($C$3:$C211="X"),--($H3:$H211="John"))
Thanks in advance.