Results 1 to 5 of 5

Nested IF statements returning 'FALSE' on time check

Threaded View

  1. #1
    Registered User
    Join Date
    08-30-2022
    Location
    London
    MS-Off Ver
    2016
    Posts
    1

    Nested IF statements returning 'FALSE' on time check

    Cross-posted at https://www.mrexcel.com/board/thread...check.1215144/

    I am trying to write a formula to show the below:

    General rule: If actual (C2) or forecast (B2) time is less than start time (A2) + 15mins then return status (D2) "on track", if its more than or equal to start time + 15mins then return status "late"

    What I am trying to also include is a rule to check if actual time is 'blank' then use the rule against forecast time but if actual time is filled then over-ride the forecast time formula and check against actual time instead. I've written the below formula but is returning 'FALSE' when i have filled in actual time. Please help!

    =IF(C2="",IF(B2<A2+TIME(0,15,0),"On track",IF(B2>=A2+TIME(0,15,0),"Late",IF(C2<A2+TIME(0,15,0),"On track","Late"))))

    Screenshot 2022-08-30 173116.jpg
    Last edited by 6StringJazzer; 08-30-2022 at 02:25 PM. Reason: added xpost link

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Nested if statements comparing four columns getting a FALSE result
    By Bevg in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-29-2020, 04:30 PM
  2. [SOLVED] NESTED IF returning false
    By VicAC in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-24-2019, 06:18 AM
  3. Getting rid of false result from nested if statements
    By jmenzel30 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-31-2018, 06:56 AM
  4. Nested IF Statement returning False
    By pranjal79 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-25-2016, 12:23 PM
  5. [SOLVED] Nested IF statements are returning FALSE values - cannot find error in code!
    By apex_chio in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-03-2013, 11:01 PM
  6. Nested IF returning FALSE value help
    By crash884 in forum Excel General
    Replies: 3
    Last Post: 08-13-2013, 01:31 PM
  7. Excel 2007 : Nested IF Statements - Tracing a False Result?
    By jackinthebox in forum Excel General
    Replies: 2
    Last Post: 04-13-2010, 09:18 PM

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