Forum Discussion
anupambit1797
Sep 13, 2024Iron Contributor
Condtional Statements
Dear Experts, Greetings! I have a data like below(A1:E17), In Column "F" , I need an output like this:- Tried with IF, but too lengthy.. could you please shar...
- Sep 13, 2024
anupambit1797 You need TEXTJOIN() with FILTER().
=TEXTJOIN(",",1,FILTER($B$1:$E$1,B2:E2="yes",""))To make it dynamic spill array use BYROW().
=BYROW(B2:E17,LAMBDA(r,TEXTJOIN(",",1,FILTER($B$1:$E$1,r="yes",""))))See the attached file.
Harun24HR
Sep 13, 2024Bronze Contributor
anupambit1797 You need TEXTJOIN() with FILTER().
=TEXTJOIN(",",1,FILTER($B$1:$E$1,B2:E2="yes",""))To make it dynamic spill array use BYROW().
=BYROW(B2:E17,LAMBDA(r,TEXTJOIN(",",1,FILTER($B$1:$E$1,r="yes",""))))
See the attached file.
- anupambit1797Sep 13, 2024Iron Contributor