+ Reply to Thread
Results 1 to 5 of 5

Need help with a nested IF with an ISNA (I think)

  1. #1
    Registered User
    Join Date
    05-31-2013
    Location
    Colorado, US
    MS-Off Ver
    Excel 2007
    Posts
    11

    Need help with a nested IF with an ISNA (I think)

    Hi all, I've attached a sample workbook. I am trying to create one main "master" column of numbers from 7 columns with data in it. Essentially, column 1 has priorty, so if there is something in there, I want to use that. But if there is an #N/A in there, I want to use what is in column 2. If there are #N/A's in columns 1 and 2, then I want to use what is in column 3....and so on.

    I was thinking a combination of IF and ISNA would work, and I can get it to work for 2 columns, but I'm having trouble getting it to work for all 6.

    Sample file attached. Thanks a lot for your help.
    Attached Files Attached Files

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Need help with a nested IF with an ISNA (I think)

    nighthalcyon,

    In cell H2 and copied down:
    Please Login or Register  to view this content.
    Or if you don't mind seeing the #N/A error message if there is no number to return, you can leave off the first part:
    Please Login or Register  to view this content.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: Need help with a nested IF with an ISNA (I think)

    Hi
    Paste the formula below to h2 cell and drag it down
    =INDEX(A2:G2,MATCH(TRUE,IF(NOT(ISERROR(A2:G2)),TRUE),0))

    After entering formula press Ctrl+Shift+Enter, nbot only enter.
    Good luck
    Appreciate the help? CLICK *

  4. #4
    Registered User
    Join Date
    05-31-2013
    Location
    Colorado, US
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Need help with a nested IF with an ISNA (I think)

    Quote Originally Posted by tigeravatar View Post
    nighthalcyon,

    In cell H2 and copied down:
    Please Login or Register  to view this content.
    Or if you don't mind seeing the #N/A error message if there is no number to return, you can leave off the first part:
    Please Login or Register  to view this content.
    Worked perfectly. Thanks very much for your help !!!

    Edit: Looks like I've already repped you for some of your help earlier. But I'll get you again when I can.
    Last edited by nighthalcyon; 07-25-2013 at 04:58 PM.

  5. #5
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Need help with a nested IF with an ISNA (I think)

    You're very welcome
    And I don't really worry about rep too much, your acknowledgement and thanks is more than enough.

+ 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. Adding ISNA to long nested IF statements with vlookups
    By vgately99 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-07-2013, 02:59 PM
  2. Streamlining nested IF/ ISNA
    By boatbabe in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-25-2011, 10:26 AM
  3. Nested If's/VLOOKUP/ISNA
    By dagindi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-30-2011, 08:36 AM
  4. 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
  5. nested if statment - needs if(isna
    By techiemom60 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-27-2006, 03:00 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