This is a problem I have been trying to resolve for quite a while unsuccessfully.
I need to know what percentage of the non-black cells in column C are either a 1 or a 2, but only if the value in column be is a 1 or a 2.
So in my example, there are 9 cells in column B that are a 1 or a 2. Only 8 of the corresponding cells in column C have a non-zero value. Since 4 of those 8 values are a 1 or a 2, then the final output would be 50% (4 out of 8).
B C
1 1
2 3
1 1
3 3
2
1 5
5 3
2 5
2 3
2 1
1 2
Thank you for any help you can provide.
I need to know what percentage of the non-black cells in column C are either a 1 or a 2, but only if the value in column be is a 1 or a 2.
So in my example, there are 9 cells in column B that are a 1 or a 2. Only 8 of the corresponding cells in column C have a non-zero value. Since 4 of those 8 values are a 1 or a 2, then the final output would be 50% (4 out of 8).
B C
1 1
2 3
1 1
3 3
2
1 5
5 3
2 5
2 3
2 1
1 2
Thank you for any help you can provide.