+ Reply to Thread
Results 1 to 3 of 3

Vlookup returning duplicates

  1. #1
    Registered User
    Join Date
    11-21-2013
    Location
    Philadelphia,PA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Vlookup returning duplicates

    I'm doing a fantasy football analysis that ranks players based on their value (value over positional mean (VOM)). The file is attached. In the summary tab, I'm returning the largest values and then using a vlookup to return the corresponding player. Unfortunately, if two players have the same value, the vlookup formula will return the same player twice. How can I avoid duplicates?
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Vlookup returning duplicates

    Can't do it right now but, if you want to have a go, try this:

    Add a helper column
    In the helper column, add the score and row()/1000000
    Rank using the helper column (LARGE)
    Use INDEX/MATCH using the ranked helper values to return the name

    ROW()/1000000 will add a very small, and unique, amount to the score so you can differentiate them but it won't be visible.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Vlookup returning duplicates

    I was looking at doingb that too, Trevor - it will work on a sheet-level, but wont necessarily work between sheets. I was looking to see if there was a way to put all the data onto 1 sheet, but that is something onkly the OP can decide on
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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] Returning data for Duplicates in correct order
    By ClickingNoise in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-12-2013, 07:08 AM
  2. [SOLVED] LOOKUP through duplicates, but returning multple values (vertically)
    By TommyK25 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-12-2013, 07:46 AM
  3. Returning minimum valu without duplicates
    By ARayburn in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-22-2013, 01:51 AM
  4. Replies: 3
    Last Post: 04-08-2009, 09:19 AM
  5. [SOLVED] vlookup returning sum
    By Trevor Shuttleworth in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 03:05 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