+ Reply to Thread
Results 1 to 8 of 8

Work Schedule Dates and Times Problem

  1. #1
    Registered User
    Join Date
    09-06-2013
    Location
    Ireland
    MS-Off Ver
    Excel 2013
    Posts
    4

    Work Schedule Dates and Times Problem

    Hello

    I am trying to create a work schedule based on dates and times using excel 2013.

    A1 = Current Date and Time =NOW()

    A4 = Task Name (text format)
    B4 = Time to complete task (in hh:mm format)
    C4 = Completion date and time (=A1+B4) in dd/mm/yyyy hh:mm format

    This currently works ok, however the dates and times presume I am working 24 hours a day, 7 days a week. I would like C4 to work within my work hours (Monday - Friday, 8.00 - 16.30).

    Example - If the current date and time is Friday 06/09/2013 15:00 and I insert a task that is going to take 4 hours {B4 = 04:00 (hh:mm)}, I would like the completion date and time (C4) result to be Monday 09/09/2013 10:30, (the 4 hour task will take from 15:00 - 16:30 on the Friday, then 8:00 - 10:30 on the Monday).

    Similarly when I add in the next line (Task Name in A5 and Duration in B5) C5 will =C4+B5, again I would like C5 to work within my work hours.


    Can anybody help me with this?
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    09-06-2013
    Location
    Ireland
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Work Schedule Dates and Times Problem

    Does anyone know is it even possible to do what i'm asking above, or is it just wishful thinking?

    Thanks

  3. #3
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Work Schedule Dates and Times Problem

    Hi Cieran
    I am sure it is possible. The challenge is working out the formula to do it .
    I am currently looking at it and will come back to you if I find the solution.
    Tony

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,625

    Re: Work Schedule Dates and Times Problem

    Pl see the attached file with the formula in C4 and dragged down,

    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-06-2013
    Location
    Ireland
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Work Schedule Dates and Times Problem

    Thanks kvsrinivasamurthy, thats a long formula, don't think I could have figured out that one myself! I don't suppose you know if its possible to condition the formula to allow for weekends, or is that asking a bit too much?!

  6. #6
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Work Schedule Dates and Times Problem

    Hi Ciaran
    Please find herewith my solution which takes into account weekends.
    Hope it helps.
    Good luck.
    Tony
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,625

    Re: Work Schedule Dates and Times Problem

    Pl see the attached file.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    09-06-2013
    Location
    Ireland
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Work Schedule Dates and Times Problem

    That's great kvsrinivasamurthy, and thanks for your solution aswell Tony. They will allow me set up my work schedule nicely! Thanks again!

+ 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: 2
    Last Post: 03-02-2013, 10:57 AM
  2. [SOLVED] Date format problem using a formula in VBA to calculate difference between times and dates
    By alicebrewer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-05-2012, 03:13 AM
  3. Calculate Work/Vacation Dates several times in a year
    By rickyilas in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-26-2010, 08:20 PM
  4. help with automating work schedule times
    By waylynjohnston in forum Excel General
    Replies: 0
    Last Post: 08-05-2009, 04:00 AM
  5. Overall design problem for a work schedule
    By JKroha in forum Excel General
    Replies: 0
    Last Post: 08-14-2008, 10:26 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