+ Reply to Thread
Results 1 to 2 of 2

Working hours VS lead times

  1. #1
    Registered User
    Join Date
    06-05-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2010
    Posts
    4

    Working hours VS lead times

    Hi everyone,

    I have a database which captures requests that I receive with starting dates such as: 06-05-2019 6:50:11 AM
    Then, I have a workflow with different steps to complete the requests. For each of the steps, my system captures the time I spent on each of them in seconds:
    Step 1: 751 seconds
    Step 2: 8967 seconds
    Etc.

    The problem is that there are office hours that the system does not take into consideration (from 8am to 12, from 1pm to 5pm, from Monday to Friday).
    If I receive a request on Thursday 4pm and that the step 1 is completed on Monday 10am, the system considers the remaining 8 hours of Thursday + 72 hours for Friday, Saturday & Sunday + 10 hours for Monday = 90 hours of work in total.
    So I would like to extract the actual number of hours which were needed, meaning 1 hour on Thursday, 8 hours on Friday, and the 2 hours on Monday = 11 hours in this example.

    Any idea of a formula which could help me?

    Many thanks!

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Working hours VS lead times

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

+ 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: 10
    Last Post: 03-25-2022, 03:47 AM
  2. Calculate working hours between two dates/times
    By Drscott21 in forum Excel General
    Replies: 2
    Last Post: 04-03-2018, 12:55 PM
  3. [SOLVED] VBA Macro to run every day at specific times, only working for 24 hours.
    By fcoArturo in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-23-2015, 10:47 AM
  4. VBA to work out Working Hours between 2 times in the same TextBox.
    By JRidge in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-31-2014, 09:10 AM
  5. Calculate lead time based on available working hours
    By Nu2Java in forum Excel General
    Replies: 6
    Last Post: 07-11-2014, 03:04 PM
  6. Working hours calculation with 4 times
    By IKZOUHETNIETWETEN in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-10-2013, 07:32 AM
  7. [SOLVED] working out lead times with 2 dates
    By NinjaBear in forum Excel General
    Replies: 2
    Last Post: 07-02-2012, 05:04 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