+ Reply to Thread
Results 1 to 2 of 2

Calculating time to fix

  1. #1
    Registered User
    Join Date
    09-30-2011
    Location
    southampton, england
    MS-Off Ver
    Excel 2003
    Posts
    1

    Question Calculating time to fix

    Hi

    Hopefully someone can assist.

    I have a worksheet that shows a job per row. I need to calculate the time to fix the job in business hours monday to friday.

    For example:

    A1 contains Date and time Reported
    D1 contains Date resolved or could be blank if not yet resolved

    Business hours are 09:00 to 17:00 - need a formula to calculate the time to fix if D1 is not blank.

    Thanks in advance

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Calculating time to fix

    Try this

    =IF(D1<>0,(NETWORKDAYS(A1,D1)-2)*8/24+MOD(A1,1)-"9:00"+MOD(D1,1)-"9:00","")
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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