hi all,

I have a list like that

A B
x 90
x 89
x 88
x 87
y 86
y 85
y 84
y 83
z 82
z 81
z 80
z 79

The column A contains names, B contains scores. I need a function which finds, let's say, 3rd greatest value for x, (in the example result shall be 88), y, or z.

Many thanks for help.