dsauce
dsauce

Reputation: 612

How to combine two dynamic arrays to make one dynamic array in a formula?

I have two columns both with results of individual unique functions, i.e. both columns contain unrelated dynamic arrays. Is there a way I can combine both these dynamic arrays as a single dynamic 2D array and use in a formula?

Example:

Cell A1 = UNIQUE(rng1) Cell B1 = UNIQUE(rng2)

both always return same number of items.

What I want in cell D1 = SORT(A1#:B1#) --> how do I do this combination?

The notation A1#:B1# gives an error.

Upvotes: 0

Views: 4724

Answers (1)

Rory
Rory

Reputation: 34045

You could use:

=SORT(CHOOSE({1,2},A1#,B1#))

Upvotes: 2

Related Questions