Unique 2nd List

palaeontology

Active Member
Joined
May 12, 2017
Messages
412
Office Version
  1. 2016
Platform
  1. Windows
This isn't a request to make one 'uniques' list combining all contents from two lists ... it's slightly different.

I have the following 2 Lists ... called List A and List B ...

excel screen grab.JPG


I need a formula to remove from List B (to make a new List called 'Revised List B') any numbers that are also found in List A ... so the '2' and the '7' would be removed to leave just '1' and '4'

I don't want List A adjusted in any way, and I'm not looking to merge the two lists into one 'Uniques' list.

I'm not looking for a way to do it using the filter button within the Excel ribbon ... I need the solution to this to be a formula .(not VBA) .... if at all possible.

Any help on this would be much appreciated.

Kind regards,

Chris
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
65,618
Office Version
  1. 365
Platform
  1. Windows
How about
+Fluff 1.xlsm
ABCDEFGHIJKLMNOPQ
1
223679124714 
3
Summary
Cell Formulas
RangeFormula
O2:Q2O2=IFERROR(INDEX($I$2:$L$2,AGGREGATE(15,6,(COLUMN($I$2:$L$2)-COLUMN($I$2)+1)/(ISNA(MATCH($I$2:$L$2,$A$2:$E$2,0))),COLUMNS($O2:O2))),"")
 

palaeontology

Active Member
Joined
May 12, 2017
Messages
412
Office Version
  1. 2016
Platform
  1. Windows
That worked brilliantly Fluff, thankyou so much.

I'll have to teach myself the Aggregate function ... definitely a new one to me.

Very kind regards,

Chris
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
65,618
Office Version
  1. 365
Platform
  1. Windows
You're welcome & thanks for the feedback.
 

Forum statistics

Threads
1,147,574
Messages
5,741,901
Members
423,693
Latest member
Excelquestion35

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
Top