+ Reply to Thread
Results 1 to 4 of 4

Match based on part of cell

Hybrid View

  1. #1
    Registered User
    Join Date
    06-28-2012
    Location
    Shawano, WI
    MS-Off Ver
    MS365 version 2310
    Posts
    99

    Match based on part of cell

    Hello,

    I have a project where I am trying to link cells to a separate table and need to match the data based on the last part of a number sequence.

    Below is an example.

    In the first group of information I am trying to find 001HO07235 or 501HO07235 in the data table which is the second group of information. In the second group of information (the large data table) these numbers are only listed starting with 001. This large data table will not have any numbers starting with 501. The issue is 001 and 501 numbers reference the same item (HO07235) just in a different presentation. I simply want to find the HO07235 and give the price associated with it.

    Thank you in Advance!


    Cells I am referencing What result should be
    001HO07235 10
    501HO07235 10



    Large data table that houses data wanting to link to above

    Number Price
    001HO07235 10

  2. #2
    Forum Contributor jomaor1's Avatar
    Join Date
    10-08-2018
    Location
    Brasil
    MS-Off Ver
    Excel 2016
    Posts
    182

    Re: Match based on part of cell

    HI,

    I didn't quite understand, but here it goes:

    Have you tried with concatenated Vlookup? like this:

    Formula: copy to clipboard
    =IFERROR(VLOOKUP("001"&A1,Sheet2!A:B,2,0),VLOOKUP("501"&A1,Sheet2!A:B,2,0))


    Can you elaborate more, or attach a workbook? Thanks!
    John.

    "I excel at jumping to conclusions"

  3. #3
    Registered User
    Join Date
    06-28-2012
    Location
    Shawano, WI
    MS-Off Ver
    MS365 version 2310
    Posts
    99

    Re: Match based on part of cell

    Hello,

    Here is a excel file as an example.

    I want to match the ID's without a price to the ID's with a price based on the last 7 digits of the ID's.

    Thanks!
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2024
    Posts
    6,202

    Re: Match based on part of cell

    Maybe?

    =VLOOKUP("*"&RIGHT(A5,7),$G$5:$I$6,3,0)

+ 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] Determine if any part of cell contains a match in a range?
    By Jietoh in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-26-2016, 04:06 PM
  2. [SOLVED] Match a part of a cell value
    By JazminA in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-20-2014, 03:09 PM
  3. [SOLVED] INDEX MATCH based on part of strings
    By Dahlia in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 02-07-2014, 07:55 AM
  4. Match based on part of a postcode (UK)
    By nickmax1 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-18-2013, 03:21 PM
  5. Match part of cell to any value in range
    By mek22 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-01-2013, 06:09 PM
  6. Match 2 lists based on Part Number
    By jamezgreen in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-08-2012, 01:59 PM
  7. Match or find text in part of a cell
    By muchado77 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-23-2007, 02:27 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