I have this setup in Google Sheets:
Row 1 is a list of ingredients. Rows 2-6 are specific plans that contain combinations of ingredients A-F - if there is a 1 in the column, it contains the ingredient in the column.
In column H, I want to concatenate the letters in row 1 if there is a 1 underneath it. So the formula I'm looking for in Col H should spit out the following:
- Cell H2 --> A + B
- Cell H3 --> A + C
- Cell H4 --> A + B + D
- Cell H5 --> A + C + D
- Cell H6 --> A
I've tried the TEXTJOIN formula you see in the formula bar but it's not working. Can anyone help with this?
Thanks!