Hi All,
I have a large dataset with dates of visits and dates of purchases for each customer. The data looks like this:
HTML Code:
I would like to know the "average number of days between first visit and first purchase" for every year (I know data are between 2004-2014 only).
So, in the case of customer no.10 she made a first visit on 17-06-2011 but she made her first purchase on 18-02-2012 -> 246 days later. I would like to know the average days of difference between first visit and first purchase by year. So, I want to be able to say "The time that passed between first visit and first purchase for all customers in 2012 was X amount of days; in 2013 it was Y days, etc.". Remember, each customer has multiple rows of visits and purchases...
I am open to any suggestion! Thanks!!
Bookmarks