How to find median/average days between entries (orders) for 50,000 items

Garuda7

New Member
Joined
Oct 4, 2016
Messages
1
9/1/169/2/169/3/169/4/169/5/169/6/169/7/169/8/169/9/169/10/169/11/169/12/169/13/169/14/16
Item 111111
Item 211
Item 3111111

<tbody>
</tbody>

Hello, I was trying to figure out the best way to find the median/average days between entries. So, from the chart above, Item 1 would have an average of 3 days between entries. For Item 2, it would be 11 days. For Item 3, it is more sporadic which would represent more like my actual data. The date row would be for an entire year and the Item column would have more than 50,000 entries. Doing a "=Count over the period" would not be accurate since, say for instance, Item 4 was entered exactly every week for an entire year so it would have 52 entries and an average of 7 days. But, Item 5, was more of a seasonal item that was entered in the fall and spring and had 26 entries respectively; showing 52 entries but an average of 7 days (falsely). I've come across =Subtract, =NetworkDays, =DatedIf functions but haven't come up with a solution. Any help would be great. Thanks!
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
01/01/201508/01/201515/01/201522/01/201529/01/201501/08/201509/08/201517/08/201525/08/201502/09/201510/09/201518/09/201526/09/2015
77771848888888
set arbritary ignore value of 15
10=COUNTIF(A2:M2,"< 15")-1
84=SUMIF(A2:M2,"< 15")
so average gap = 8.4 days

<colgroup><col span="2"><col span="3"><col span="2"><col span="6"><col></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,214,588
Messages
6,120,412
Members
448,959
Latest member
camelliaCase

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