Problem
I am looking for a way to stack values from multiple columns into one. I need to ensure that all values, including duplicates are added. I'm not too fussed if the order is changed, but all values need to be included. I'm aware of CONCAT
, but I am not attempting to merge multiple columns into one row horizontally, I am attempting to merge them vertically.
Example Table
(I am unable to save this as a table, SO tells me I must format my code, despite it not being code. anyone who has permissions to change this back into a table, I would appreciate it)
A | B | A&B Merge |
---|---|---|
Foo | Cheese | Foo |
Bar | Oranges | Bar |
Baz | Pear | Baz |
Qux | Banana | Qux |
Quux | Grape | Quux |
Corge | Corge | |
Cheese | ||
Oranges | ||
Pear | ||
Banana | ||
Grape |
Summary
I am unsure on how to merge these two columns vertically into one column, instead of combining the data together (I always end up with FooBanana
for example). Any assistance or guidance
would be appreciated.
Extra
I am looking to filter formula the output column. I'm very familiar with FILTER
, and I was just planning on running my FILTER
on the output column, but if there's different way of approaching this problem accounting for the output needing to be put through FILTER
, that would be great, but not necessary.
The stacking will need to be completed in multiple versions of Excel including 2016. The =FILTER
work will be done exclusively within MSO 365.
Thanks!