+ Reply to Thread
Results 1 to 3 of 3

Removing a fixed amount of time from a formula that is calculating working hours

  1. #1
    Registered User
    Join Date
    11-19-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    2

    Removing a fixed amount of time from a formula that is calculating working hours

    Hi All,

    Thanks to this forum and the great users here i am currently using a formula to calculate the time lapsed between the time a ticket was opened to the time it was closed.

    the formula is below.

    =IF(J40="","",(NETWORKDAYS(H40,J40,Holidays!$A$1:$A$14)-1)*("18:00"-"07:00")+MOD(J40,1)-MOD(H40,1))

    I am using network days to remove weekends and a set of listed public holidays, i have also set the non working hours. this formula is working wonders.

    However i have now run into a snag, and my understanding of writing forumla's is fairly rusty at this stage to say the least.

    I have now got an incident where we have a ticket that was opened, closed, re-opened and then closed, i can use the formula to calculate the time between the first time it was opened and the last time the ticket was closed, however there are approximately 44 hours of dead time where the ticket was not in my view and was technically closed which i would like to remove from the final calculation.

    Would anyone be able to assist in adjusting the formula above to be able to manually tell the formula to remove 44 hours from the total without having to create multiple new cells

    Kind Regards,

    Gremlin

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: Removing a fixed amount of time from a formula that is calculating working hours

    Hi
    do you mean
    Please Login or Register  to view this content.
    ?

  3. #3
    Registered User
    Join Date
    11-19-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Removing a fixed amount of time from a formula that is calculating working hours

    Thanks very much, thats exactly what i needed, was looking at it in far too complex a matter

+ 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