+ Reply to Thread
Results 1 to 11 of 11

successive matched via vlookup

  1. #1
    Registered User
    Join Date
    10-14-2009
    Location
    london, england
    MS-Off Ver
    MS365 v. 2303
    Posts
    18

    successive matched via vlookup

    Hello,

    How can I list all successive matched values based on a vlookup?

    Additonally, there is an additional criterium. See attachement.

    Can you please help?
    Attached Files Attached Files

  2. #2
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2502 and WPS V2024(12.1.0.18543)
    Posts
    3,866

    Re: successive matched via vlookup

    Cell A2 Array formula , Drag down

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If you want Column (E:G) list

    formula

    Cell A2 array formula , drag down and across

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by wk9128; 01-13-2022 at 08:37 PM.

  3. #3
    Registered User
    Join Date
    10-14-2009
    Location
    london, england
    MS-Off Ver
    MS365 v. 2303
    Posts
    18

    Re: successive matched via vlookup

    Thank you very much!

    The number of rows are not fixed, so i want to look at the entire number of rows whether it are 113 or 200.

    also

    it has to search for a value that contains L-P-M1. So also look for L-P-M14 and L-P-M1-A3
    Attached Files Attached Files
    Last edited by pete80; 01-14-2022 at 08:15 AM. Reason: added attachement

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,910

    Re: successive matched via vlookup

    The .xlsx file format was introduced with the 2007 version of Excel, so I suspect that you are using a version newer than the 2003 listed in your profile.
    This makes a difference in the functions and/or features that might be used to resolve your issue.
    Please update your profile when you post a reply.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2502 and WPS V2024(12.1.0.18543)
    Posts
    3,866

    Re: successive matched via vlookup

    Try worksheet name : Blad1
    Cell A2 array formula , Drag down

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,712

    Re: successive matched via vlookup

    Assuming you are running at least XL2010. I offer up an alternative using Power Query.

    Power Query is a free AddIn for Excel 2010 and 2013, and is built-in functionality from Excel 2016 onwards (where it is referred to as "Get & Transform Data").

    It is a powerful yet simple way of getting, changing and using data from a broad variety of sources, creating steps which may be easily repeated and refreshed. I strongly recommend learning how to use Power Query - it's among the most powerful functionalities of Excel.

    - Follow this link to learn how to install Power Query in Excel 2010 / 2013.

    - Follow this link for an introduction to Power Query functionality.

    - Follow this link for a video which demonstrates how to use Power Query code provided.

    Make your selection in A2. Click on the Refresh All Icon and the results will appear starting in A13.
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  7. #7
    Registered User
    Join Date
    10-14-2009
    Location
    london, england
    MS-Off Ver
    MS365 v. 2303
    Posts
    18

    Re: successive matched via vlookup

    this is not working

  8. #8
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,712

    Re: successive matched via vlookup

    1.
    this is not working
    Don't know who or what you are referring to.
    2. Please update your profile. Administrative note
    Please update your profile as necessary to properly reflect the exact version(s) of Excel your question relates to. Members tailor answers based on your Excel version. Your profile indicates 2003 yet your sample workbook is for 2007 or later. Confusing.

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,791

    Re: successive matched via vlookup

    Try

    =IFERROR(INDEX(Blad2!A$1:A$1000,AGGREGATE(15,6,ROW($A$1:$A$1000)/(LEFT(Blad2!$A$1:$A$1000,LEN(Blad1!$A$1))=Blad1!$A$1)/(Blad2!$C$1:$C$1000="Yes"),ROWS($1:1))),"")

    assuming you are on 2010 or above
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  10. #10
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: successive matched via vlookup

    If you are having AGGREGATE function, In B2 copied down
    Please Login or Register  to view this content.
    Otherwise use this ARRAY formula. In C2 copied down
    Please Login or Register  to view this content.
    Result is the row numbers.
    To enter ARRAY formula
    Copy and paste the formula in cell
    Press F2
    Press Ctrl+Shift+Enter together
    Excel covers the formula with {}.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

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

    Re: successive matched via vlookup

    Using a dynamic named range over E:G,
    Please Login or Register  to view this content.
    Modified wk9128 from post #2:
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Ben Van Johnson

+ 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] Some Records matched by vlookup and other manual
    By shah.ghazanfar in forum Excel General
    Replies: 6
    Last Post: 12-20-2021, 12:58 PM
  2. Replies: 1
    Last Post: 05-12-2017, 02:53 AM
  3. [SOLVED] How to check which value could not be matched while using vlookup
    By alljewel in forum Excel General
    Replies: 6
    Last Post: 11-06-2016, 02:07 PM
  4. [SOLVED] Vlookup using 2 column matched
    By lokpal.panwar in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-26-2014, 07:11 AM
  5. [SOLVED] Vlookup Formula to find partially matched number
    By lglThird in forum Excel General
    Replies: 4
    Last Post: 09-21-2012, 10:00 PM
  6. VLOOKUP no exact matched
    By sinspawn56 in forum Excel General
    Replies: 2
    Last Post: 03-23-2010, 02:16 PM
  7. ISNA vlookup return matched result
    By shovelnose in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-09-2005, 08:20 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