Hi! I'm using Excel 2003 (old, I know, but it has suited my very limited needs until today).
I'm trying to count the instances of X that also meet Y criteria. Both X and Y are text, in different columns of the same row. In post-2003 I would use countifs, which doesn't exist in 2003. I believe the alternative is sumproduct, but I haven't been able to get it to work either.
I *think* the countifs language would be =countifs(readers!f2:f999,"M",readers!g2:g999,"Yes")
Using sumproduct, I have tried:
=sumproduct(--(ISTEXT(readers!f2:f999="M")),--(ISTEXT(readers!g2:g99="Yes")))
This returns a value error. I've tried variations of this too (without ISTEXT, without the dashes) to no avail.
Any help on how to get a working sumproduct formula would be much appreciated!
I'm trying to count the instances of X that also meet Y criteria. Both X and Y are text, in different columns of the same row. In post-2003 I would use countifs, which doesn't exist in 2003. I believe the alternative is sumproduct, but I haven't been able to get it to work either.
I *think* the countifs language would be =countifs(readers!f2:f999,"M",readers!g2:g999,"Yes")
Using sumproduct, I have tried:
=sumproduct(--(ISTEXT(readers!f2:f999="M")),--(ISTEXT(readers!g2:g99="Yes")))
This returns a value error. I've tried variations of this too (without ISTEXT, without the dashes) to no avail.
Any help on how to get a working sumproduct formula would be much appreciated!