Create Dynamic Unique List from multiple ranges

GuyGadois

Active Member
Joined
Jan 12, 2009
Messages
342
Office Version
  1. 2019
Platform
  1. Windows
I am trying to make one dynamic unique list from multiple ranges (sorted alphabetically).

The code I currently use works fine for one range

Excel Formula:
=IFERROR(INDEX($B$5:$B$170, MATCH(0,COUNTIF(W$4:$W4, $B$5:$B$170), 0)),"")

The originating range is located at $B$5:$B$170 and the dynamic result starts at W5. The need is to include the values from another range and create one dynamic list at W5. The other range is located at $G$5:$G$170. Between the list at $B$5:$B$170 and $G$5:$G$170 I would like to have one dynamic unique list created.

Does anyone know a solution for this?

Cheers,

GG
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Try this in W5 and drag down:

Excel Formula:
=IFERROR(IFERROR(INDEX($B:$B,AGGREGATE(15,6,ROW($B$5:$B$170)/(COUNTIF($W$4:$W4,$B$5:$B$170)=0)/($B$5:$B$170<>""),1)),INDEX($G:$G,AGGREGATE(15,6,ROW($G$5:$G$170)/(COUNTIF($W$4:$W4,$G$5:$G$170)=0)/($G$5:$G$170<>""),1))),"")
 
Upvote 0
Solution
Happy to help! 😎

It's really not terribly complicated, it really just contains a medium complicated formula two times, once for each column. But admittedly, you would probably not stumble on that formula by yourself (I didn't!).
 
Upvote 0

Forum statistics

Threads
1,214,861
Messages
6,121,971
Members
449,059
Latest member
oculus

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top