+ Reply to Thread
Results 1 to 4 of 4

On time, late, early if statement

  1. #1
    Registered User
    Join Date
    04-05-2016
    Location
    England
    MS-Off Ver
    Office 2016
    Posts
    1

    On time, late, early if statement

    Hi,

    I am trying to create an IF statment to show LATE, EARLY, and ON TIME but I want a grace period of 30mins

    CURRENTLY I have.

    Please Login or Register  to view this content.
    DATA:
    Please Login or Register  to view this content.

    Any helps would be great.
    Last edited by TehJonny; 04-05-2016 at 04:42 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,856

    Re: On time, late, early if statement

    Try this:

    =IF(Y18>(X18+30),"Late",IF(Y18<X18,"Early","On Time"))
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: On time, late, early if statement

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).


    Cross-posted: http://www.mrexcel.com/forum/excel-q...statement.html

  4. #4
    Forum Contributor
    Join Date
    01-18-2013
    Location
    Prague
    MS-Off Ver
    Excel 2013
    Posts
    159

    Re: On time, late, early if statement

    I've adjusted AliGW formula. If 30 is stated as number, excel will conceder it as 30 day period, not as 30 minutes.

    =IF(Y19>(X19+TIME(0,30,0)),"Late",IF(Y19<X19,"Early","On Time"))

+ 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: 6
    Last Post: 05-20-2023, 01:07 AM
  2. formula for Early login Time & Late Login Time
    By Rushendra in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-03-2016, 10:22 AM
  3. Time Caculations late/early and summary
    By tobiahr in forum Excel General
    Replies: 9
    Last Post: 06-10-2015, 09:33 PM
  4. Replies: 6
    Last Post: 05-07-2015, 12:53 PM
  5. [SOLVED] Graph to chart how many times different vendors are early, on time, or late...
    By ekf23 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 04-18-2014, 03:46 PM
  6. Formula to Display Notification LATE, EARLY, ON TIME
    By Daryl10 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-12-2014, 06:27 PM
  7. [SOLVED] IF function: Early/On Time/Late Time vs. set window of time
    By hclark579 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-21-2014, 05:37 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