+ Reply to Thread
Results 1 to 5 of 5

too many nested levels for current file format

  1. #1
    Guest
    Join Date
    01-02-2015
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    30

    too many nested levels for current file format

    I'm new to complex formuls, this formula returns the error, if i remove any of the if lines it works ok, i can't seem to combine it all together.
    this is a helper cell in a table, it shows 1 if error or 10 if ok, then i use conditional formatting icon set to show a cross or tick depending on the result.

    If it's the file type how can i fix that - SaveAs what ?

    It's checking for cells that have an error, are blank, H8<=0 J8< 0.04097, if times are between 6:30am and 6:30pm, and if those times are a multiple of 15 minutes


    =IF(OR(ISERROR(H8),ISERROR(I8),ISERROR(O8),ISERROR(P8)),1,
    IF(OR(ISBLANK(A8),ISBLANK(C8),ISBLANK(D8),ISBLANK(E8),ISBLANK(F8)),1,
    IF(OR(MOD(MINUTE(C8),15)>0,MOD(MINUTE(D8),15)>0,MOD(MINUTE(E8),15)>0,MOD(MINUTE(F8),15)>0),1,
    IF(OR((H8)<=0,(J8)>0.04097),1,
    IF(AND((C8)<0.270833333,(C8)>0.770833334),1,
    IF(AND((D8)<0.270833333,(D8)>0.770833334),1,
    IF(AND((E8)<0.270833333,(E8)>0.770833334),1,
    IF(AND((F8)<0.270833333,(F8)>0.770833334),1,10))))))))

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,469

    Re: too many nested levels for current file format

    Post the workbook.

    You could probably use OR to combine all those AND conditions.

    Save as XLSX

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: too many nested levels for current file format

    Isn't all of that more or less equivalent to something like this?

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Guest
    Join Date
    01-02-2015
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    30

    Re: too many nested levels for current file format

    I have solved it, work now, i even addad some more conditions.

    =IF(OR(ISBLANK(A8),ISBLANK(C8),ISBLANK(D8),ISBLANK(F8),ISBLANK(F8),MOD(MINUTE(C8),15)>0,MOD(MINUTE(D8),15)>0,MOD(MINUTE(E8),15)>0,MOD(MINUTE(F8),15)>0,(H8)<=0,(C8)>(D8),(D8)>(E8),(E8)>(F8),ISERROR(H8),ISERROR(I8),ISERROR(O8),ISERROR(P8)),1,IF(AND((C8)<0.270833333,(C8)>0.770833334),1,IF(AND((D8)<0.270833333,(D8)>0.770833334),1,IF(AND((E8)<0.270833333,(E8)>0.770833334),1,IF(AND((F8)<0.270833333,(F8)>0.770833334),1,10)))))

  5. #5
    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,939

    Re: too many nested levels for current file format

    Another way to simplify that, would be to start with testing for the largest value 1st, then the 2nd largest etc - you wont need to use the AND() at all
    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. ...more levels of nesting than are allowed in teh current file format
    By DExceler in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-25-2014, 12:54 PM
  2. 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
  3. Nested levels of functions
    By Fixa in forum Excel General
    Replies: 4
    Last Post: 10-19-2011, 03:47 AM
  4. IF function with 14 nested levels
    By Dan Fingerman in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 AM
  5. IF function with 14 nested levels
    By Dan Fingerman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-05-2005, 01:05 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