Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2017
    Posts
    2

    match a partial field?

    hi
    i have very entry level access skills
    i upload to spreadsheet and an try to combine them by matching by a like part number
    often things come up like part number changes
    in this situation WLJ87612 is now WLJ87612PP1 or WLJ87612PP2

    i have two tables that i am trying to match partial information
    in one table i have
    WLJ87612 87612

    in another table

    87612PP2


    and
    87612PP1

    is there a way to list combine as (partial) matches?
    match the 87612 with the 87612(PP2) 87612(PP1)

    thanks sooooo much foe your help!! =)

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850

  3. #3
    Join Date
    Dec 2017
    Posts
    2
    thanks for the direction - but each cell may be different 'like' criteria
    is there a way to do first 3 or 4 or 5 digit match instead?
    not specifying 'm'?
    thanks again for your help!

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850
    Suggest you give us some sample data.

    for this situation WLJ87612 is now WLJ87612PP1 or WLJ87612PP2

    let's say these are partnumbers WLJ87612PP1 or WLJ87612PP2

    Select * from yourTableName
    where Partnumber like "WLJ87612*"

    will select all partnumbers that start with WLJ87612

    OR

    Select * from yourTableName
    where Left(Partnumber,8) = "WLJ87612"

    will select Partnumbers where the leftmost 8 characters are "WLJ87612"

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 11
    Last Post: 02-09-2017, 09:12 AM
  2. Replies: 3
    Last Post: 06-11-2016, 10:16 AM
  3. Query to find Partial Match of Column Data
    By rachmorr9 in forum Queries
    Replies: 2
    Last Post: 09-22-2015, 09:09 PM
  4. Use Partial field value as criteria
    By cplmckenzie in forum Reports
    Replies: 6
    Last Post: 02-06-2015, 01:14 AM
  5. Partial Match Query
    By punna111 in forum Queries
    Replies: 10
    Last Post: 08-20-2014, 03:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums