I have half the formula
=COUNTIFS('Forms output'!C2:J2,"=VACATION")
But need C2;J2 to match =ARRAYFORMULA(IFERROR(INDEX('Forms output'!D$2:D$99967,MATCH($D6&$G$1,'Forms output'!$C$2:$C$99967&'Forms output'!$B$2:$B$99967,0)),""))

and then have G$1 = Each month from "Vacation tracker" C3:N3

thanks