+ Reply to Thread
Results 1 to 14 of 14

Use Vlookup to return minimu values when the are multiple minimum values in a range

  1. #1
    Registered User
    Join Date
    09-09-2008
    Location
    Troy, MI
    MS-Off Ver
    2010
    Posts
    95

    Use Vlookup to return minimu values when the are multiple minimum values in a range

    I am struggling with and request suggestions or help with a lookup or array formula that will return the minimum or smallest values from a range where the minimum or smallest values are not unique. I’ve attached a sample worksheet to help illustrate.

    Refer to table 1 in the attached sample. When all values in the table (from B5:C14) are unique, I am able to write a lookup formula that returns both the lowest score as well as the player name using the Vlookup and Small functions that will display the results in cells G6 and G7.

    In Table 2, there are two scores that are equivalent and meet the test of the minimum value, therefore my Vlookup formula is unable to identify there are two minimum values in the range. Perhaps it Is at this point that I need to implement usage of the Index function or some other technique. In addition, I want a formula in both cells F21 and F22 that would display the text “1st Place Tie” when multiple minimum values are present.

    Of course, there may be a situation when the table contain a unique minimum value but there are two next to lowest values in the range. In this case, I would want a formula to display the lowest minimum score along with the player name plus a label that reads “1st Place” and then a formula on the next two rows to identify the next to lowest values separately as depicted in Table 3 of the sample.

    Score Board Example.xlsx Any thoughts or suggestions would be appreciated.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    04-09-2013
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: Use Vlookup to return minimu values when the are multiple minimum values in a range

    Hi,

    See the file. But I hope you want to display only 1st & 2nd Place or 1st Tie only.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    09-09-2008
    Location
    Troy, MI
    MS-Off Ver
    2010
    Posts
    95

    Re: Use Vlookup to return minimu values when the are multiple minimum values in a range

    Thanks for your reply. In this case, I am only concerned about identifying 1st or 2nd place or any 1st or 2nd place ties. I see how your formulas work in cells G22 and H22 which is perfect in event there are two scores that are the lowest in the range. I will attempt to adapt your formulas to account for situations where there is a unique minimum in the range and two or more next lowest minimums in the range so that ties for second place may be identified.

  4. #4
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Use Vlookup to return minimu values when the are multiple minimum values in a range

    HI,
    are you trying to pull out only the The first & second & tie for these places only ?

    Punnam

  5. #5
    Registered User
    Join Date
    09-09-2008
    Location
    Troy, MI
    MS-Off Ver
    2010
    Posts
    95

    Re: Use Vlookup to return minimu values when the are multiple minimum values in a range

    That is correct as I only need to identify first and second place as follows: Unique First place and unique second place, or multiple ties for first place and a unique second place, or unique first place and multiple second place.

  6. #6
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Use Vlookup to return minimu values when the are multiple minimum values in a range

    see the attached file
    Attached Files Attached Files
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  7. #7
    Registered User
    Join Date
    09-09-2008
    Location
    Troy, MI
    MS-Off Ver
    2010
    Posts
    95

    Re: Use Vlookup to return minimu values when the are multiple minimum values in a range

    Thank you nflsales. I will review. I failed to mention a 4th possibility which would be multiple ties for1st and multiple ties for 2nd. I will also check your formulas for this outcome.

  8. #8
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Use Vlookup to return minimu values when the are multiple minimum values in a range

    @ Siva,

    Really impressive

    Punnam

  9. #9
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Use Vlookup to return minimu values when the are multiple minimum values in a range

    Thanks Ravi.

  10. #10
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Use Vlookup to return minimu values when the are multiple minimum values in a range

    Hi All,

    @Trandle: which Excel version are you using?

    I'm trying to simplify formulas

    Regards
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  11. #11
    Registered User
    Join Date
    09-09-2008
    Location
    Troy, MI
    MS-Off Ver
    2010
    Posts
    95

    Re: Use Vlookup to return minimu values when the are multiple minimum values in a range

    Excel 2007

  12. #12
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Use Vlookup to return minimu values when the are multiple minimum values in a range

    Hi,

    I wanted to use AGGREGATE (Excel 2010) to avoid array INDEX

    EXCEL 2007


    In column H you could use


    =SMALL(range,row(a1))

    in Column G you could adjust array INDEX using a final COUNTIF

    =INDEX($C$20:$C$29,SMALL(IF($B$20:$B$29=H21,ROW($A$1:$A$10)),COUNTIF($H$20:H21,H21)))


    All Index formulas must be confirmed with control+shift+enter

    Please see the attached file.

    Hope it helps
    Attached Files Attached Files
    Last edited by canapone; 10-13-2014 at 01:56 AM.

  13. #13
    Registered User
    Join Date
    09-09-2008
    Location
    Troy, MI
    MS-Off Ver
    2010
    Posts
    95

    Re: Use Vlookup to return minimu values when the are multiple minimum values in a range

    Thank you and to all for your help. I will review your updates and follow up in a few hours.

  14. #14
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Use Vlookup to return minimu values when the are multiple minimum values in a range

    Hi,

    thanks for feedback.

    I've just seen Misrasomenfra formulas: I'm proposing same approach, sorry for the confusion.

    Regards

+ 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. Return minimum values from columns across multiple worksheets
    By wylansimpson in forum Excel General
    Replies: 1
    Last Post: 08-03-2014, 05:37 PM
  2. [SOLVED] Return value if within range, return multiple values if ranges overlap
    By cde1983 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-17-2013, 06:16 AM
  3. vlookup multiple values and return values
    By AMFISH in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-08-2012, 11:13 AM
  4. [SOLVED] Excel 2007 : return multiple values - using vlookup
    By heatherromo in forum Excel General
    Replies: 7
    Last Post: 03-01-2012, 02:46 PM
  5. How to return multiple minimum values
    By jrocchio in forum Excel General
    Replies: 1
    Last Post: 10-20-2006, 05:27 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