+ Reply to Thread
Results 1 to 4 of 4

Index partial Matching with at least 3 characters matching per criteria

  1. #1
    Forum Contributor
    Join Date
    05-17-2012
    Location
    CA, USA
    MS-Off Ver
    Microsoft Excel for Microsoft 365
    Posts
    163

    Index partial Matching with at least 3 characters matching per criteria

    Hi guys,

    Not sure if this is possible, I would like to Index/Match two column's based on three other columns' data with partial matching of at least three consecutive characters. I attached an example with the results.
    Last edited by T86157; 01-09-2017 at 12:12 AM. Reason: Challenge respecified

  2. #2
    Forum Contributor
    Join Date
    06-28-2016
    Location
    Pennsylvania, USA
    MS-Off Ver
    2013
    Posts
    308

    Re: Index partial Matching with at least 3 characters matching per criteria

    I believe sumproduct would be better for this (with index of course) But I don't quite understand the sample file.

    You can do partial matches with the * character which basically means any amount of characters, 0-infinity. So if for example, you want to match AIC to a cell containing it somewhere within, you would use something like:

    match("*AIC*",array,0)

    However, for multiple criteria, I find that sumproduct is the go to function, since it can determine if there are matches with multiple criteria. Also, you can decide if you want to put ors in there, or ands (which I am also not sure about from the given file). It seems to me that you want D to match A, then either E or F has to match B, but I am not totally sure.

    Anyway, given your desired results, index(iferror(match,match)) might be the way to go, if I understand your file correctly.
    However, the way your sample data is setup is extremely limiting, and you would need to reformat your data before being able to do any matching (to my knowledge anyway). You might be able to come up with some crazy formula replacing spaces with non-spaces, but it would be easier if you format your data in a way that you would want it to be.

    I got as far as this array formula for testing purposes and realized your data had spaces in weird spots, so I stopped there.

    Please Login or Register  to view this content.
    entered with CTRL+SHIFT+ENTER

    I also used a helper table adding * before and after the given match criterias with this, from J2 to L12

    ="*"&D2&"*"

    If you separate your match criteria columns into what you want to actually match, this formula will work, if you nest enough matches.

    It will become extremely data hungry very fast though, as will any solution since they will all be array based.

    What exactly do you want this for, a better solution might be inter-related drop down menus since that wouldn't kill calculation speeds as much

  3. #3
    Forum Contributor
    Join Date
    05-17-2012
    Location
    CA, USA
    MS-Off Ver
    Microsoft Excel for Microsoft 365
    Posts
    163

    Re: Index partial Matching with at least 3 characters matching per criteria

    I was trying to have the "AIC", "AOC" and "BDC" configuration's listed instead of their description when dropping in data in column's D, E and F. When data is placed in Column's D, E, and F I was trying to think of what approach might be best to look at column's A and B to find the best fit match for each set of data in column's D, E and F to be indexed. I understand some of the data in column B is inconsistent, I think that is something I can improve on over time. Hope my explanation helps?

  4. #4
    Forum Contributor
    Join Date
    06-28-2016
    Location
    Pennsylvania, USA
    MS-Off Ver
    2013
    Posts
    308

    Re: Index partial Matching with at least 3 characters matching per criteria

    So what I am basically saying is to separate you're and f columns into things you would like to actually match.

    So instead of something like 0-10 hz only matching 0-10 or hz you would have two separate columns.


    You can do this with text to columns in the data tab, or by manually going through them all. Once that is done, this will become a solvable problem.

+ 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] Matching specific characters in a row using INDEX/MATCH
    By Phalanxz in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-13-2016, 03:42 PM
  2. Copying partial rows with matching criteria using VBA
    By Ezzard in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-02-2015, 02:18 PM
  3. Replies: 7
    Last Post: 10-15-2014, 07:33 AM
  4. Vlookup or Index/Match only matching the first 8 characters.
    By CCPopsicle in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-18-2014, 10:20 AM
  5. Replies: 4
    Last Post: 06-08-2013, 01:52 PM
  6. Multiple Criteria and Partial Date Matching
    By GreatLakesJK in forum Excel General
    Replies: 7
    Last Post: 07-08-2010, 11:03 AM
  7. Bank reconciliation - Many to one matching and partial cell matching
    By maartendelaet in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-25-2010, 08:21 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