My data looks like below:
A B
1 0
1 0
0 1
0 1
How can I count the number that in the same row column A are greater than column B without adding another column which is the subtracted value between column A and column B?
The output of above example should output 2.
=SUMPRODUCT((1=1)*(A1:A4>B1:B4))