I've spent a fair bit of time trying to figure this out with no luck. I suspect at least part of it can't be done with multi-select columns but I'm sure some of you good people can school me on this.
I'm trying to join the values of 6 multi-select columns on one sheet into a single column on a separate sheet. Cells can be blank, and I want to leave the blanks out of the JOIN/COLLECT.
The ideal result would be one cell on the target sheet that lists all of the values from the 6 multi-select columns in the corresponding row of the source sheet; and it lists them as multi-select values (in the gray bubbles).
I've created two sample sheets with just three multi-select columns to try and make it easier to help me:
On the source sheet you can see in the "Combined" column that I'm able to JOIN/COLLECT all the values from the Color, Sheen and Coats column.
Formula:
=JOIN(COLLECT(Color@row:Coats@row, Color@row:Coats@row, NOT(ISBLANK(@cell))), ", ")
For multiple values in one column, the "Combined" column correctly displays them as separate multi-select values, but when it's combining across columns it inserts the ", " and treats the two values as one multi-select value. So, my questions here are:
- Can I combine all the values across those three columns and display them all as separate multi-select values in the "Combined" column
- Is there any way to make it display the combined values in the order they appear across the columns, rather than alphabetically?
Moving to the Target Sheet, I'm trying to do the JOIN/COLLECT by referencing the Color, Sheen and Coats column as a single range and then matching the row on the Room column.
Formula:
=JOIN(COLLECT({Paint Details}, {Room}, Room@row, {Paint Details}, NOT(@cell = "")), ", ")
This gets me an "Incorrect Argument Set" error. Is it even possible to do what I want with a cross-sheet reference, or is there just a problem with my formula? If it's not possible then I can always just pull the "Combined" column from the source sheet into the target sheet.