+ Reply to Thread
Results 1 to 4 of 4

Lookup on text values that are not 100% identical

  1. #1
    Registered User
    Join Date
    12-31-2019
    Location
    Ternat, Belgium
    MS-Off Ver
    365
    Posts
    15

    Lookup on text values that are not 100% identical

    Hello!

    Surely someone can solve this one!

    In sheet 1 you will find a customer list (customer & their customer number) & I need to find for each customer their tarif in sheet 2. In sheet 2 you will find a list of customers without customer number but with their tarif. Moreover, in 2 cases the customer name is not a 100% identical (only the first part).

    How can I solve this?

    Best regards, DOJA
    Attached Files Attached Files
    Last edited by Doja; 11-29-2020 at 05:19 AM.

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Lookup on text values that are not 100% identical

    Please try at C2

    =VLOOKUP(LEFT(B2;FIND(" ",B2&" ")-1)&"*";Blad2!$A$2:$B$8;2;0)
    Attached Files Attached Files

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Lookup on text values that are not 100% identical

    This seems to cover it:

    =IFERROR(VLOOKUP(IFERROR(LEFT(B2,FIND(" ",B2)-1),B2&"*"),Blad2!$A$2:$B$8,2,0),VLOOKUP(B2,Blad2!$A$2:$B$8,2,0))

    You may need to replace commas with semi-colons for your locale.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    12-31-2019
    Location
    Ternat, Belgium
    MS-Off Ver
    365
    Posts
    15

    Re: Lookup on text values that are not 100% identical

    Thnx for solving this problem! great!

+ 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. Need help with a lookup on multiple identical values please
    By dgarber in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-11-2019, 03:55 PM
  2. Returning Multiple Identical Lookup Values
    By hysterical.useless in forum Excel General
    Replies: 4
    Last Post: 12-07-2018, 02:06 AM
  3. [SOLVED] Sum of identical values/text in different tab
    By Thinker8 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-30-2013, 12:30 AM
  4. Vlookup for case with identical lookup values?
    By lopata in forum Excel General
    Replies: 2
    Last Post: 05-10-2011, 08:46 AM
  5. Lookup with multiple identical values
    By Bnkeane in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-24-2008, 09:12 AM
  6. Lookup of identical values?
    By TobbeGardner in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-05-2006, 05:55 PM
  7. Counting number of identical values (or text) in a range
    By Excelerate-nl in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-29-2005, 05:05 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