I think either I'm overthinking things, or this simply isn't possible. Unfortunately the xl2bb addin doesn't seem to like my computer and crashes Excel when I try to run it, so I'll do my best to explain what I have and what I want.
Firstly, I have a sequence function that creates a list of dates between a defined start and end date.
Secondly, I have individual tasks that have their own start and end dates, with a spill array marks the start date as "M", the end date as "C" and the delayed end date as "X".
What I'd ideally like to include is a spilled count formula (effectively a total) that reviews this data and counts the number of M, X and C in each column, e.g. Counts column F, and automatically spills to the final column in line with the other spills formulae. Obviously a countif works great for a single column, but if it's possible, I'd like to spill the count formula so that it automatically populates the top of each column, for as many columns as there are days.
Is this possible?!
Firstly, I have a sequence function that creates a list of dates between a defined start and end date.
- =SEQUENCE(1,(B5-A5+1),DATE(YEAR(A5),MONTH(A5),DAY(A5)))
- Note: A5 = project start date, B5 = project end date.
Secondly, I have individual tasks that have their own start and end dates, with a spill array marks the start date as "M", the end date as "C" and the delayed end date as "X".
- =IF($A2=F$1#,"M",IF(ISBLANK($C2),IF($B2=F$1#,"C",""),IF($C2=F$1#,"C",IF($B2=F$1#,"X",""))))
- Note: A2 is the task start date, B2 is the task end date, and C2 is the delayed end date.
- I also have a count of days between start and finish (D2) and a count of weekdays (E2).
- Rows are repeated in line with the number of tasks.
What I'd ideally like to include is a spilled count formula (effectively a total) that reviews this data and counts the number of M, X and C in each column, e.g. Counts column F, and automatically spills to the final column in line with the other spills formulae. Obviously a countif works great for a single column, but if it's possible, I'd like to spill the count formula so that it automatically populates the top of each column, for as many columns as there are days.
Is this possible?!