I'm stuck. I can't find a way to crack this, should be simple.
I have a table with
Rows: customers
Columns: weeks
The data represents the number of orders each customer has made each week (0 and up).
I need to determine the average number of weeks of 'activity' (i.e. purchasing) per customer from first to last order. In other words the number of cells between the first non-zero and the last non-zero, knowing that there may be many weeks between one purchase and another, then more blanks, then more purchases, etc.
Thank you.
I have a table with
Rows: customers
Columns: weeks
The data represents the number of orders each customer has made each week (0 and up).
I need to determine the average number of weeks of 'activity' (i.e. purchasing) per customer from first to last order. In other words the number of cells between the first non-zero and the last non-zero, knowing that there may be many weeks between one purchase and another, then more blanks, then more purchases, etc.
Thank you.