Closed Thread
Results 1 to 4 of 4

lookups for duplicates

  1. #1
    Registered User
    Join Date
    01-13-2018
    Location
    Ethiopia
    MS-Off Ver
    2013
    Posts
    27

    lookups for duplicates

    Hello beautiful people,
    I really need help on the following please
    Basically there are two sheets that contain the same document number. The “Lookup Value” sheet contains all the information I need for the relevant document number which is “Type” and “No.”. But the second sheet (the “Result” sheet) does not contain “Type” and “No”. Therefore, I want to bring “Item” and “No.” from the “Lookup Value” sheet by matching the document number which is the same in both sheets.

    THE PROBLEM IS:
    The normal VLOOKUP, INDEXMATCH formulas can never do this because the whole file is really messed up and here is why:

    1. There are so many duplicate document numbers in the “lookup sheet” with varying “Type” and “No.” so when you use VLOOKUP or INDEXMATCH it gives a very biased information
    2. The number of document no. columns in both sheets does not match.

    Note: Please refer the filtered sample sheet to see the requirement but just to remind you that there are so many different scenarios than what is shown on the filtered sample sheet.

    After completion I need to check and validate the result because I have tried this like a 100 times but it seemed to work fine when in fact it gives a totally wrong information which is also why I say that the person who solve it correctly without any flow is a real genius!


    I really have no idea how to solve this so I want to get the help of an expert.

    Thank you so much for the help EXCEL FILE.xlsx

  2. #2
    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,916

    Re: lookups for duplicates

    Why have you posted in the VBA section? You don't mention VBA in your post - was this in error? If so, I'll move the thread for you.
    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.

  3. #3
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: lookups for duplicates

    In your diagram on 'Filtered Sample' tab shows the table on the far left the same as the table on the far right.

    So I don't understand the logic you are aiming for.

  4. #4
    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,916

    Re: lookups for duplicates

    Another duplicate closed.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 07-30-2014, 02:37 PM
  2. [SOLVED] Macro to find duplicates, concatenate Unique Values, then delete old duplicates
    By lesoies in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-17-2013, 04:32 PM
  3. Replies: 17
    Last Post: 07-05-2011, 05:37 PM
  4. Replies: 3
    Last Post: 03-09-2011, 07:00 PM
  5. More than Multiple Lookups: Conditional Multiple Lookups
    By mohitspamz in forum Excel General
    Replies: 6
    Last Post: 11-01-2009, 03:32 AM
  6. Replies: 2
    Last Post: 05-16-2005, 12:07 AM
  7. Replies: 1
    Last Post: 05-15-2005, 07:07 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