0

I have two named ranges that are dynamic in length that I would like to combine into one range with just the unique values from the two. In other words, I essentially am hoping to get a union of the two ranges and then get the unique values. Below is a small toy example to demonstrate. I'm hoping to find a solution without using VBA, etc.

Two dynamic named ranges:

First Named Range

Second Named Range

And the desired result would be:

Resultant Named Range

ErrorJordan
  • 611
  • 5
  • 15

1 Answers1

3

With Microsoft 365 you can try-

=UNIQUE(FILTERXML("<t><s>"&TEXTJOIN("</s><s>",TRUE,name1,name2)&"</s></t>","//s"))

enter image description here

Harun24hr
  • 30,391
  • 4
  • 21
  • 36