Reputation: 49
I currently have 6 columns that are populating from another sheet with the query formula, based on column name. I would like to combine these 6 columns into one column, eliminating duplicates, and listing them all in one-singular column. I've tried the following without success:
The catch seems to be that sometimes the columns will be blank. I think google sheets is either reading them as blank and giving me an error, or sees there a query'd set of data and it's unable to retrieve the list.
Upvotes: 3
Views: 9953
Reputation: 9345
This should work, if I'm understanding you correctly:
=QUERY(FLATTEN(A2:F),"WHERE Col1 Is Not Null")
Upvotes: 3