First of all, thank you very much! That already helps, but it's not yet exactly what I need. However, I think that the solution is close.
This step creates exactly two rows per entry. What (I guess) I need is one row per month, so I believe we need a loop that iterates for the number of months that are between the start date and the end date. Then, the column "Monthly Share" should contain the portion of days that fall in this month. For instance, there should only be one line for Lisa with a value of 0.5 for monthly share, because there are only 15 days between the start date and the end date.
Secondly, but this should be easy to fix, the new column "Monthly Share" needs to be multiplied with the existing column "Project Share", so that the correct value is shown in the pivot table. So in my mind, "Project Share" stands for the percentage that a person is engaged in a project (e.g., 1.0=full time; 0.4=40% of working time); this parameter is given. "Monthly Share" stands for portion of the month that needs to be count (e.g. 0.5 for half a month); this parameter is calculated.
Bookmarks