+ Reply to Thread
Results 1 to 4 of 4

nested if

  1. #1
    Registered User
    Join Date
    06-24-2013
    Location
    Manila Philippines
    MS-Off Ver
    Excel 2016
    Posts
    39

    nested if

    is there a way to increase the number of nested if statements form 7 I am using excel 2010

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: nested if

    Hi there,

    The following link might be helpful in providing a workaround for this limitation:


    Hope this helps.

    Regards,

    Greg M

  3. #3
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: nested if

    Hi,

    Up to 64 nested IFs can be used in a formula if you are using Excel 2007 or above.

    https://support.office.com/en-us/art...c-aa8bbff73be2

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: nested if

    Before trying to nest more than 7 IF's (and yes, 2010 can manage that easily), I would 1st question why there is a need for nesting that deep?

    Although a deeply nested set if IF statements may look impressive, it is hard to follow, hard to expand, and can be hard to trouble-shoot. Often there are other/better/simpler ways do do this sort of thing - a smnall table with a VLOOKUP or INDEX/MATCH comes to mind.

    What exactly are you trying to do here?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Easier Way To Decipher Nested Nested IF's
    By Vladamir in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-06-2015, 03:37 PM
  2. [SOLVED] Nested Sumif's or how to sum data based on nested criteria
    By dlietz in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-07-2014, 11:36 AM
  3. How to reduces Nested IF code(144 Nested IF) to achive same functionality
    By jobseeker in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-09-2014, 09:45 AM
  4. Replies: 0
    Last Post: 10-01-2012, 05:54 AM
  5. Next without For error in nested loop - Escaping a Nested Loop?
    By BeneRich in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-10-2012, 06:38 PM
  6. For each loop nested; getting stuck on one cell in first iteration of nested loop
    By Excel_vba in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-22-2009, 11:54 AM
  7. help on a nested countif/nested if formula
    By vickiemc in forum Excel General
    Replies: 2
    Last Post: 08-13-2008, 08:29 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