client would like "year by year snapshot" of headcount within company, assume that even if the start and end date was 1/2/2019 - 1/2/2020 that the person would count for 2019 and 2020. In the below example, i would need to summarize this contractor as counting for each 2017,2018,2019,2020,2021,2022 and 2023.
the data looks like this:
assignment # | name | start date | end date
1 | Darkwing Duck | 1/4/2017 | 3/4/2018
2 | Darkwing Duck | 4/20/2018 | 5/20/2019
3 | Darkwing Duck | 6/10/2019 | 7/8/2021
4 | Darkwing Duck | 8/4/20222 | 8/11/2023
the data looks like this:
assignment # | name | start date | end date
1 | Darkwing Duck | 1/4/2017 | 3/4/2018
2 | Darkwing Duck | 4/20/2018 | 5/20/2019
3 | Darkwing Duck | 6/10/2019 | 7/8/2021
4 | Darkwing Duck | 8/4/20222 | 8/11/2023