+ Reply to Thread
Results 1 to 5 of 5

Formula for ISNA, vlookup

  1. #1
    Registered User
    Join Date
    12-14-2014
    Location
    UAE
    MS-Off Ver
    2013
    Posts
    21

    Formula for ISNA, vlookup

    Please correct the following formula:

    IF(ISNA(VLOOKUP(P31,$P$16:$U$25,6,FALSE)<>0),0,((L31*-1)-U31))))

    Problem arising: From the table array P16 to P19, if the results are anything but 0, then the cell has to be zero. But this is does not come correctly as some of my cells with this formula are showing numbers inspite of array being <>0.

    Pls help

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,915

    Re: Formula for ISNA, vlookup

    please attach sample file with desired results
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Registered User
    Join Date
    12-14-2014
    Location
    UAE
    MS-Off Ver
    2013
    Posts
    21

    Re: Formula for ISNA, vlookup

    Attached the problem related worksheet.

    I have also changed the formula to solve my problem. The new formula is:
    =(IF(ISNA(VLOOKUP(P32,$P$16:$U$25,6,FALSE)),0,IF(VLOOKUP(P32,$P$16:$U$25,6,FALSE)<>0,0,((L32*-1)-U32))))

    But im always open to better solutions
    Attached Files Attached Files

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,915

    Re: Formula for ISNA, vlookup

    Quote Originally Posted by dino4u86 View Post
    Attached the problem related worksheet.

    I have also changed the formula to solve my problem. The new formula is:
    =(IF(ISNA(VLOOKUP(P32,$P$16:$U$25,6,FALSE)),0,IF(VLOOKUP(P32,$P$16:$U$25,6,FALSE)<>0,0,((L32*-1)-U32))))

    But im always open to better solutions
    i can not understand what you are exactly looking for
    one more thing is the formula "=(IF(ISNA(VLOOKUP(P32,$P$16:$U$25,6,FALSE)),0,IF(VLOOKUP(P32,$P$16:$U$25,6,FALSE)<>0,0,((L32*-1)-U32))))"
    is not found in your attached excel sheet

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,915

    Re: Formula for ISNA, vlookup

    Quote Originally Posted by dino4u86 View Post
    Attached the problem related worksheet.

    I have also changed the formula to solve my problem. The new formula is:
    =(IF(ISNA(VLOOKUP(P32,$P$16:$U$25,6,FALSE)),0,IF(VLOOKUP(P32,$P$16:$U$25,6,FALSE)<>0,0,((L32*-1)-U32))))

    But im always open to better solutions
    i can not understand what you are exactly looking for
    one more thing is the formula "=(IF(ISNA(VLOOKUP(P32,$P$16:$U$25,6,FALSE)),0,IF(VLOOKUP(P32,$P$16:$U$25,6,FALSE)<>0,0,((L32*-1)-U32))))"
    is not found in your attached excel sheet

+ 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] VBA code for change vlookup formula to vlookup formula with ISNA
    By erprasannaa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-12-2013, 03:33 AM
  2. IF, ISNA & VLOOKUP formula optimisation.
    By shutter in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-25-2012, 01:07 AM
  3. Excel 2007 : trouble with vlookup and ISNA formula
    By Gweny in forum Excel General
    Replies: 2
    Last Post: 07-05-2012, 02:22 PM
  4. vlookup, isna & iserror: faster formula
    By avk in forum Excel General
    Replies: 7
    Last Post: 12-03-2010, 01:31 PM
  5. ISNA VLOOKUP Formula Error
    By Strugggler in forum Excel General
    Replies: 3
    Last Post: 05-20-2009, 01:28 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