+ Reply to Thread
Results 1 to 8 of 8

VLOOKUP with partial match

Hybrid View

  1. #1
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: VLOOKUP with partial match

    Quote Originally Posted by question
    So I would need a function which can find if there's a serial number in the column E where the first 8 digits match with the original (column B).
    You can cut the right end of an arbitrary string of characters with LEFT(text_string, how_many_characters_to_keep)

    F1= LEFT(E1,8) = LEFT(B1,8)
    Cell F1 will check if the first 8 characters (reading from the left) of cell E1 are the same (equal to) the first 8 characters (also from the left) of B1. If they are exactly the same, TRUE. If they are different, FALSE.

    If it's multiple checks, either this way or with VLOOKUP, I would myself prefer to make a table, and each cell of the table performs one check.

  2. #2
    Registered User
    Join Date
    06-28-2012
    Location
    hki, Finland
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: VLOOKUP with partial match

    The problem is that the serial numbers which I want to match are not in the same row. So I need to use VLOOKUP, right? I have to check that if LEFT(B2,8) -> is in the whole list of like E$2:$E$10000 including only the first 8 characters of the list.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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