+ Reply to Thread
Results 1 to 6 of 6

More levels of nesting needed

  1. #1
    Registered User
    Join Date
    02-28-2013
    Location
    Clinton Twp., MI
    MS-Off Ver
    Excel 2003
    Posts
    14

    More levels of nesting needed

    I am in the process of a pretty ugly formula right now that requires me to show 11 different "IF" scenarios but I cannot seem to go over 8. I get the following error message:

    "The specified formula cannot be entered because it uses more levels of nesting than are allowed in the current file format"

    Anything I can do to work around this?

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: More levels of nesting needed

    Hi,

    Usually when you find yourself nesting anything more than half a dozen IF statements you should consider other options. Often a VLOOKUP table will work or failing that a well structured macro.

    Post your workbook with details of what you want to achieve if you want more specific advice.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    02-28-2013
    Location
    Clinton Twp., MI
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: More levels of nesting needed

    So essentialy the rates that I need referenced are on the worksheet "Age Bands" and I need those rates to pull into the "census data" according to each indivdual person's appropriate age category in column "I"


    Thanks in advance for your help!
    Attached Files Attached Files

  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
    53,048

    Re: More levels of nesting needed

    Hi

    1st, change the table on sheet1 so that it starts at 0, 25, 30 etc (the lower end of the scale), and ends in 100

    and then use this, copied down in sheet2 I2 (I used K2 so I could compare)...
    =VLOOKUP(H2,'Age Bands'!$A$2:$B$12,2,1)
    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

  5. #5
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: More levels of nesting needed

    Something like this:

    Please Login or Register  to view this content.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: More levels of nesting needed

    Hi,

    See attached
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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