+ Reply to Thread
Results 1 to 8 of 8

VLOOKUP where Duplicate Values

  1. #1
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    362

    VLOOKUP where Duplicate Values

    The attached file has a VLOOKUP formula where the data source (IDEN) has the same VPMO ID and I'm trying to lookup the distinct SI IDs. However, it lookups the same one... how can I resolve this?


    EDIT:
    I've updated a new attachment with the formula where it doesn't work pass the 1st row... what am I doing wrong?
    Attached Files Attached Files
    Last edited by rz6657; 10-18-2016 at 11:55 AM. Reason: Add new attachment

  2. #2
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: VLOOKUP where Duplicate Values

    i would use a concatenate formula to make each VPMO and SI unique for the vlookup.

  3. #3
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: VLOOKUP where Duplicate Values

    just realized that you are trying to lookup the SI.. My question would be can you look up the SI by searching the VPMO ID and the Apps (Test1 or Test2)?

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: VLOOKUP where Duplicate Values

    Enter this array formula in I7 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    ***Array formula
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.
    You will know the array is active when you see curly braces { } appear around your formula.
    If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: VLOOKUP where Duplicate Values

    The numbers in your attachment do not differ: you have two identical pairs.

    Attach a sample workbook that has enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    362

    Re: VLOOKUP where Duplicate Values

    Hi AlKey - thanks for the formula. It works only for the 1st 2 rows. I have to drag down to row 235 and it doesn't work past 7 and 8 rows... any suggestions?

  7. #7
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: VLOOKUP where Duplicate Values

    Quote Originally Posted by rz6657 View Post
    Hi AlKey - thanks for the formula. It works only for the 1st 2 rows. I have to drag down to row 235 and it doesn't work past 7 and 8 rows... any suggestions?
    All you need to do is to extend range
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  8. #8
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: VLOOKUP where Duplicate Values

    Please see attached file with modified formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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] Vlookup duplicate values
    By JumpyJim in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-22-2016, 03:23 PM
  2. [SOLVED] VLOOKUP and Duplicate Values
    By marshak in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-03-2015, 01:43 AM
  3. [SOLVED] using vlookup on duplicate values to get the sum of both
    By 4rch@ng3l in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-23-2014, 01:35 PM
  4. Vlookup with duplicate values
    By bperkins in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-30-2013, 03:31 AM
  5. Need help with vlookup in duplicate values
    By vivshan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-09-2013, 05:54 AM
  6. VLookup Duplicate Values
    By markd87 in forum Excel General
    Replies: 0
    Last Post: 07-20-2011, 11:54 AM
  7. Vlookup - Duplicate Values
    By sraju in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 11-28-2010, 09:09 AM

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