Hello,
Can I ask for Your help ?
I have 2 worksheets. One with person ID number and dates of absence for each ID. In second worksheet i have person ID number and section ID number, with dates for which specific person was attached. Now i have to find number of days for each person and each section. The problem is that druring absence person was moved to other section. The section ID dates are changed but the dates of absence arent split. So if i use coinfifs i will just get the sum of absence for each person, not for each section.
for e.g
Absence between 01.01.2022 – 31.01.2022. During that time for. e.g. from 25.01.2022 to 31.03.2022 he is moved from financial section to HR. I need to find days of absence for financial section which is in this case 25 and for HR – 6 days.
I tried to do this but seems not to work.
Sample data in attachment
Will be really grateful for any tips/help
Edit:
Bookmarks