+ Reply to Thread
Results 1 to 3 of 3

Vlookup and Substitute - Combine

  1. #1
    Registered User
    Join Date
    09-07-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    54

    Vlookup and Substitute - Combine

    Hello,

    I'm trying to convert the results of a vlookup from 828xxxxx, 828zzzzz etc to just xxxxx, zzzzz etc. So, I just want to take the 828 out. I have tried combining the substitute function with the vlookup but I can't get it to work.

    =VLOOKUP($B13,'ESR - Dowload'!$A:$W,20,FALSE)

    The above lookup brings in the information e.g 828xxxx

    =SUBSTITUTE(N13, 828, " ")

    If I copy the values into another column and then use the above formula I will get an output e.g xxxx

    How can I combine the above formula into one? I have tried numerous ways but just get error messages.

    Any idea?

  2. #2
    Registered User
    Join Date
    07-15-2015
    Location
    South East England
    MS-Off Ver
    2010 & 2013
    Posts
    72

    Re: Vlookup and Substitute - Combine

    Not sure without the data but try,

    =SUBSTITUTE(VLOOKUP($B13,'ESR - Dowload'!$A:$W,20,FALSE),"828"," ")

  3. #3
    Registered User
    Join Date
    09-07-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    54

    Re: Vlookup and Substitute - Combine

    Thanks, works 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. [SOLVED] How to combine Upper Left and substitute in one formula?
    By MI3operations in forum Excel General
    Replies: 4
    Last Post: 03-20-2015, 02:26 PM
  2. Substitute in a vlookup
    By cbh35711 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-20-2015, 09:59 AM
  3. [SOLVED] Evaluate non-blank, substitute and combine
    By Atticus_Finch in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-30-2013, 04:53 PM
  4. [SOLVED] Combine VLOOKUP and SUBSTITUTE Functions?
    By nobodyukno in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-03-2013, 11:00 AM
  5. How to combine multiple substitute functions?
    By ron_b_michigan in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-03-2012, 11:15 AM
  6. VLookup Substitute
    By RM1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-31-2011, 04:03 PM
  7. VLookup Substitute
    By sabunabu in forum Excel General
    Replies: 5
    Last Post: 03-27-2008, 07:47 PM

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