Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 216047

Average Days between Purchases

$
0
0

Hi all,

 

I've scanned endless posts trying to find a solution to this, but the ones I've found don't quite adress what I'm looking for. For some reason this is the one thing that continues to stump me. If you have a solution or a link to a thread I missed it would be really appreciated!

 

Here's a very simplified dataset I'm working with:

 

CUSTOMER IDDATE
00701/10/2016
00101/09/2016
00601/09/2016
00301/08/2016
00101/06/2016
00501/04/2016
00401/02/2016
00301/02/2016
00201/01/2016
00101/01/2016

 

I'm trying to find a way to calculate how long each customer has been making purchases with us, which would be the time difference between the first and last time each Customer ID appears in the first column.

 

My more complicated issue is with trying to find the average time between purchases to see how long it takes on average for each customer to shop with us again. In the dataset above for example, Customer 001 takes an average of 4 days to repurchase. 

 


Viewing all articles
Browse latest Browse all 216047

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>