I'm trying to create a spreadsheet that counts the number of a particular occurrence on a row only when it matches the name.
Col A Col B Col C Col D
Row 1 **Jane** Apple Orange Apple
Row 2 **Bob** Orange Apple Orange
Row 3 **John** Apple Apple Apple
Row 4 **Joe** Orange Apple Apple
I was thinking =IF(A:A=A2, COUNTIF($B$2:$D$4,"Apple"), "NULL") will work but it's not giving the expected result.
The expected result in the above formula is 1