+ Reply to Thread
Results 1 to 9 of 9

Part matching

  1. #1
    Registered User
    Join Date
    10-03-2018
    Location
    London
    MS-Off Ver
    365
    Posts
    7

    Part matching

    Hi,

    I have 2 sheets.

    Sheet 1 has columns A-H where column B has about 300 references, e.g. ABC123XXY, DEF234.

    Sheet 2 has columns A-D where column C has about 120 references which are shortened versions of these references, e.g. 123 instead of ABC123XXY or 234 instead of DEF234.

    Sheet 1 also contains references that have no bearing on sheet 2.

    Sheet 2 has column A containing a specific code for each reference.

    I need to get the Sheet 2/Column A code to show against the relevant Sheet 1/column B reference on Sheet 1 however Sheet 2 only has shortened versions of Sheet 1 references so it's a partial match thing I can't figure out.

    I've tried various things (VLOOKUP, MATCH etc) but I cannot get it to work. I hope someone can and I hope I've explained this enough.

    Thanks for any help here.

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Part matching

    Can you post a sample sheet? (go advanced - then manage attachments and follow the prompts) The sample ought to contain enough information AND expected results for someone to see what is needed.
    Are you trying to match on partial fields such as 123 of the ABC123XXY in your example above?
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,099

    Re: Part matching

    Sounds like a job for Microsoft's fuzzy lookup for Excel. Even better... it's free.

    https://www.microsoft.com/en-gb/down....aspx?id=15011
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Registered User
    Join Date
    10-03-2018
    Location
    London
    MS-Off Ver
    365
    Posts
    7

    Re: Part matching

    Hi,

    Thanks for the quick reply. I have a sample sheet but can't find an advanced link on this page. Can you steer me please...

    Cheers

  5. #5
    Registered User
    Join Date
    10-03-2018
    Location
    London
    MS-Off Ver
    365
    Posts
    7

    Re: Part matching

    Hi,

    I think I've worked it out now...

    Rgds
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    10-03-2018
    Location
    London
    MS-Off Ver
    365
    Posts
    7

    Re: Part matching

    I thought so too but couldn't figure that out either!

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,099

    Re: Part matching

    This array formula matches on the last 6 digits only. Is this what you want???

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    10-03-2018
    Location
    London
    MS-Off Ver
    365
    Posts
    7

    Re: Part matching

    Wow and mega thanks.

    Sometimes I sit here and work something out in Excel that others can't and feel good that I was able to help. Then I see something like this that I can't do and I realise how little I know!

    Thankfully there are experts like you out there.

    Cheers

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,099

    Re: Part matching

    It's just practice, practice, practice.

    you're welcome.

+ 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. Index matching on postcodes - but only a certain part of a postcode
    By blackrosepetals9169 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-20-2018, 09:40 AM
  2. matching row number value with part of file name
    By HeHeHaHa in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-17-2014, 04:07 PM
  3. Formula for matching two sheets with only part of the description
    By RaHzElChO in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 07-09-2014, 08:44 AM
  4. Matching two arrays - Part 1
    By PradeepRed in forum Excel General
    Replies: 2
    Last Post: 09-17-2010, 04:16 AM
  5. Part Matching Duplicate Values
    By thomasr79 in forum Excel General
    Replies: 4
    Last Post: 11-12-2008, 12:17 PM
  6. Matching month part of date only
    By RGB in forum Excel General
    Replies: 4
    Last Post: 07-17-2006, 09:44 AM
  7. matching part of an entry in a cell
    By Andyd74 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-24-2006, 01:10 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