+ Reply to Thread
Results 1 to 3 of 3

Find nth largest value, when there are duplicate n-1, n-2 etc values

  1. #1
    Registered User
    Join Date
    06-02-2013
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2010
    Posts
    16

    Find nth largest value, when there are duplicate n-1, n-2 etc values

    Hi gurus,

    I'm having an issue using Large formula, I'm sure there's a simple alternative.

    Say you have a list of 3 numbers

    3
    3
    1

    I want to find the second largest. Large formula will return 3 as the second largest. I want a formula that will recognise that 3 and 3 are the same, and the second largest number in that list is 1.

    Likewise, if the list is

    5
    5
    4
    4
    3
    1

    And I want the 3rd largest number, I want a formula to return the number 3.

    The list of numbers won't already be sorted, and there will be blank cells that should be ignored.

    Any help would be most appreciated.

    Many thanks

  2. #2
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: Find nth largest value, when there are duplicate n-1, n-2 etc values

    Please try this file.

    Note: If you require 2nd, 3rd, 4th... etc, then you can modify the function.

    Eg: In the below mentioned example, you can modify the '2' to any number you want.

    =LARGE(IF(FREQUENCY($D$2:$D$4,$D$2:$D$4)<>0,$D$2:$D$4),2)
    Attached Files Attached Files
    Last edited by ramananhrm; 08-19-2013 at 03:07 AM.
    Please click 'Add reputation', if my answer helped you.

  3. #3
    Registered User
    Join Date
    06-02-2013
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Find nth largest value, when there are duplicate n-1, n-2 etc values

    Thank you - that's a perfect solution.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Find 3 largest values in an array and return corresponding text from header row
    By philrossnz in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-21-2012, 01:17 AM
  2. [SOLVED] Find Largest Values Greater than 'X' in VBA
    By mabeaver in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-12-2012, 03:47 PM
  3. [SOLVED] How to find the largest change of values in a column
    By Ravager in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-11-2006, 02:05 PM
  4. find largest values, then return corresponding row values.
    By neurotypical in forum Excel General
    Replies: 7
    Last Post: 05-24-2006, 05:27 PM
  5. How to find the largest product of an array of values?
    By ryesworld in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-02-2005, 02:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1