Hi All,
I'm working on an excel spreadsheet and I need to sum the hours between two different times (basically, counting how many hours a call was open - the days open is listed in another column which works fine).
My time is placed into its own column on purpose, I have a "Time Allocated" column and a "Passback" column and I wish to calculate how many hours were between the two times within work hours of 8:30AM and 5:00PM.
EDIT: I forgot I can't actually upload at work so it'll have to wait.. but it's a lot like this:
Call ID Depo Call Type Priority Time Allocated Allocated to us Installs Closed/Reallocated Reall Passback Instances DO HMO
110538 PTCSYD ETS Equipment P4 4:25 PM 14-Jun-2013 17-Jun-2013 2:21 PM 3 21:56
(Just plop it into Excel, tried to format it but it's a ***** on this site. result I'm looking for in the above is 6 hours 26 minutes or something like that)
The formula is for tracking KPI's but the counter stops after 5:00PM until 8:30AM the next morning.
I need to replicate this function in excel so I can assign a priority to them.
The HMO column is where the result should go, so if the call was raised at 3:00PM and we closed it at 9:00am, the HMO Column should only show 2:30.
It also should handle times where the time allocated is minus the passback (because it was raised the previous day or something).
The formula I was using to get the hours (without stopping the count of hours after 5PM to 8:30AM) was:
=IF(Table42[[#This Row],[Time Allocated]]>Table42[[#This Row],[Passback]],IF(Table42[[#This Row],[Time Allocated]]>Table42[[#This Row],[Passback]],Table42[[#This Row],[Passback]]+1-Table42[[#This Row],[Time Allocated]],Table42[[#This Row],[Time Allocated]]-Table42[[#This Row],[Passback]]),IF(Table42[[#This Row],[Passback]]-Table42[[#This Row],[Time Allocated]]=0,"",Table42[[#This Row],[Passback]]-Table42[[#This Row],[Time Allocated]]))
Sorry if this is a long post, not too sure how I'm going to describe it I'm pretty noobish at Excel.
Thanks in advance for any help guys,
Phil
Bookmarks