Extract unique values but also exclude names from another column

alirezae90

New Member
Joined
Jan 20, 2019
Messages
8
Hi everyone,

I have a list of names on E10:E1000 and I am creating a list of unique values on this list using the function below.

=IFERROR(INDEX(!$E$10:$E$1000, MATCH(0,COUNTIF($C$16:C16,!$E$10:$E$1000), 0)),"")

However, I would like to exclude from this list a range of names that are in column C3:C10.

Can anyone help on amending the above formula to create a dynamic list of unique names that would exclude the names in column C3:C10?

Many thanks,
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Try

=IFERROR(INDEX($E$10:$E$1000, MATCH(0,IF(E$10:E$1000<>"",ISNUMBER(MATCH(E$10:E$1000,C$3:C$10,0))+COUNTIF($C$16:C16,$E$10:$E$1000)), 0)),"")
Ctrl+Shift+Enter

Hope this helps

M.
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,730
Members
448,987
Latest member
marion_davis

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