Hi,
I am after some help to count the number of consecutive weeks an individual has been paid. Difficulties with the data set are the duplicates values. I have explored and trialled countifs but haven't been able to incorporate the portion around a consecutive count.
I've included an example dataset for reference:
In this example set, the output should be:
John Doe: 0 or blank
Jane Roe: 2
Tom Lee: 3
Thank you!
I am after some help to count the number of consecutive weeks an individual has been paid. Difficulties with the data set are the duplicates values. I have explored and trialled countifs but haven't been able to incorporate the portion around a consecutive count.
I've included an example dataset for reference:
In this example set, the output should be:
John Doe: 0 or blank
Jane Roe: 2
Tom Lee: 3
Name | Payment Period |
John Doe | 01/07/2020 |
John Doe | 15/07/2020 |
Jane Roe | 01/07/2020 |
Jane Roe | 01/07/2020 |
Jane Roe | 08/07/2020 |
Jane Roe | 08/07/2020 |
Jane Roe | 15/07/2020 |
Jane Roe | 15/07/2020 |
Tom Lee | 08/07/2020 |
Tom Lee | 08/07/2020 |
Tom Lee | 08/07/2020 |
Tom Lee | 15/07/2020 |
Tom Lee | 15/07/2020 |
Tom Lee | 22/07/2020 |
Tom Lee | 29/07/2020 |
Thank you!