+ Reply to Thread
Results 1 to 7 of 7

calculate downtime on a running timesheet

  1. #1
    Registered User
    Join Date
    01-06-2016
    Location
    Kansas
    MS-Off Ver
    2013
    Posts
    9

    calculate downtime on a running timesheet

    Hello experts. Please help. I need to calculate downtime (number of hours) on a timesheet. Not sure how to do this... see sample file attached.

    downtime sample.xlsx

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: calculate downtime on a running timesheet

    It would help if you manually put in what you think the downtimes would be in your example file. Also, a description of how you calculate it would not go amiss.

    Pete

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,698

    Re: calculate downtime on a running timesheet

    Suggest you explain in simple English what you are trying to achieve. From your thread and worksheet, it is not clear. While many here have exceptional excel skills, mind reading is not among the skills. Tell us specifically what you are trying to do.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    01-06-2016
    Location
    Kansas
    MS-Off Ver
    2013
    Posts
    9

    Re: calculate downtime on a running timesheet

    OK, my apologies. Thank you for taking the time to review. Downtime = # of hours from last date worked Time Out (column C) to current date Time In (column B). Additional explanation and expected values included in attached.

    downtime sample v2.xlsx

  5. #5
    Valued Forum Contributor
    Join Date
    12-28-2014
    Location
    NSW, Australia
    MS-Off Ver
    MS365
    Posts
    606

    Re: calculate downtime on a running timesheet

    Try this in E10 and copy down:

    =((A10+B10)-(A9+C9))*24+IF(B10="",24,0)+IF(B9="",E9-24,0)

    Edit: too many paranthesis...this looks a little neater.

    =(A10+B10-A9-C9)*24+IF(B10="",24,0)+IF(B9="",E9-24,0)
    Last edited by Beamernsw; 01-08-2016 at 02:51 AM.

  6. #6
    Registered User
    Join Date
    01-06-2016
    Location
    Kansas
    MS-Off Ver
    2013
    Posts
    9

    Re: calculate downtime on a running timesheet

    Fantastic. Brilliant. This is exactly what I need. Thank you!

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,698

    Re: calculate downtime on a running timesheet

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Any ideas how to calculate timesheet?
    By pecukevicius in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-16-2015, 09:09 AM
  2. Replies: 2
    Last Post: 01-18-2013, 11:47 AM
  3. Calculate downtime between two dates exclude weekends
    By annice in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-09-2012, 07:19 AM
  4. Calculate Add'l Hours on Timesheet per day
    By FMGSCG in forum Excel General
    Replies: 7
    Last Post: 04-29-2010, 01:47 PM
  5. Timesheet formula calculate
    By esaafielham in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-12-2007, 07:59 AM
  6. timesheet with running total of overtime
    By kimmyrt in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-26-2005, 03:06 PM
  7. timesheet with running totals of overtime
    By kimmyrt in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-24-2005, 09:06 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