Doc Man,
Sorry for the delay in responding. Your code works in so far as it does, in VBA, what lagbolt's query did - great. However, when there is a true tie, it seems to be assigning the 'wrong' ORDINAL value in that it seems to assume that one is greater than the other - ie it assigns a 1...