Formula work great, until I copying it another sheet.
The formula works great with FILTER, it produces a list of the values it finds matches with "x".
It tells which colors for each month where the "X" has been added.
=TEXTJOIN(CHAR(10),TRUE,FILTER(A:A,(INDIRECT((CHAR(64+MATCH(B10,A1:Y1,0)))&":"&(CHAR(64+MATCH(B10,A1:Y1,0)))))="x"))
When I copying the formula to a Newsheet, I get a #CALC! error, the modified formula. The Input H2 is done on the new Sheet. I disected the formula, cant find the issue.
=TEXTJOIN(CHAR(10),TRUE,FILTER(Color!B:B,(INDIRECT((CHAR(64+MATCH(Newsheet!H2,Color!A1:Y1,0)))&":"&(CHAR(64+MATCH(Newsheet!H2,Color!A1:Y1,0)))))="x"))
Sheet: Color
The formula works great with FILTER, it produces a list of the values it finds matches with "x".
It tells which colors for each month where the "X" has been added.
=TEXTJOIN(CHAR(10),TRUE,FILTER(A:A,(INDIRECT((CHAR(64+MATCH(B10,A1:Y1,0)))&":"&(CHAR(64+MATCH(B10,A1:Y1,0)))))="x"))
When I copying the formula to a Newsheet, I get a #CALC! error, the modified formula. The Input H2 is done on the new Sheet. I disected the formula, cant find the issue.
=TEXTJOIN(CHAR(10),TRUE,FILTER(Color!B:B,(INDIRECT((CHAR(64+MATCH(Newsheet!H2,Color!A1:Y1,0)))&":"&(CHAR(64+MATCH(Newsheet!H2,Color!A1:Y1,0)))))="x"))
Sheet: Color
A | B | C | D | E | F | |
1 | Januari | Februari | March | April | May | |
2 | red | x | x | |||
3 | orange | x | ||||
4 | yellow | x | x | |||
5 | green | x | x | |||
6 | blue | x | x | |||
7 | indigo | x | x | x | ||
8 | violet | x | x | x | ||
9 | ||||||
10 | Input: | Januari |