I want to make a table that, in its final column, counts the number of numbers such that the row is larger than the other row. However, since the sample size for me is rather large, I want an excel formula to do this for me.
I have tried using sum, if, sumif, sumifs commands, but none seems to work (at least I can't get it to work). Any help would be appreciated.
Here is a small sample:


