Calculating Average Time Between Rows in a Range of Non-Consecutive Rows

aferoz

New Member
Joined
Sep 23, 2014
Messages
1
This may be a simple question, but I've been having trouble getting to the correct result. I have a spreadsheet of production data. I've created a macro that will loop through a list of workers and filter based on the date and the worker. I then calculate some summary statistics for each worker. One of the columns, I'm working with is the time that each job was started. So for example:


Confirmation time
8:39:11 AM
8:52:04 AM
8:52:29 AM
9:08:48 AM
9:09:29 AM
9:10:03 AM
9:11:09 AM
9:20:51 AM




I want to calculate the average time between all rows, aka consecutive orders. I was thinking this may be just a simple standard deviation, but the results don't seem right...
The main problem I'm running into is that these rows are not consecutive since the spreadsheet was filtered.


Any guidance or suggestions would be much appreciated.
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Copy the filtered data to another sheet. In the example below that's Sheet4.
Excel Workbook
AB
1Confirmation timeDiff in Minutes
28:39:11 AM
38:52:04 AM12.88
48:52:29 AM0.42
59:08:48 AM16.32
69:09:29 AM0.68
79:10:03 AM0.57
89:11:09 AM1.10
99:20:51 AM9.70
10Average in minutes5.95
Sheet4
 
Upvote 0

Forum statistics

Threads
1,213,543
Messages
6,114,236
Members
448,555
Latest member
RobertJones1986

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top