+ Reply to Thread
Results 1 to 3 of 3

Can I have Vlookup by the first two number?

  1. #1
    Forum Contributor
    Join Date
    08-14-2012
    Location
    USA
    MS-Off Ver
    Excel 2007, MS 365 (Windows 10 Pro 64-bit)
    Posts
    810

    Can I have Vlookup by the first two number?

    Hello All,
    Can I have a code of Vlookup

    =IF(B1=0,"",IF(D1=55,"ERROR",H1)) while the real 55 is 55-xxxxxxxxx-xx.

    Regards,
    tt3
    Last edited by tuongtu3; 12-14-2012 at 02:24 PM. Reason: Solved

  2. #2
    Forum Contributor
    Join Date
    08-23-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    163

    Re: Can I have Vlookup by the first two number?

    Hi,

    Using LEFT(D1,2)*1 instead of D1 might help...

    =IF(B1=0,"",IF(LEFT(D1,2)*1=55,"ERROR",H1))
    Last edited by [email protected]; 12-14-2012 at 03:44 AM.

  3. #3
    Forum Contributor
    Join Date
    08-14-2012
    Location
    USA
    MS-Off Ver
    Excel 2007, MS 365 (Windows 10 Pro 64-bit)
    Posts
    810

    Re: Can I have Vlookup by the first two number?

    Hi Nested,
    Thank you very much for your time and help. It works.

    Regards,
    tt3

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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