# Thread: Count Dates in a List of dates for every employee for every month

1. ## Count Dates in a List of dates for every employee for every month

Hi Experts,
I need a formula to arrive at number days that an employee has worked in a given month. There may be three or four customer visits he would have done on a single day, but the count for days has to be taken as 1 only like his attendance. Ex: if there are 3 entries of 02/01/2021 for Engineer A then the count of date should be 1 only for that month.
03-06-2021 13-29-33.jpg

The engineer column and arrive date columnsNSP DUMP-Y1 2020.xlsx are highlighted in the attached file, please support with a formula to arrive each engineer worked days in that month.

Raj

2. Pivot table

3. Hi Mana,
Pivot table is not the solution, i have figured it out myself. =SUM(IF(FREQUENCY(IF(Engineer=A4,Worked_Days),Worked_Days),1)) has given me result.

Raj

4. Thank you for sharing the solution. I'm sure it will help many people.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•