+ Reply to Thread
Results 1 to 4 of 4

need formula or vba for vlookup combination of trim code of 4 except 0

  1. #1
    Forum Contributor
    Join Date
    11-25-2015
    Location
    bangalore
    MS-Off Ver
    2019
    Posts
    120

    need formula or vba for vlookup combination of trim code of 4 except 0

    Dear experts

    i have master in mastertab and want to vlookup into multiple sheet(EMAE,JAPC,US) from cellL11 till end of value in F
    from lookup value of 4 delimited value of trim code after hypeb.

    for E.G Like !! Vlookup(""0062&290001&S0044&0000"",[Master!B$2:E$],4,0) But lookup value in range combination is 0062-290001-0-XM000-0000 extra is ""0"" after second hypen)

    i want formula or code for this action please help on this.

    find the attachment
    Attached Files Attached Files
    Last edited by julielara; 02-26-2016 at 03:35 AM. Reason: missing

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: need formula or vba for vlookup combination of trim code of 4 except 0

    Hi julielara,
    maybe so (in cell N24 sheet 'US')
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    11-25-2015
    Location
    bangalore
    MS-Off Ver
    2019
    Posts
    120

    Re: need formula or vba for vlookup combination of trim code of 4 except 0

    thanks nilen but some cases instead of -0- 6 digit value come like 0062-290001-451425-XM000-0000 that why i want avoid -0- is there possible vlookup without 0 ? any vba code help in this?

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,887

    Re: need formula or vba for vlookup combination of trim code of 4 except 0

    Try

    =IFERROR(VLOOKUP($F24&"-"&$H24&"-0-"&$I24&"-"&$J24,Master!$B$2:$E$1000,4,0),IFERROR(VLOOKUP($F24&"-"&$H24&"-"&$I24&"-"&$J24,Master!$B$2:$E$1000,4,0),""))

+ 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] combination of a Vlookup and If formula
    By top_dog in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-16-2015, 06:02 PM
  2. [SOLVED] Formula need: divide and vlookup combination
    By HerryMarkowitz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-21-2015, 02:17 AM
  3. Use combination of IF and Vlookup formula
    By NehaSureka in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-03-2015, 04:23 PM
  4. Macro code needed for combination of (If,Countif,vlookup)
    By Dharmadme in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-20-2014, 03:58 PM
  5. Formula problem - combination of IF and Vlookup
    By Bowish in forum Excel General
    Replies: 1
    Last Post: 05-29-2012, 02:45 AM
  6. Help with combination of if and vlookup formula
    By Fbs1960 in forum Excel General
    Replies: 9
    Last Post: 11-19-2011, 10:04 PM
  7. Combination of OFFSET & VLOOKUP formula
    By Polymnia in forum Excel General
    Replies: 7
    Last Post: 08-30-2011, 08:48 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