Finding the nth smallest number in a range, discounting duplicates

I used to know how to do this I think, but I can't find it anywhere. I need something as simple as possible that when I drag it down, each succeeding row gives me the next smallest unique number in the range [PercentsAll].

In other words if the lowest number is 92.53%, and there are 3 such occurrences, I can't have "=SMALL(PercentsAll,ROW(A2))" return 92.53%. I need it to return the next lowest unique number 93.15%

The method I used to know involved a fairly complicated formula, so I'm hoping there's a simpler one out there.



Open in new window

John CarneyReliability Business Tools Analyst IIAsked:
Who is Participating?
barry houdiniConnect With a Mentor Commented:
Sorry, the formula for C3 should refer to the cell above, C2, not C3, like this


See attached

regards, barry
barry houdiniCommented:
Try using this formula in the first cell, e.g. in C2


Then in C3 use this array formula confirmed with CTRL+SHIFT+ENTER and copied down


regards, barry
If this is a manual process I would

Take the numbers your interested in an filter the list by unique records.  

Then I would just sort it ascending or decending.  

If you need a complex formula to do it, just let me know.
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

You would filter the list by unique records by selecting data, then in the filter section advanced, then check the unique records box.
barry houdiniCommented:
An improvement to my suggestion...

Use this formula for a count of the different values


then the formula to list the unique values from smallest to largest can be amended so that it can be copied down further than you need, extra cells will be blank - revised formula in D3 copied down


regards, barry
John CarneyReliability Business Tools Analyst IIAuthor Commented:
This is perfect, thanks, Barry. And I love how simple it is. :-)

- John
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.