Monthly and Weekly Distinct Count

Status
Not open for further replies.

rickster97

New Member
Joined
May 12, 2022
Messages
5
Office Version
  1. 2019
Platform
  1. Windows
Hi,

I want to calculate unique customers / week, such that, when I add them up I get the same number of unique customers / month.

I have the following PowerPivot table:
1652359512883.png


Total customers (took distinct count of customer ID) per month were:
1) January (ene): 1
2) February (feb): 28
3) March (mar): 219
4) April (abr): 416

I actually made a Week Column (Columna 1) in the original database but it still doesn't work the way I need it to (red numbers are the sum of all weeks for a given month):
1652360239456.png


I understand that I get a total of 30 for February because there were 30 purchases made by 28 clients.
What I would like to be able to get sort of "automatically" is the following:

Total Unique Clients February:
Week 1: 5
Week 2: 9
Week 3: 6
Week 4: 8
Total: 28

I actually figured a manual 4-step approach to get weekly results but it is not practical given the amount of data I have to analyze.
Contrary to most videos I don't want to delete the total or make the total 30 (February). I want the total to remain 28 (February), so that each week only includes customers that made their first purchase of the month during that week.

Can anyone help please?
Thanks in advance.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Duplicate to: Monthly and Weekly Distinct Count

In future, please do not post the same question multiple times. Per Forum Rules (#12), posts of a duplicate nature will be locked or deleted.

In relation to your question here, I have closed this thread so please continue in the linked thread.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,223,909
Messages
6,175,310
Members
452,634
Latest member
cpostell

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