• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Large function

Dear All,

Could you please let me know the formula to ignore duplicates in a large function.

Eg: I have data like: 40, 50, 60, 40, 50, 30 etc. I want top 5 values by ignoring duplicates.

Thanks,
Pavan.
 
Hi,

I'm sure someone can figure out a way of doing it in a single function, but I think I can get you half way there... in a column have the LARGE function and in another the unique entries (see attached).

Hope this helps a bit.
 

Attachments

  • Chandoo.xlsx
    9 KB · Views: 5
Hi,

I'm sure someone can figure out a way of doing it in a single function, but I think I can get you half way there... in a column have the LARGE function and in another the unique entries (see attached).

Hope this helps a bit.
Hi Pcosta,

Using your layout, another option without helper.

In D2, non-CSE formula copy down :

=IF(MIN($A$2:$A$12)=MIN(D$1:D1),"",LARGE($A$2:$A$12,COUNTIF($A$2:$A$12,">="&D1)+1))

Regards
Bosco
 

Attachments

  • Unique list.xlsx
    9.8 KB · Views: 6
Thank you Bosco, Pcosta and Narayan. However, I need top 5 values only instead of all unique values.

Eg:-
A - 10
B - 50
C - 30
D - 45
E - 33
F - 50
G - 30
H - 10
I - 70
J - 80
K - 70

I want top 5 values along with A, B, C etc. Please let me know. Regards, Pavan.
 
Thank you Bosco, Pcosta and Narayan. However, I need top 5 values only instead of all unique values.

Eg:-
A - 10
B - 50
C - 30
D - 45
E - 33
F - 50
G - 30
H - 10
I - 70
J - 80
K - 70

I want top 5 values along with A, B, C etc. Please let me know. Regards, Pavan.
Do you mean first 5 values, in the above case the formula should return 10,50,30,45,33 please correct..

Suppose your list was like
Eg 2:-
A - 10
B - 30
C - 30
D - 45
E - 33
F - 50
G - 30
H - 10
I - 70
J - 80
K - 70

in eg 2, the formula should return: 10, 30, 45,33,50

Please confirm
 
Back
Top