+ Reply to Thread
Results 1 to 3 of 3

More levels of nesting than allowed

  1. #1
    Registered User
    Join Date
    06-11-2015
    Location
    New Zealand
    MS-Off Ver
    2010
    Posts
    14

    More levels of nesting than allowed

    I have too many levels of nesting. I am sure there is a better way to do this any help would be appreciated.

    =IF(N3="URS",IF(L3<6,"100",IF(L3<12,"80",IF(J3=1,IF((L3-15)<6,"100",IF((L3-15)<12,"80",IF(J3=2,IF((L3-30)<12,"80",IF((L3-30)<24,"50",IF(J3=3,IF((L3-45)<24,"50","FAIL")))))))))))

    Basically if URS jobs are completed in less than 6 hours they get "100" less than 12 "80" less than 24 "50" more than 24 "0" however it is accross working days (8am - 5pm)

    Break down:

    If it is a URS job
    If it is completed in less than 6 hours get 100
    If it is completed in less than 12 hours get 80
    If it is 1 calander day
    If (total hours - 15) is less than 6 get 100
    If (total hours - 15) is less than 12 get 80
    If it is 2 calander days
    If (total hours - 30) is less than 12 get 80
    If (total hours - 30) is less than 24 get 50
    If it is 3 calander days
    If (total hours - 45) is less than 24 get 50
    must be more than 24 hours get FAIL

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    Win10/MSO2016
    Posts
    12,963

    Re: More levels of nesting than allowed

    (How to) Attach a Workbook
    (please do not post pictures or links to worksheets)
    • Click Advanced (next to quick post),
    • Scroll down until you see "Manage Attachments",
    • Click that then select "add files" (top right corner).
    • Click "Select Files" find your file, click "open" click "upload"
    • Once the upload is completed the file name will appear below the input boxes in this window.
    • Click "Done" at bottom right to close the Attachment Manager.
    • Click "Submit Reply"
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    06-11-2015
    Location
    New Zealand
    MS-Off Ver
    2010
    Posts
    14

    Thumbs up Re: More levels of nesting than allowed

    Thanks for the fast reply. By calculating in separate columns DATEDIF & NETWORK DAYS I was able to shorten my formula.

    I'll be sure to post the spreadsheet in the future.

+ 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. 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
  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. Exceeded number of allowed nesting functions
    By cspearman in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-19-2011, 10:13 AM
  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
  8. 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

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