+ Reply to Thread
Results 1 to 3 of 3

Find Min Time taking 24hrs into account

  1. #1
    Registered User
    Join Date
    03-04-2011
    Location
    Sheffield
    MS-Off Ver
    Excel 2003
    Posts
    19

    Find Min Time taking 24hrs into account

    Hi all,

    Attached is my spreadhseet i am using to schedule arrivals/departures.

    In cell J3 i am look for a formaul to find the earlier time in column F, these time occure both before and after midnight ie. 19:30 is earlier than 01:00 in terms of a arrivals for a night shift.

    Any help would be much appreciated.

    Thanks
    Kiktuo

    Timings Example.xlsx

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Find Min Time taking 24hrs into account

    Apologies Im probably missing a trick here but how will the code know when a shift starts/ends to be able to calculate the earliest times?
    If someone has helped you then please add to their Reputation

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Find Min Time taking 24hrs into account

    Please find the modifications I made to your uploaded file.

    I added days from your Day column to accommodate the times after midnight/before midnight values in column F. The formula in J3 is then:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    This must be array-entered by committing with Ctrl + Shift + Enter. Excel will insert {}'s around your formula....visible in the formula bar. You do not type these in yourself. You'll likely have to adjust the row heights in row 3 accordingly.

    Hope this helps.
    Attached Files Attached Files

+ 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. [SOLVED] Time add of 24hrs+
    By pr4t3ek in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-30-2013, 06:43 AM
  2. Replies: 3
    Last Post: 03-09-2012, 08:19 AM
  3. Taking into account lead times ...
    By Turvy86 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-30-2009, 02:25 PM
  4. [SOLVED] Taking in account additional rows
    By JB12 in forum Excel General
    Replies: 3
    Last Post: 12-27-2005, 02:10 PM
  5. how to add time above 24hrs...
    By Bill R. in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 12-09-2005, 02:00 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