Jump to content

merge and de-dup two Lists?


This topic is 5700 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Is there a good way to combine two lists (in the sense of the List function, i.e. a CR-delimited list of text values) and also de-dup them? Order doesn't matter.

So if I started with:

blue

red

yellow

and

green

blue

red

I'd want to end up with

blue

red

yellow

green

I can combine the two with the List function, but that doesn't remove the duplicates. And no, it wouldn't be super easy to put these into a ValueList, I know that would de-dup.

I'm guessing the answer is a custom function. Anyone got one like this?

Thanks!

Link to comment
Share on other sites

This topic is 5700 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.