Column F Column D
51160 34
51160 20
230 10
230 62
20 28
But if the smaller numbers really are in S, then you need to examine both
columns and make sure the numbers are really numbers, and not text. Your
formula works just fine for me (returns 1) when the proper columns are
referenced).