And if you're copying down to do likewise for A2:F2, A3:F3, etc
Put this instead in H1, array-entered as before,
then copy across to M1, and fill down as required:
=INDEX($A1:$F1,MATCH(SMALL(RANK($A1:$F1,$A1:$F1,1) ,COLUMN(A1)),RANK($A1:$F1,
$A1:$F1,1),0))
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--