Forum Discussion
eminemaths
Feb 01, 2024Copper Contributor
counting specific number in one column but cell choice will be dependent on two other columns
Let's use the example below.
I would like to count the number of 1s in column C, IF the value of A is 105, and B is 1. The end product will be a number actually. How can I write a formula for this? I tried XLOOKUP, VLOOKUP, INDEX and INDIRECT functions but I was not successful. Thank you.
A B C
105 1 0
105 1 1
105 1 0
105 2 1
105 2 0
105 2 0
106 1 1
108 2 1
112 1 1
- OliverScheurichGold Contributor