Forum Discussion

Deleted's avatar
Deleted
Aug 16, 2018

nth Largest value

Hi Experts,

 

Could you please help me with function for nth Largest value in 'Excel' ?

e.g. 2nd largest value is 5 in below mentioned range.

 

Range

2

5

8

8

 

Regards,

Rajiv

 

    • Deleted's avatar
      Deleted
      if I put =Large ( Range,2) this will give ans '8' .
      8 appears twice in range whereas 2nd largest value is '5'. Thanks
      • Detlef_Lewin's avatar
        Detlef_Lewin
        Silver Contributor

        OK, I get your point.

         

        Use a helper column with this formula:

        =COUNTIFS(A$1:A1,A1)=1

         The final result will be:

        =AGGREGATE(14,6,1/(B1:B4/A1:A4),2)

         

Resources