+ Reply to Thread
Results 1 to 3 of 3

Help needed on how to combine LEFT into a VLOOKUP formula

  1. #1
    Registered User
    Join Date
    10-07-2014
    Location
    Norwich, England
    MS-Off Ver
    365
    Posts
    58

    Help needed on how to combine LEFT into a VLOOKUP formula

    Hello

    I have a spent a while trying to figure this out, but can't quite get my head around how I incorporate the LEFT function into a VLOOKUP formula so that it only returns the first letter of the value it's returning.

    My formula is..

    =IF(A6="","",VLOOKUP(A6,'Portfolio Overview'!C:G,5,FALSE))

    And some of the possible values it can return are 'Discretionary' or 'Sustainability'. Where do I add the LEFT function to this to make it only pull back 'D' or 'S'?

    Really appreciate anyone's help..

    Regards
    Tom

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Help needed on how to combine LEFT into a VLOOKUP formula

    Try this:

    =IF(A6="","",LEFT(VLOOKUP(A6,'Portfolio Overview'!C:G,5,FALSE)))

    If you only want 1 letter, there is no need to specify the 1.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    10-07-2014
    Location
    Norwich, England
    MS-Off Ver
    365
    Posts
    58

    Re: Help needed on how to combine LEFT into a VLOOKUP formula

    Cheers, Pete - works perfectly.

    Regards
    Tom

+ 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. Formula needed to combine cells from 2 speadsheets...
    By tmoney729 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-04-2013, 09:58 AM
  2. [SOLVED] VBA Code needed for introducing a CHAR on the left side of a cell with formula
    By alchavar in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 05-29-2013, 12:25 AM
  3. Please help Vlookup Left Len Match and Right in a formula
    By phdtobe in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-25-2013, 05:49 AM
  4. [SOLVED] Combine VLOOKUP, LEFT, and ISNA to pull area code, place state, leave out #VALUE's?
    By chonchos in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-27-2013, 12:27 PM
  5. VLookup after using the Left/Right formula
    By cassidyb in forum Excel General
    Replies: 2
    Last Post: 11-14-2011, 10:47 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