+ Reply to Thread
Results 1 to 9 of 9

calculate time to finish

  1. #1
    Registered User
    Join Date
    02-19-2016
    Location
    EU
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    9

    calculate time to finish

    Hello,

    I'd like to calculate the finishing termin of a process.
    I have a given starting date (time) and the duration of the process itself. It takes some time (eg. 3 days and 12 hrs). The problem is, that we have several breaks during the day and probably weekends or official holidays. Is there a possibility to calculate when exactly the process is finished?

    Thank you in advance.
    Entropie

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

    Re: calculate time to finish

    Just to confirm, are you saying that the entire process could take 84 hours in total to do ie (hypothetically) if one person was to carry out the process non-stop it would take that time to complete but you want to take into account working hours (say 8 hour shifts), weekends etc? ie if that person worked 8 hours per day, 7 days per week then it would take 10.5 days? however they have two 15mins breaks during that 8 hours so that adds another half hour per day on taking it to roughly 11 days? Only work weekdays so that drops 2 days per week etc etc
    If someone has helped you then please add to their Reputation

  3. #3
    Registered User
    Join Date
    02-19-2016
    Location
    EU
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    9

    Re: calculate time to finish

    Yes, your example is quite good. The problem I can’t work around is, that It depends on when the process is started, if more or less weekends / breaks have to be taken into account. Even worse if there are banking holidays they have to be considered too (so I need a holiday calendar).

    All I want to know is when exactly (the minute) the process is finished.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: calculate time to finish

    Try the following formula which assumes the start date and time are in A2, the number of 8 hours duration days is in B2, the number of duration hours are in C2 and holidays are listed in column F (as shown in the graphic below):
    Please Login or Register  to view this content.
    Let me know if you have any questions.
    Excel 2010
    Row\Col
    A
    B
    C
    D
    E
    F
    1
    start days hours finish Holidays
    2
    2/22/2016 8:00
    3
    12
    3/7/2016 12:00
    1/18/2016
    3
    2/15/2016
    Sheet: Sheet1
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    02-19-2016
    Location
    EU
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    9

    Re: calculate time to finish

    Hmmm, close, but not exactly what i wanted.

    Can you tell me how you did the table? I'd like to insert an example, but I'm a little bit confused by the bbcode.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: calculate time to finish

    To give us an example of what you want use the "Go Advanced" button beneath the "Quick Reply" window and upload a copy of your file. Be sure to manually insert your expected result.

  7. #7
    Registered User
    Join Date
    02-19-2016
    Location
    EU
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    9
    I hope this illustrates it a little bit more.

    Btw. Thanks for you efforts.
    Attached Files Attached Files

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: calculate time to finish

    I have researched and trail and errored, and have not been able to come up with a formula. I applied data validation to N13 and made a table that gives the date and time that the task will be completed based on the starting date/time and duration and given the schedule. It is not to hard to extend the schedule (as shown) so perhaps this will be of some use:
    End date and time based on duration of task.xlsx
    Let me know if you have any questions.

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: calculate time to finish

    I came up with at least a partial solution that works the way that you want. I transposed the schedule then put the following formula in K10:AVR10
    Please Login or Register  to view this content.
    The following formula in E10 will then find the column which the duration is reached and return a date/time that matches those in your original file:
    Please Login or Register  to view this content.
    Here is another copy of the file with the above mentioned changes applied to sheet 2:
    End date and time based on duration of task.xlsx
    Let me know if you have any questions.

+ 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. Calculate a finish time given a production rate
    By Florotory in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 02-24-2014, 04:39 AM
  2. [SOLVED] calculate the time elapsed between start and finish dates
    By johnandrews in forum Excel General
    Replies: 1
    Last Post: 12-13-2013, 08:17 AM
  3. [SOLVED] How do i calculate work hours from only a start and finish date and time?
    By transitsolutions in forum Excel General
    Replies: 1
    Last Post: 02-28-2013, 03:39 PM
  4. Calculate finish time given start time, working hours and job duration
    By swanseaexcel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-23-2012, 03:00 PM
  5. Ready Time, Start Time, Finish Time by user
    By teguigala in forum Excel General
    Replies: 3
    Last Post: 02-15-2012, 03:34 PM
  6. Replies: 1
    Last Post: 06-25-2010, 06:57 AM
  7. time:how to work out how to calculate my finish time
    By Crasher in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-15-2006, 04:19 AM
  8. [SOLVED] how to calculate time start & time finish in quarter hour
    By Peter Wu in forum Excel General
    Replies: 3
    Last Post: 06-06-2006, 08:10 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