LARGE function for unique values

mhenk

Well-known Member
Joined
Jun 13, 2005
Messages
591
in column A, I have a list of about 1000 numbers, however, only 9-11 of them are unique. I would like to have a simple function that returns the nth largest unique number. Here is an abbreviated example:

A1-A6
1
1
1.05
1.05
2
3


B1-B4
1
2
3
4

I would like C1-C4 to return
3
2
1.05
1

Any help? Thanks
 
no, it seems like when I'm using a formula to calculate the values in column A, your formula does not work.

The data will always be the same length (in terms of number of entries)
 
Upvote 0

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
I know what the problem is, it seems to be that somewhere in the calculation leading up to column A's entries, I had to use a random number. If I take out the randomness, the formula works just fine.
 
Upvote 0
Input formula in cell C2 and copied down.


Code:
=IF(ROW($C2)=2,MAX($A$2:$A$12),MAX(IF($A$2:$A$12<C1,$A$2:$A$12)))

Must hold down:

Crtl,Shift,Enter
Large non-Duplicates.xls
ABCD
1
213
312
41.051.05
51.051
620
730
80
9
10
Sheet2
 
Upvote 0

Forum statistics

Threads
1,214,982
Messages
6,122,575
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top