+ Reply to Thread
Results 1 to 8 of 8

Formula Can't be Entered as it used more than 64 Levels of Nesting - Help!

  1. #1
    Registered User
    Join Date
    11-25-2015
    Location
    London
    MS-Off Ver
    Office Pro 2010
    Posts
    2

    Formula Can't be Entered as it used more than 64 Levels of Nesting - Help!

    Hi,

    I've seen this on various forums, with answers/solutions but i am struggling to apply the solution to my formula specifically... Here is the formula i am trying to do

    =IF(AND($B$32="April",$B$36="2012"),C20,IF(AND($B$32="May",$B$36="2012",D20,IF(AND($B$32="June",$B$36="2012",D20,IF(AND($B$32="July",$B$36="2012",D20,IF(AND($B$32="August",$B$36="2012",D20,IF(AND($B$32="September",$B$36="2012",D20,IF(AND($B$32="October",$B$36="2012",D20,IF(AND($B$32="November",$B$36="2012",D20,IF(AND($B$32="December",$B$36="2012",D20,IF(AND($B$32="January",$B$36="2012",D20,IF(AND($B$32="February",$B$36="2012",D20,IF(AND($B$32="March",$B$36="2012",D20,IF(AND($B$32="April",$B$36="2013",D20,IF(AND($B$32="May",$B$36="2013",D20,IF(AND($B$32="June",$B$36="2013",D20,IF(AND($B$32="July",$B$36="2013",D20,IF(AND($B$32="August",$B$36="2013",D20,IF(AND($B$32="September",$B$36="2013",D20,IF(AND($B$32="October",$B$36="2013",D20,IF(AND($B$32="November",$B$36="2013",D20,IF(AND($B$32="December",$B$36="2013",D20,IF(AND($B$32="January",$B$36="2013",D20,IF(AND($B$32="February",$B$36="2013",D20,IF(AND($B$32="March",$B$36="2013",D20,IF(AND($B$32="April",$B$36="2014",D20,IF(AND($B$32="May",$B$36="2014",D20,IF(AND($B$32="June",$B$36="2014",D20,IF(AND($B$32="July",$B$36="2014",D20,IF(AND($B$32="August",$B$36="2014",D20,IF(AND($B$32="September",$B$36="2014",D20,IF(AND($B$32="October",$B$36="2014",D20,IF(AND($B$32="November",$B$36="2014",D20,IF(AND($B$32="December",$B$36="2014",D20,IF(AND($B$32="January",$B$36="2014",D20,IF(AND($B$32="February",$B$36="2014",D20,IF(AND($B$32="March",$B$36="2014",D20,IF(AND($B$32="April",$B$36="2015",D20,IF(AND($B$32="May",$B$36="2015",D20,IF(AND($B$32="June",$B$36="2015",D20,IF(AND($B$32="July",$B$36="2015",D20,IF(AND($B$32="August",$B$36="2015",D20,IF(AND($B$32="September",$B$36="2015",D20,IF(AND($B$32="October",$B$36="2015",D20,IF(AND($B$32="November",$B$36="2015",D20,IF(AND($B$32="December",$B$36="2015",D20,IF(AND($B$32="January",$B$36="2015",D20,IF(AND($B$32="February",$B$36="2015",D20,IF(AND($B$32="March",$B$36="2015",D20,IF(AND($B$32="April",$B$36="2016",D20,IF(AND($B$32="May",$B$36="2016",D20,IF(AND($B$32="June",$B$36="2016",D20,IF(AND($B$32="July",$B$36="2016",D20,IF(AND($B$32="August",$B$36="2016",D20,IF(AND($B$32="September",$B$36="2016",D20,IF(AND($B$32="October",$B$36="2016",D20,IF(AND($B$32="November",$B$36="2016",D20,IF(AND($B$32="December",$B$36="2016",D20,IF(AND($B$32="January",$B$36="2016",D20,IF(AND($B$32="February",$B$36="2016",D20,IF(AND($B$32="March",$B$36="2016",D20)))))))))))))))))))))




    I want it to look at the month and then the year and the return a cell value

    Hopefully you can help!

    Cheers

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,620

    Re: Formula Can't be Entered as it used more than 64 Levels of Nesting - Help!

    If I understand correctly all combinations return D20 except the first?

    Then =IF(AND($B$32="April",$B$36="2012"),C20,d20)

  3. #3
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Formula Can't be Entered as it used more than 64 Levels of Nesting - Help!

    Even if they were all different, I would push through a INDEX(MATCH,MATCH) on a lookup table; months on one axis and years on the other, populate the table with links to the master values. Much cleaner to maintain, debug, and update.
    Click the [* Add Reputation] Button to thank people for help!
    Post Attachment: Click [Go Advanced] under the reply box; then click [Manage Attachments] to launch the attachments dialogue.
    Mark Thread Solved: Go to the top of the first post; Select [Thread Tools] dropdown; Pick the [Mark thread as Solved] option.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Formula Can't be Entered as it used more than 64 Levels of Nesting - Help!

    Even if it is possible with 64 if forumula's I advice you to choose for a differant solution, since it is not easy to amend and not easy to understand.

    As already offered in #3 you could use index/match.

    You get better help if you add a small excel file without confidential information.

    Please also add the expected result manualy in the excel file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  5. #5
    Registered User
    Join Date
    11-25-2015
    Location
    London
    MS-Off Ver
    Office Pro 2010
    Posts
    2

    Re: Formula Can't be Entered as it used more than 64 Levels of Nesting - Help!

    Capture11.JPG

    see image...

    i want to see a return of the values depending on the orange cells

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Formula Can't be Entered as it used more than 64 Levels of Nesting - Help!

    You get better help if you add a small excel file without confidential information.

    Please also add the expected result manualy in the excel file.

  7. #7
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,690

    Re: Formula Can't be Entered as it used more than 64 Levels of Nesting - Help!

    Agree with those who've already said to post a sample. But based on what your images in post #5 I would recommend you consider an HLOOKUP.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Formula Can't be Entered as it used more than 64 Levels of Nesting - Help!

    Something like this should solve your problem

    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    N
    O
    P
    32
    Month June April May June July August September October November December January February March
    33
    2012
    34
    2013
    35
    2014
    123
    36
    Year
    2014
    2015
    37
    2016
    38
    39
    123
    =INDEX(E33:P37,MATCH(B36,D33:D37,0),MATCH(B32,E32:P32,0))
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. Replies: 3
    Last Post: 03-28-2015, 06:24 PM
  2. Error: The formula cannot be entered because there is over 64 levels of nesting
    By oleb84 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-30-2013, 03:52 PM
  3. Replies: 4
    Last Post: 08-05-2012, 04:21 PM
  4. Formula Uses More Levels Of Nesting Than Are Allowed In Current File Format
    By tronix_Country in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-16-2012, 07:39 PM
  5. Formula cannot be entered due to too much nesting
    By paulr24 in forum Excel General
    Replies: 7
    Last Post: 02-07-2012, 03:28 PM
  6. too many levels of nesting
    By gss in forum Excel General
    Replies: 7
    Last Post: 04-02-2009, 09:01 PM
  7. Replies: 3
    Last Post: 07-19-2007, 08:28 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