To count how many people are on vacation each day, and show the counts in row 1, put this formula in H1 and copy to the right:
The conditional formatting use of Plan and PeriodInPlan are IMHO excessively "clever" and I don't really see how PeriodInPlan works. I would use something much simpler that is intuitive to see how it works. It simply looks at the date for that column and determines if it is between the start and end dates for that person's vacation. I have made that change in your file.
All the effort baked in to show day-of-year in column C and row 5 seems useless to me unless you need it for some reason.
Bookmarks