In the attached example file where in sheets “Peter”, “John”, “Albert” I inserted the following formula in B4,C4 (October), B42,C42 (November)
=transpose(query({Planning!A3:DT3};"Select "&ArrayFormula(join(", ";text(query(transpose({column(Planning!BM3:DT3);mod(column(Planning!BM3:DT3)-column(Planning!BM3);2)});"Select Col1 where Col2=0");"Col0")))))
I should insert formula in 35 sheets for six mounth planning. How to loop this formula in a function?
https://docs.google.com/spreadsheets/d/1P6Nu90yQQWCdi4Bq14gVXpdZh_TMFsSxxtGjbrmZizU/edit?usp=sharing