+ Reply to Thread
Results 1 to 4 of 4

If, ISNA and Vlookup

  1. #1
    Registered User
    Join Date
    05-13-2013
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2010
    Posts
    39

    If, ISNA and Vlookup

    Guys,

    I'm using

    =IF(ISNA(VLOOKUP(LEFT(RIGHT(B3,10),7),Sheet1!$A$2:$B$1390,2,FALSE))," ",VLOOKUP(LEFT(RIGHT(B3,10),7),Sheet1!$A$2:$B$1390,2,FALSE))

    I am expecting it to lookup a value (B3) with the table referenced above. They will either come back with I, II or III or N/A.

    I have had to do the right() and Left() to shave down a longer number eg xxxxxxx1234xx to just 1234 to tally up with the information given in the sheet.

    The problem is that every thing is coming back as " ".

    If I manually do the search then I find the items do exist within the sheet as I,II or III.


    can someone give me a pointer as to where i've gone wrong on this?

  2. #2
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: If, ISNA and Vlookup

    if you need a number as criteria
    =IF(ISNA(VLOOKUP(--LEFT(RIGHT(B3,10),7),Sheet1!$A$2:$B$1390,2,FALSE))," ",VLOOKUP(--LEFT(RIGHT(B3,10),7),Sheet1!$A$2:$B$1390,2,FALSE))
    This will change text to number.
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

  3. #3
    Registered User
    Join Date
    05-13-2013
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: If, ISNA and Vlookup

    Thanks,

    thats what I was missing. Sorted now.

  4. #4
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: If, ISNA and Vlookup

    You are welcome.

+ 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. If Isna vlookup help
    By michaelpair in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-26-2013, 03:43 PM
  2. [SOLVED] Using IF ISNA VLOOKUP
    By liza_ri in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-31-2012, 12:04 PM
  3. IF(ISNA on vlookup.
    By macke in forum Excel General
    Replies: 2
    Last Post: 06-09-2010, 08:30 AM
  4. ISNA and vlookup
    By jbwizoz in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-21-2008, 05:16 PM
  5. vlookup, IF, and ISNA
    By MMBOLI in forum Excel General
    Replies: 2
    Last Post: 08-17-2006, 11:53 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