+ Reply to Thread
Results 1 to 4 of 4

Hi I'm new - need help with VLOOKUP & LEFT or alternative

  1. #1
    Registered User
    Join Date
    06-08-2022
    Location
    USA
    MS-Off Ver
    2016
    Posts
    4

    Hi I'm new - need help with VLOOKUP & LEFT or alternative

    Hello,

    I'm trying to have a cell look to the left, identify the fist digit and lookup/return an assigned shop, office, etc..
    LEFT by its self would work. however, it lacks flexibility and by the 3rd shop (and may more to go) it was getting too lengthy.

    "=IF(LEFT(B3,1)="1", "Body", IF(LEFT(B3,1)="2", "Glass shop", IF(LEFT(B3,1)="3", "Interior", "X")))"

    I've tried to use LEFT in conjunction with VLOOKUP but I keep getting errors.

    "=VLOOKUP(LEFT(B5,1),B$13:C$19,2,FALSE)"

    Please help - Where did I go wrong? I'm also open to alternatives - maybe INDEX & MATCH.
    (Hope I did the attachment thing right.)

    Thanks!
    Attached Files Attached Files
    Last edited by Little Tree; 06-08-2022 at 04:49 PM.

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: Hi I'm new - need help with VLOOKUP & LEFT or alternative

    Please Login or Register  to view this content.
    Try this formula
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  3. #3
    Registered User
    Join Date
    06-08-2022
    Location
    USA
    MS-Off Ver
    2016
    Posts
    4

    Re: Hi I'm new - need help with VLOOKUP & LEFT or alternative

    It works now - Thanks!

  4. #4
    Valued Forum Contributor
    Join Date
    05-15-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    901

    Re: Hi I'm new - need help with VLOOKUP & LEFT or alternative

    Something else to consider if you start working with larger datasets.. look at replacing vlookup with index/match.. alot quicker
    If you find the suggestion or solution helpful, please consider adding reputation to the post.

+ 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. Alternative to using LEFT,MID,RIGHT
    By ExceltheBell in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-21-2021, 05:28 PM
  2. Alternative to VLookup
    By timco in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-07-2021, 08:44 AM
  3. [SOLVED] Vlookup dosent work from right to left, whats my alternative?
    By Clooney003 in forum Excel General
    Replies: 2
    Last Post: 08-17-2017, 05:21 PM
  4. Alternative to Vlookup?
    By C_P in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-06-2013, 07:19 AM
  5. [SOLVED] VLOOKUP from right to left in closed workbook - not possible? Any alternative?
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-02-2013, 01:41 AM
  6. [SOLVED] VLookup Alternative
    By chrisio in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-22-2012, 03:01 PM
  7. Replies: 4
    Last Post: 07-16-2010, 10:06 AM

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