Results 1 to 22 of 22

create a table of dates/times based on weekly shift start and finish times and holidays

Threaded View

  1. #1
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,085

    create a table of dates/times based on weekly shift start and finish times and holidays

    i'm trying to make a list of dates and times based on a table of days of the week and shift start time /stop time also holidays

    if day is blank then no work on that day
    all times can vary

    This is a bit clunky and works OK for what i need to do
    BUT
    it would be useful if i could change any time and the list expand to include those time

    Column I is the table of dates and times - each minute
    row 2 = now()
    row 3 = sets now to a minute with no seconds
    row 4 (I4) is where the formula starts
    looking at the previous day and time compares with the shift table to see if its a saturday or sunday and IF there are any start stop times it inlcludes those shifts
    if not it goes to Monday and looks at the start time and uses that
    otherwise it just works Monday to Friday 24 hours

    just would be useful to put any of the shift times in and have the list generate

    also if its a bankholiday / holidays- look at the next shift and see if that is valid and use that - otherwise move on to the next day and check that
    I have a list of holidays

    I only need the table of minutes to run for a month - so 50,000 rows - this example just has 2000 rows to show a day and the change over , to keep the file small for the forum
    Just drag down to extend

    any suggestions
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Adding work hours based on particular start or finish times
    By RobertM01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-16-2015, 10:28 AM
  2. [SOLVED] Scheduled Start and finish times
    By Kramxel in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-21-2014, 08:03 AM
  3. Replies: 2
    Last Post: 05-15-2014, 09:04 AM
  4. [SOLVED] Calculate between start and finish times to pay a shift penalty
    By jonas245 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-06-2013, 05:46 PM
  5. [SOLVED] use Now() in two cells for start and finish times
    By DaveM in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-04-2006, 07:30 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