I have a spreadsheet that lists service calls for one of our customers. That customer has several locations that my company services. My manager has asked me to set up a formula that will calculate the time in minutes between service calls for each location. My spreadsheet lists the location (a site number assigned to that location by my company), the date and time the call was completed (two separate columns), and the date and time the call was initiated (again, two separate columns). I need to look down this list find the locations that match and calculate the times between calls.
Here is an example of my spreadsheet:
Location -- Contact Date -- Contact Time -- Complete Date --Complete Time
1 ---------- 2/12/13 -------- 8:00 AM ------- 2/12/13 -------- 8:30 AM
2 ---------- 2/12/13 -------- 12:00 PM ------ 2/13/13 -------- 8:00 AM
1 ---------- 2/13/13 -------- 5:00 PM ------- 2/13/13 -------- 5:15 AM
2 ---------- 2/14/13 -------- 8:00 AM ------- 2/14/13 -------- 8:30 AM
I need to add a column that will show 1950 minutes for Location 1 and 1440 minutes for Location 2 (the minutes between the complete time of the first call to contact time of the second call). The locations will not be listed together. The calls go in consecutive order for the customer. Any assistance you can provide would be greatly appreciated.
Here is an example of my spreadsheet:
Location -- Contact Date -- Contact Time -- Complete Date --Complete Time
1 ---------- 2/12/13 -------- 8:00 AM ------- 2/12/13 -------- 8:30 AM
2 ---------- 2/12/13 -------- 12:00 PM ------ 2/13/13 -------- 8:00 AM
1 ---------- 2/13/13 -------- 5:00 PM ------- 2/13/13 -------- 5:15 AM
2 ---------- 2/14/13 -------- 8:00 AM ------- 2/14/13 -------- 8:30 AM
I need to add a column that will show 1950 minutes for Location 1 and 1440 minutes for Location 2 (the minutes between the complete time of the first call to contact time of the second call). The locations will not be listed together. The calls go in consecutive order for the customer. Any assistance you can provide would be greatly appreciated.