+ Reply to Thread
Results 1 to 6 of 6

Vllookup to find the codes

  1. #1
    Registered User
    Join Date
    01-16-2015
    Location
    Canada
    MS-Off Ver
    365
    Posts
    97

    Vllookup to find the codes

    hi please help me to use vlookup to find the phone codes correct or not
    Attached Files Attached Files

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Vllookup to find the codes

    Try this

    =LEFT(TRIM(SUBSTITUTE(A2,"(","")),3)+0=VLOOKUP(B2,$A$11:$B$16,2,0)
    Cheers!
    Deep Dave

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,044

    Re: Vllookup to find the codes

    Try this...
    =--MID(A2,IF(LEFT(A2,1)="(",2,1),3)=VLOOKUP(B2,$A$11:$B$16,2,0)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    01-16-2015
    Location
    Canada
    MS-Off Ver
    365
    Posts
    97

    Re: Vllookup to find the codes

    Thanks a lot it worked

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,044

    Re: Vllookup to find the codes

    Happy to help and thanks for the feedback

  6. #6
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Vllookup to find the codes

    Glad it helped..

+ 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. vllookup to run a formula
    By jcc5018 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-10-2014, 06:58 PM
  2. Replies: 0
    Last Post: 10-09-2013, 07:59 PM
  3. [SOLVED] vllookup problem
    By Marvo in forum Excel General
    Replies: 16
    Last Post: 11-13-2012, 09:57 AM
  4. Excel 2007 : VLLOOKUP help needed
    By kalles in forum Excel General
    Replies: 1
    Last Post: 04-30-2012, 08:48 AM
  5. Vllookup(Text
    By jamphan in forum Excel General
    Replies: 2
    Last Post: 06-04-2007, 02:30 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