Excel Magic Trick 1111: Item In Both Lists? Extract With Better Array Formula

preview_player
Показать описание


See how to extract items in List 2 that are also in List 1 using a great array formula from Exceli Adam at YouTube that uses the functions IF, INDEX, MATCH and AGGREGATE.

MATCH contains a function argument array operation that creates a resultant array of items that AGGREGATE can handle without having to use Ctrl + Shift + Enter.
Рекомендации по теме
Комментарии
Автор

Excel Magic Trick 1111: Item In Both Lists? Extract With Better Array Formula 
Great Trick from Exceli Adam at YouTube!!

excelisfun
Автор

I will need to complete this excercise a number of times, I would also like to be able compare sets to each other, ie, in Set A, B&C there are 200 duplicates, in Set A&C there are 50 and so on.

MichaelByrneWX
Автор

I would like to see this done with dynamic arrays. I can create a dynamic drop down menu on my data, create a dropdown menu that is based off the option chosen in that first dropdown and create array lists based off those selection and would like to be able to compare those 2 arrays (which can both change depending on the selections) and return those in the second that are not in the first without having to fill a column of formulas to do it.

dankoft
Автор

Ingenuity
But 2007 what is the solution
I wish writing functions on comment the video

Reduce_Scan
Автор

Is there a formula for this with three lists?. I have three databases with a combined 18k customers and have extracted the duplicates as follows:
1 - Created 'unique' codes by joining first 3 letters of name with DOB as follows "MIC24/04/2014" in column A and a database code in column B to represent the data source
2 - Copied the three lists into
3 - Used conditional formatting to highlight dupliciates and filtered list by color
4 - Copied and pasted values to new list
5 - Used advanced filters to create a unique list

MichaelByrneWX
Автор

how about this as another aggregate match for who is not in the list:
=IF(ROWS(K$6:K7)>$E$6, "", INDEX($C$6:$C$16, AGGREGATE(15, 6, (--ISNA(MATCH($C$6:$C$16, $A$6:$A$14, 0)))*MATCH($C$6:$C$16, $C$6:$C$16, 0), ROW())))    you could use ROWS($G$6:G6)-1+$E$6 just so happens that its the 6th row so row() evaluates to 6

Love these videos

excelfan