+ Reply to Thread
Results 1 to 6 of 6

vlookup duplicates

  1. #1
    Registered User
    Join Date
    02-01-2012
    Location
    New York
    MS-Off Ver
    Excel 2003
    Posts
    65

    vlookup duplicates

    I am trying to arrange a 2x5 matrix in descending order using one of the columns. However, I want the second column to remain coupled with its adjacent value. Currently I am sorting Column A in Column C using the large function and then I use vlookup to place its counterpart from Column B in Column D. However, due to the non unique numbers in Column A I cannot get each value of Column B represented in Column D. I am trying to make Column D give the values I have shown in Column F (the C, F and B, D, and I can be interchangeable, I just want each letter represented).

    See the attached Example

    Capture.PNG

    Any help would be great. I am looking to do this with formulas not code. If you have a different way of doing it that would work but I am also curious as to whether or not it can be done similar to the way I tried. Thanks

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: vlookup duplicates

    Sorry, but Excel formulas don't work on pictures.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    02-01-2012
    Location
    New York
    MS-Off Ver
    Excel 2003
    Posts
    65

    Re: vlookup duplicates

    excel forum.xlsx

    Happy Now?

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

    Re: vlookup duplicates

    Hi,

    in D1 you could try:

    Please Login or Register  to view this content.
    formula to be confirmed with control+shift+enter and copied down.

    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.

  5. #5
    Registered User
    Join Date
    02-15-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: vlookup duplicates

    Please find the method which I used to name the column with duplicates differently. To sort the column, I just made it a table using "ctrl+T" so that the corresponding adjacent columns also change as per the sorting column.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    02-01-2012
    Location
    New York
    MS-Off Ver
    Excel 2003
    Posts
    65

    Re: vlookup duplicates

    Canapone that works perfect! Can you explain exactly how it works so I fully understand and can repeat it in the future?

+ 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