Results 1 to 5 of 5

Determine if shift start/end time falls between times over 24h - more complex

Threaded View

  1. #1
    Forum Contributor
    Join Date
    02-07-2013
    Location
    London
    MS-Off Ver
    Excel 2019
    Posts
    105

    Lightbulb Determine if shift start/end time falls between times over 24h - more complex

    Hi Everyone,
    You know the time when you sit over one piece of formula and you are stuck? That's where I am at now.
    I decided to reach for help.
    I am working an a rota tool which also is to show who is present and when.
    I am struggling with the daily breakdown.
    I have shifts which start say, 20:00 on one date and end 8:00 on the following date.
    I need to show those correctly on the "Daily" sheet.

    Shifts worked : "Schedule" sheet
    List of shifts and corresponding start/end times: "Shifts" sheet.

    My current formula in C5 (same for C5:CT44) is:
    =IFERROR(IF(C$4=MEDIAN(
    INDEX(Time_start,MATCH((INDEX(Schedule!$J9:$AR9,MATCH(Date_dailyselected,Dates_schedule,0))),ShiftNames,0)),
    INDEX(Time_end,MATCH((INDEX(Schedule!$J9:$AR9,MATCH(Date_dailyselected,Dates_schedule,0))),ShiftNames,0)),
    C$4),
    INDEX(Schedule_dpts,MATCH($CX5,Schedule_dpts,0)),0),0)
    attaching sample workbook.

    I hope you will see above this and will be able to help or point me in the right direction.
    Thank You!
    Attached Files Attached Files
    Last edited by annazet; 11-30-2019 at 01:45 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 07-13-2019, 01:12 PM
  2. Replies: 4
    Last Post: 03-02-2016, 02:46 AM
  3. Replies: 2
    Last Post: 07-14-2015, 02:12 PM
  4. Replies: 21
    Last Post: 05-11-2015, 03:53 PM
  5. Determining if a datetime falls within start and end date times
    By migooz in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-25-2013, 03:05 PM
  6. Replies: 6
    Last Post: 08-23-2013, 07:56 AM
  7. Using start and end times to determine elapsed time
    By Lothar69 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-14-2011, 09:25 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