+ Reply to Thread
Results 1 to 5 of 5

Match Multiple Columns

  1. #1
    Registered User
    Join Date
    05-03-2014
    Location
    brisbane
    MS-Off Ver
    Excel 2013
    Posts
    15

    Match Multiple Columns

    Can you match multiple columns ?

    =INDEX(Sheet1!$A$2:$A$20000,MATCH(A172&"Test",Sheet1!$J$2:$J$20000&Sheet1!$K$2:$K$20000,0))

  2. #2
    Registered User
    Join Date
    03-22-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2007,2010
    Posts
    39

    Re: Match Multiple Columns

    Hi Ashtangi

    It will be easier for everyone to understand your problem if you will attach excel file

    Regards,

  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
    53,048

    Re: Match Multiple Columns

    Hi and welcome to the forum

    Yes you can, but you need to enter that as an ARRAY formula...
    =INDEX(Sheet1!$A$2:$A$20000,MATCH(A172&"Test",Sheet1!$J$2:$J$20000&Sheet1!$K$2:$K$20000,0))

    ...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. Press F2 on that cell and try again.
    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

  4. #4
    Registered User
    Join Date
    05-03-2014
    Location
    brisbane
    MS-Off Ver
    Excel 2013
    Posts
    15

    Re: Match Multiple Columns

    thank you FDibbins,

    what about if A172 was actually a construced string

    "*"&LEFT(A172,3)&"*"&RIGHT(A172,3)&"*"

    i cant really have

    "*"&LEFT(A172,3)&"*"&RIGHT(A172,3)&"*"&"Test"

  5. #5
    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
    53,048

    Re: Match Multiple Columns

    what is in A172?

+ 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] INDEX/MATCH (multiple critera in multiple rows and columns)
    By swma in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-01-2016, 10:02 AM
  2. Match multiple columns between multiple sheets...
    By fresh1986 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-30-2012, 05:21 AM
  3. Replies: 2
    Last Post: 06-29-2011, 01:36 PM
  4. MATCH across multiple columns
    By ozizushi in forum Excel General
    Replies: 2
    Last Post: 04-26-2011, 09:30 AM
  5. Replies: 1
    Last Post: 09-03-2010, 12:52 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