Daily Average of Unique Customers Making A Transaction

neadbecker

New Member
Joined
Jan 15, 2009
Messages
43
I have a data set with a list of transactions made by 30k customers this year. Each customer might make anywhere from 1 to dozens of transactions a year. I would like to calculate a daily average of the number of customers who make a transaction on each day of the year. (not worried about how many transactions are made) Some customers may make several transactions a day and some customers may make only a few transactions a month.

I'm trying to figure out how to uniquely count a customer on a day, but count them every day they make a transaction. So far, if I use CountRows(Distinct(customerid)), I get the right count in a pivot table by day, but when i aggregate by week, month, year, i get the total unique customers making a transaction for those time periods.

I figured it must be something with AverageX or Countx Combined with VALUES(), but I just can't get my head around it.

Excel 2013, 64bit
 
Last edited:

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Forum statistics

Threads
1,215,432
Messages
6,124,860
Members
449,194
Latest member
HellScout

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