+ Reply to Thread
Results 1 to 4 of 4

Nested IF, AND, ISNA, VLOOKUP

  1. #1
    Registered User
    Join Date
    12-19-2018
    Location
    Chicgao, IL, USA
    MS-Off Ver
    2013
    Posts
    3

    Question Nested IF, AND, ISNA, VLOOKUP

    Good Morning, I have been struggling to come up with a way to do what I need to do.

    I have a Sheet A that I am trying to run an IF statement, where IF sheet A/Column A matches the Vlookup on Sheet B/Column A, AND Sheet A/Column B="Yes", my result is either YES or NO (Where N/A is also going to Equal NO).

    I have tried multiple iterations of the nesting, but can't get it to work.

    =IF(AND(ISNA(VLOOKUP(A1,'sheetB!A:A,1,FALSE)"NO"),B1="Yes"),"YES","NO")

    Anyone have any ideas for how to make this work?
    Last edited by gamiller1977; 12-19-2018 at 12:03 PM. Reason: Resolved

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,883

    Re: Nested IF, AND, ISNA, VLOOKUP

    May be...
    =IF(ISNUMBER(MATCH(A1,SheetB!A:A,0))*(B1="Yes"),"Yes","No")
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Registered User
    Join Date
    12-19-2018
    Location
    Chicgao, IL, USA
    MS-Off Ver
    2013
    Posts
    3

    Lightbulb Re: Nested IF, AND, ISNA, VLOOKUP



    I just figured it out, I was trying too hard with the ISNA and should have used the IFERROR function.

    =IFERROR(IF(AND(VLOOKUP(A1,'sheetB'!A:A,1,FALSE),B1="Yes"),"YES","NO"),"NO")

  4. #4
    Registered User
    Join Date
    12-19-2018
    Location
    Chicgao, IL, USA
    MS-Off Ver
    2013
    Posts
    3

    Re: Nested IF, AND, ISNA, VLOOKUP

    While I did figure out the issue, I tried using this and it did not work.

+ 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] Getting #N/A on a nested multi IF(ISNA statement
    By Groovicles in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-17-2014, 10:01 AM
  2. Nested If Statement - ISNA issue
    By Bearack in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-06-2013, 11:44 AM
  3. [SOLVED] Need help with a nested IF with an ISNA (I think)
    By nighthalcyon in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-25-2013, 05:13 PM
  4. Streamlining nested IF/ ISNA
    By boatbabe in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-25-2011, 10:26 AM
  5. Nested If's/VLOOKUP/ISNA
    By dagindi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-30-2011, 08:36 AM
  6. Excel 2007 : Nested IF, AND IF, ISNA IF.. Arghhh
    By myvlturbo in forum Excel General
    Replies: 3
    Last Post: 06-26-2010, 12:00 AM
  7. nested if statment - needs if(isna
    By techiemom60 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-27-2006, 03:00 PM

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