+ Reply to Thread
Results 1 to 3 of 3

finding the n th greatest value based on a condition

  1. #1
    Registered User
    Join Date
    12-20-2004
    Posts
    29

    finding the n th greatest value based on a condition

    hi all,

    I have a list like that

    A B
    x 90
    x 89
    x 88
    x 87
    y 86
    y 85
    y 84
    y 83
    z 82
    z 81
    z 80
    z 79

    The column A contains names, B contains scores. I need a function which finds, let's say, 3rd greatest value for x, (in the example result shall be 88), y, or z.

    Many thanks for help.

  2. #2
    Registered User
    Join Date
    01-20-2005
    Posts
    21
    Enter the following as an array formula (i.e. using Ctrl+Shift+Enter)

    =LARGE(((A2:A13="x")*(B2:B13)),3)

  3. #3
    Registered User
    Join Date
    12-20-2004
    Posts
    29
    Works! Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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