+ Reply to Thread
Results 1 to 4 of 4

TOo Many Nested Allowed in IF statement

  1. #1
    Registered User
    Join Date
    04-02-2014
    Location
    Nelson Newzealand
    MS-Off Ver
    Excel 2013
    Posts
    1

    TOo Many Nested Allowed in IF statement

    Hi Fellas..
    Im recieving an error saying that i have too many levels of nesting for my formula

    Is there any way to rewrite the formula i have here?

    =if(I1>99,0.5,
    if(I1>89,0.45,
    if(I1>79,0.4,
    if(I1>69,0.35,
    if(I1>59,0.3,
    if(I1>49,0.25,
    if(I1>39,0.2,
    if(I129,0.15,
    if(I1>19,0.1,
    if(I1>9,0.05,"TOO SMALL TO SELL"))))))))))

    Kindly Britney

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2407 (Windows 11 23H2 64-bit)
    Posts
    82,890

    Re: TOo Many Nested Allowed in IF statement

    I'd create a lookup formula for something like this.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    01-25-2014
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    434

    Re: TOo Many Nested Allowed in IF statement

    does your formula contain this: " if(I129,0.15, "
    where it should be, " if(I1>29,0.15, "

    may have just been an error on when you put the formula onto this post

  4. #4
    Forum Contributor
    Join Date
    01-25-2014
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    434

    Re: TOo Many Nested Allowed in IF statement

    Hi Britney

    AliGW suggested using a lookup instead of all those nested if's

    This is what it would look like if you didn't want to use a table to store the values

    Please Login or Register  to view this content.
    Regards

    32
    Last edited by ThirtyTwo; 04-03-2014 at 11:30 AM.

+ 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] Nested IF Statement
    By frogz2564 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-24-2013, 01:48 AM
  2. [SOLVED] Nested If Statement - ISBLANK and ISNA in same statement?
    By Janc in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-23-2013, 09:00 AM
  3. Nested IFs and error message "uses more levels of nesting than allowed"
    By pannassi in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-09-2012, 11:48 AM
  4. Replies: 6
    Last Post: 01-14-2009, 06:59 PM
  5. [SOLVED] How many levels of an IF statement is allowed within a Nested IF?
    By Rick in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-28-2006, 11:10 AM

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