Count unique occurrences of specific day

seiyaryu

New Member
Joined
Jan 5, 2022
Messages
4
Office Version
  1. 365
Platform
  1. Windows
I am having trouble creating a formula for a counting the number of unique occurrences of Mondays.
I have a date range that includes multiple entrys of the same date, what i need to know is how many are Mondays without double counting

1641397829140.png
So in the example Monday would return 1, but if i made it for Wednesday, it would return 3.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Hi & welcome to MrExcel.
How about
+Fluff 1.xlsm
ABC
1
210/02/2021Mon1
310/02/2021Wed3
417/02/2021
508/02/2021
608/01/2021
713/10/2021
801/06/2021
908/07/2021
10
Lists
Cell Formulas
RangeFormula
C2C2=COUNT(UNIQUE(FILTER(A2:A10,WEEKDAY(A2:A10,2)=1)))
C3C3=COUNT(UNIQUE(FILTER(A2:A10,WEEKDAY(A2:A10,2)=3)))
 
Upvote 0
thank you that did it. never used filter before. Annoys me that i was so close.
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,213,494
Messages
6,113,986
Members
448,538
Latest member
alex78

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