Array formula to return list of unique items from selected columns only

jlawton1

New Member
Joined
Mar 26, 2016
Messages
2
Please help me figure out an array formula to return unique values from certain columns of data.

The source data is on a sheet with columns labeled for different committee groups, i.e.

[TABLE="class: cms_table_grid, width: 500"]
<tbody>[TR]
[TD]Safety[/TD]
[TD]Finance[/TD]
[TD]Social[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]Gail[/TD]
[TD]Steven[/TD]
[/TR]
[TR]
[TD]Betty[/TD]
[TD]Mark[/TD]
[TD]John[/TD]
[/TR]
[TR]
[TD]Bill[/TD]
[TD]John[/TD]
[TD]Mark[/TD]
[/TR]
[TR]
[TD]George[/TD]
[TD]Steven[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


The same names can appear in one or more committee columns.

Another sheet includes a user-selected list of committees, populated using data validation from the range of headers on the source data.

I want to generate a list of unique names included in all of the selected committees. The user could select one or more committees, not necessarily in adjacent columns. The number of columns in the source data will change frequently as committees are formed and disbanded, so the source data would be part of a dynamic named range or table.

I know how to do an array formula to capture unique names from one column or all columns, but I'm stumped on how to capture from only the selected columns.

I am attaching an example spreadsheet with example source data and a dummy column of what I want returned.

Thanks in advance for any advice.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
I just realized I cannot attach a file. Please let me know if you need any more information from me for clarification.
 
Upvote 0

Forum statistics

Threads
1,223,098
Messages
6,170,103
Members
452,302
Latest member
TaMere

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