Closed Thread
Results 1 to 4 of 4

IF condition Nesting limit error

  1. #1
    PKadam
    Guest

    IF condition Nesting limit error

    Hi All,

    I am trying to use the formula to calculate the grades, but i am getting an
    error for exceeding the Nested limits.

    My formula looks like this

    =IF(AA10>89,"A+", IF(AA10>79,"A", IF(AA10>74,"A-", IF(AA10>69,"B+",
    IF(AA10>64,"B", IF(AA10>59,"B-", IF(AA10>54,"C+", IF(AA10>49,"C",
    IF(AA10>44,"C-", IF(AA10>39,"D", IF(AA10>34,"D-", IF(AA10>29,"E",F))))))))))))

    Any suggestions ?

    Thanks in advance.



  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Try this website


    http://www.j-walk.com/ss/excel/usertips/tip080.htm

    You could use & option or prohaps a vlookup

    VBA noob

  3. #3
    CLR
    Guest

    RE: IF condition Nesting limit error

    =LOOKUP(AA10,{0,30,35,40,45,50,55,60,65,70,75,80,90},{"F","E","D-","D","C-","C","C+","B-","B","B+","A-","A","A+"})

    Vaya con Dios,
    Chuck, CABGx3



    "PKadam" wrote:

    > Hi All,
    >
    > I am trying to use the formula to calculate the grades, but i am getting an
    > error for exceeding the Nested limits.
    >
    > My formula looks like this
    >
    > =IF(AA10>89,"A+", IF(AA10>79,"A", IF(AA10>74,"A-", IF(AA10>69,"B+",
    > IF(AA10>64,"B", IF(AA10>59,"B-", IF(AA10>54,"C+", IF(AA10>49,"C",
    > IF(AA10>44,"C-", IF(AA10>39,"D", IF(AA10>34,"D-", IF(AA10>29,"E",F))))))))))))
    >
    > Any suggestions ?
    >
    > Thanks in advance.
    >
    >


  4. #4
    vandenberg p
    Guest

    Re: IF condition Nesting limit error

    Hello:

    Here is an alternative to the lookup function:

    =CHOOSE((AA10>29)+(AA10>34)+(AA10>39)+(AA10>44)+(AA10>49)+(AA10>54)+
    (AA10>59)+(AA10>64)+(AA10>=69)+(AA10>=74)+(AA10>79)+(AA10>89)+1,
    "F","E","D-","D","C-","C","C+","B-","B","B+","A-","A","A+")

    BTW, What happen to D+?


    Pieter Vandenberg


    PKadam <[email protected]> wrote:
    : Hi All,

    : I am trying to use the formula to calculate the grades, but i am getting an
    : error for exceeding the Nested limits.

    : My formula looks like this

    : =IF(AA10>89,"A+", IF(AA10>79,"A", IF(AA10>74,"A-", IF(AA10>69,"B+",
    : IF(AA10>64,"B", IF(AA10>59,"B-", IF(AA10>54,"C+", IF(AA10>49,"C",
    : IF(AA10>44,"C-", IF(AA10>39,"D", IF(AA10>34,"D-", IF(AA10>29,"E",F))))))))))))

    : Any suggestions ?

    : Thanks in advance.



Closed 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