I cant think of a way to do it with a formula,
would you be happy with VBA if I talked you through it?
If your data is in A2:A11, in B2 type:
=INDEX($A$2:$A$11,MATCH(0,COUNTIF($A$2:$A$11,"<"&$A$2:$A$11)-SUM(COUNTIF($A$2:$A$11,"="&B$1:B1)),0))
and press Ctrl+Shift+Enter not just Enter. If correctly entered Excel will surround this array formula with curly braces {}. Copy the formula down as far as necessary.
If your data is in A2:A11, in B2 type:
=INDEX($A$2:$A$11,MATCH(0,COUNTIF($A$2:$A$11,"<"&$A$2:$A$11)-SUM(COUNTIF($A$2:$A$11,"="&B$1:B1)),0))
and press Ctrl+Shift+Enter not just Enter. If correctly entered Excel will surround this array formula with curly braces {}. Copy the formula down as far as necessary.
Thank you for your reply.If your data is in A2:A11, in B2 type:
=INDEX($A$2:$A$11,MATCH(0,COUNTIF($A$2:$A$11,"<"&$A$2:$A$11)-SUM(COUNTIF($A$2:$A$11,"="&B$1:B1)),0))
and press Ctrl+Shift+Enter not just Enter. If correctly entered Excel will surround this array formula with curly braces {}. Copy the formula down as far as necessary.
That's an awesome formula Andrew
Thank you for your reply.
I am going to use the formula to list distinct values in column A as a source for data validation in column B?
Will this formula work for this purpose?