Excel Magic Trick 1226: Compare 2 Lists, Extract Items In List 2 That are NOT in List 1 (6 Examples)

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • Download Excel Start File: excelisfun.net...
    Download File: excelisfun.net/
    Learn how to Compare 2 Lists, Extract Items In List 2 That are NOT in List 1:
    1. (00:12) Problem Description and Intro To Topic
    2. (01:57) Example 1: Method 1: MATCH function Helper Column, Sort Z to A, Copy and Paste
    3. (04:15) Example 2: Method 2: Advanced Filter and Criteria Area with Empty Field Name and Logical Formula Criteria
    4. (07:59) Example 3: Method 3: Automat Process with Excel 2010 or later Array Formula. See the Functions: IF, ROWS, ROW, MATCH, ISNA, INDEX, AGGREGATE, SUMPRODUCT. This Array Formula does not require Ctrl + Shift + Enter.
    5. (15:29) Why you should NOT use IFERROR on Data Extract Array Formulas
    6. (17:17) Example 4: Method 3: Automat Process with Excel 2007 or before Array Formula. See the Functions: IF, ROWS, ROW, MATCH, ISNA, INDEX, SMALL, SUMPRODUCT. This Array Formula DOES require Ctrl + Shift + Enter.
    7. (18:25) Example 5: Method 2: Extract E-mails in List 1 that are NOT in List 2.
    8. (19:35) Caveat about Advanced Filter: Be sure to NOT have data below Extract Area (because it will be deleted when you run Advance d Filter.
    9. (20:24) Example 6: How to Extract Items that are in BOTH lists: Learn how to slight change the formula for all three methods. Use ISNUMBER rather than ISNA.
    Related Videos for Comparing Two Lists and Extracting Records:
    Other Excel Methods for Comparing Two Lists:
    Excel Magic Trick 1226: Compare 2 Lists, Extract Items In List 2 That are NOT in List 1 (6 Examples)
    • Excel Magic Trick 1226...
    Excel Magic Trick 1229 Extract Items NOT in List 1: Conditional Format Unique Values & Sort by Color
    • Excel Magic Trick 1229...
    Excel Magic Trick 1441: Power Query to Extract Items In List 1 That Are NOT In List 2
    • Excel Magic Trick 1441...
    Excel Magic Trick 1442: DAX Query & EXCEPT Function to Extract Items In List 1 That Are NOT In List 2
    • Excel Magic Trick 1442...

Комментарии • 111

  • @kbell0427
    @kbell0427 Месяц назад +1

    Clear explanations and practical examples made this seemingly complex concept easy to understand and significantly enhanced my knowledge and confidence using Excel.

  • @Write2pranab
    @Write2pranab 2 года назад +1

    Excellent. Used it to create a table to put values from a drop down menu where a value can be picked for only once. Thank you very much for your video.

  • @NullisNaN
    @NullisNaN 9 лет назад +2

    My favorite yet.
    I usually just put my values in A, and a description in B like "firstlist" & "secondlist" then in C do a if countif formula. I really like your last solution.

  • @pmsocho
    @pmsocho 9 лет назад +1

    Advanced filter method - so cool!
    And thanks for pointing out that deletion below the extracted list issue :)

    • @excelisfun
      @excelisfun  9 лет назад

      pmsocho , Yes, that deletion below Extract Area is something Microsoft added, but told no one... In Earlier versions it did not do that...

  • @Sal_A
    @Sal_A 9 лет назад +2

    Wish you made the dynamic array formula more robust by making the ranges dynamic i.e using index. and without any helper columns. Excellent video btw.

  • @messinaalejandro
    @messinaalejandro 9 лет назад +2

    Hi Mike Excellent video, I humbly add that could use a table (Ctrl + t) joining both lists names Column 1 , List Column2 (as List1 and List2), then make a Pivot Table rows by dragging names and names in values ​​and use the count function, and use filter in row

    • @excelisfun
      @excelisfun  9 лет назад +1

      Alejandro G. Messina It is amazing how many cool ways to do things in Excel! :) I really should have done a video with all the cool ways to do this! Thanks for the great solution!

  • @agesch88
    @agesch88 9 лет назад +1

    Until now I have compated my two lists with the help of vlookup to and back. I loved the advanced filter solution for this issue, I will try it asap in real. Thank you Mike!

  • @robertjones5669
    @robertjones5669 Год назад

    I like the way you *Booped Cell H39&40 with the format painter! :D

  • @MySpreadsheetLab
    @MySpreadsheetLab 9 лет назад +3

    The advanced filter method was great! Thanks Mike!

    • @excelisfun
      @excelisfun  9 лет назад

      Kevin Lehrbass You are welcome!

    • @MySpreadsheetLab
      @MySpreadsheetLab 9 лет назад +1

      ExcelIsFun I had never thought of using advanced filter! I was thinking "WHAT?!" So creative !!

    • @excelisfun
      @excelisfun  9 лет назад +1

      Kevin Lehrbass Cool! Rad Creative Excel is fun!

  • @The-Bright-Stuff
    @The-Bright-Stuff 3 года назад +1

    Thank you for showing. After I entered the formulas I get rows which are less then my count number but are returning zeros. What can I add to formula to remove zeros?

  • @Trevorslaysubpitch89
    @Trevorslaysubpitch89 2 года назад +1

    Dude THANK YOU!!!!!

  • @SndfOmar
    @SndfOmar 4 года назад

    ACE Video, for learning the AGGREGATE Function, and ARRAYS.

    • @excelisfun
      @excelisfun  4 года назад +1

      Glad it was ACE for you, SanadFeisal!!!

  • @anwarahmed5342
    @anwarahmed5342 8 лет назад

    Amazing, awesome tips from girvin
    + everything is free from Mike.
    thank u so much
    Anwar from yemen

    • @excelisfun
      @excelisfun  8 лет назад

      +Anwar Ahmed You are welcome!

  • @prasadavasare1
    @prasadavasare1 4 года назад

    Hi Mike....amazing as usual...!!

  • @alandouglas2789
    @alandouglas2789 9 лет назад +1

    Wow, great video mate, I had to figure this one out on my own... got it

    • @excelisfun
      @excelisfun  9 лет назад +1

      Alan Douglas Glad you liked it!

  • @Dedhia_Sidhanth
    @Dedhia_Sidhanth 3 года назад +1

    I think i might save a lot of time ☺️

  • @soneeric6030
    @soneeric6030 2 года назад

    Thank you for all your videos. You are a great trainer.
    Please how can I Compare two lists A and B in different workbooks? List A is the standard. If there are differences in List B, we copy the correct value from A to list B.

  • @islamicknowledge8176
    @islamicknowledge8176 3 года назад

    Hi I have invoice no with multiple collection amount how to know the exact value of outstanding on the invoice no.

  • @nilajahrivers1109
    @nilajahrivers1109 4 года назад

    Thank you.

  • @uzmarazakur
    @uzmarazakur Год назад

    OMG! Thanks so much!

  • @Manaz101
    @Manaz101 9 лет назад +1

    Nice! Just looks like a bit involved. I compare lists almost on a daily basis and put them side by side and just use Conditional Formatting, Unique Values, then sort via color and send the colored ones to the top (depending on the column I want to get the values for).

    • @excelisfun
      @excelisfun  9 лет назад

      Manaz101 It is amazing how many cool ways to do things in Excel! :)

    • @yuvarajkrishnamoorthy
      @yuvarajkrishnamoorthy 9 лет назад

      Manaz101 i do the same :) simple and elegant

    • @Manaz101
      @Manaz101 9 лет назад

      +Yuvaraj Krishnamoorthi Yes, I even created a macro to do it, I just copy/paste the 2 columns how I need them and run the macro. :)

    • @excelisfun
      @excelisfun  9 лет назад

      Manaz101 and Yuvaraj Krishnamoorthi Your method of Conditional Formatting, Unique Values, Sort is very cool! I will have to make a video and dedicate it to you two Excel Experts!!!!

    • @Manaz101
      @Manaz101 9 лет назад

      ExcelIsFun Not needed Mike, just glad to share what I learned along the way!
      Love your videos!

  • @danvel524
    @danvel524 2 года назад +1

    great!

  • @drm9514
    @drm9514 7 лет назад

    Amazing training

  • @HITOKIRIpl
    @HITOKIRIpl 5 лет назад

    Mega thx, that array was exactly what I needed

  • @BritonWells
    @BritonWells 9 лет назад

    Many solutions for this! can also use IF(ISNA(VLOOKUP)) then filter

    • @excelisfun
      @excelisfun  9 лет назад

      Briton Wells , It is amazing how many cool ways to do things in Excel! :)

  • @johannkristjonsson6250
    @johannkristjonsson6250 9 лет назад

    Thank you. This will help me in my work.

    • @excelisfun
      @excelisfun  9 лет назад

      Jóhann Kristjónsson Glad it helps!

  • @andrewcragg420
    @andrewcragg420 3 года назад

    Very cool, what do I do if the original list keeps growing?

  • @yukihanarain
    @yukihanarain 8 лет назад +1

    Hi Mr. ExcellsFun, do you know if we can compare 2 cells when they have multiple line in a cell? They are entered with alt+enter.

  • @esamali1743
    @esamali1743 9 лет назад

    Another great video, thanks a lot

  • @emiliorojas6814
    @emiliorojas6814 5 лет назад

    Mind blowing! How long did it take you to become this proficient? You flow like if you were playing a piano...

    • @excelisfun
      @excelisfun  5 лет назад

      Wow!!! I love that simile!!! Yes, it is like an art to me, like playing the piano, like dancing, like racing my bike (one of my hobbies).

    • @excelisfun
      @excelisfun  5 лет назад

      Thanks for your support, Emilio!!!

  • @SweetKiara008
    @SweetKiara008 9 лет назад +1

    Hi ExcellsFun, I'm new to excel... I have been forced by my current job to learn excel hehehe... would the ISNA(MATCH....)) also help with numeric values? Thank you in advance!

  • @TreyStegall
    @TreyStegall 9 лет назад

    You're amazing! Thanks for these

    • @excelisfun
      @excelisfun  9 лет назад

      Trey Stegall I am glad the the videos help!

  • @laurag6701
    @laurag6701 2 года назад

    Hi Mr excellsfun do you know how to compare two worksheet where you can overpopulate data that is not on the other set of data having duplicate values

  • @The-Bright-Stuff
    @The-Bright-Stuff 3 года назад

    Second comment, I have 6 or so columns of data that needs to be checked against another list and if the name on list is not in any columns of data then I want it to show. Your formula works to check one column of data but how would I check multiple.

  • @aknoimak
    @aknoimak 9 лет назад

    It is amazing. Thanks.

    • @excelisfun
      @excelisfun  9 лет назад +1

      aknoimak You are welcome!

  • @shuvorafi5385
    @shuvorafi5385 Год назад

    Sir why Should not substract ROW(38) at a time ?

  • @houawu
    @houawu 8 лет назад

    Dear Mr. Excel,
    In CF(32), to express between lower and upper date, I was trying to write B3

  • @houawu
    @houawu 8 лет назад

    Dear Mr.Excel,
    In regarding to MOD function, I once saw someone use it with IF function as =IF(MOD(G35,1),"equip","other"), this formula was used to differentiate equipment(code ending with .05) from other goods(coded as whole numbers). I can understand that when a whole number is divided by 1, the remainder will be 0, which viewed as false by excel, therefore it will return "other", however when the referenced cell is a code ending with .05, why the formula can return "equip", as I understand only 1=true in excel....
    Anything wrong about my understanding in regarding to this?
    Thanks

  • @sikutch6246
    @sikutch6246 4 года назад

    how can it work on google sheet? google sheet not found this value. so help........

  • @majidramzan6702
    @majidramzan6702 4 года назад

    Hey Sir, kindly can you give me a solution for the problems which I face while duplicating tabs in my excel sheet then it asks that there is data already there and sometimes it takes main 2 or more minutes to click OK on dialog box which appears. Kindly, tell me if there is another shortcut.

  • @arkadiuszurban8321
    @arkadiuszurban8321 9 лет назад

    Thanks for video!
    I have one question though: why does criteria header in advanced filter have to remain empty?

    • @excelisfun
      @excelisfun  9 лет назад

      Arkadiusz Urban I am not sure the exact reason, but that is the method that I learned years ago and have used ever since.

    • @vinaykumarchaganti7563
      @vinaykumarchaganti7563 9 лет назад

      ExcelIsFun I think I have an explanation for that. That blank cell serves as a kind of a 'place holder' where values from the selected list are placed. So each value from the list is placed in that 'empty cell', the formula runs making that 'empty cell' its reference, the output is known, and then the next item on the list occupies the 'empty cell' and the formula is re-evaluated and so on.

    • @excelisfun
      @excelisfun  9 лет назад

      Vinay Kumar Chaganti , Really? Where did you learn that? Did you read it somewhere? I would love to know your reference for that cool bit of knowledge!

  • @greatsea
    @greatsea 9 лет назад

    workbook link is down right now. Hope it comes back soon.

  • @tavershimademekaa
    @tavershimademekaa 3 года назад

    I have the name Uzoma Joseph Mike in cell M16 and Mike Uzom in cell G24. They names refer to one person but cell G24 omitted one name and misspelled one other and reordered it. How can I know which name/word was misspelled and which omitted assuming I have a huge array? Please help me.

  • @kerryking7003
    @kerryking7003 9 лет назад

    Great work Mike, thanks.
    What if e-mails in List 2 are to be extracted and pasted into the column (Col B) adjacent to the matching e-mail address (Col A = List 1) leaving the unmatched e-mail addresses in List 2 (in say Col D) which can then be moved (manually) into the next empty row in Col B at the bottom of List 2?

    • @excelisfun
      @excelisfun  9 лет назад

      Kerry King , I do not know, because I do not understand what you are asking. But I am not that smart at interpreting people's questions.

    • @19859ahmed
      @19859ahmed 9 лет назад

      I think it's give error so no reference

  • @giladbark1049
    @giladbark1049 9 лет назад

    ? Do you have some macro VBA in Excel tutorials with file exercises as well
    It will be delight to learn from your special and unique method material please.

    • @excelisfun
      @excelisfun  9 лет назад

      Gilad Bark I do not have VBA code like that. Sorry.

    • @giladbark1049
      @giladbark1049 9 лет назад

      +ExcelIsFun
      Sorry for being not clear , I meant to tutorials of VBA for Excel in general with explanations , exercises and answers, not specifically about this Excel Trick.
      Thank you!

    • @excelisfun
      @excelisfun  9 лет назад

      No, I am not good with VBA so I don't make videos about this topic. Sorry.

    • @giladbark1049
      @giladbark1049 9 лет назад

      +ExcelIsFun
      Thanks anyway, you are great tutor!

  • @ppanigrahi
    @ppanigrahi 3 года назад

    I came back to this video, because I have exact situation. But, is there a simpler method to achieve this with Office 365 dynamic array?

    • @excelisfun
      @excelisfun  3 года назад +1

      The Adavanced Filter method is probaly still the fastest. However, now you can use FILTER with the MATCH and ISNA (Not in List) or ISNUMBER (Is in List).

  • @florchavez3040
    @florchavez3040 3 года назад

    Hi, thanks for sharing this video. The final file (Download File: excelisfun.net/) is not availble after clicking on the link. Where to download it? Cheers!

  • @samirsarkar001
    @samirsarkar001 5 лет назад

    Hey can share me a link of all of your magic trick video so that I can watch every video ?

  • @RaigosaCo
    @RaigosaCo 8 лет назад

    It has some video of how to solve this case PowerQuery or PowerPivot.

  • @jrarteaga6568
    @jrarteaga6568 9 лет назад

    I need help I'm in a proficent level in excel and want to get at an advance level before i graduate I'm in accounting student Any good courses?

    • @jrarteaga6568
      @jrarteaga6568 9 лет назад

      *an

    • @excelisfun
      @excelisfun  9 лет назад

      Jr Arteaga Try the my Highline Excel Class playlist:
      ruclips.net/p/PLrRPvpgDmw0nh4BBxqjcsnbB4ME4JjzfJ

    • @jrarteaga6568
      @jrarteaga6568 9 лет назад

      +ExcelIsFun Thank you so much ! Great stuff by the way !

  • @ismaelguerrero4595
    @ismaelguerrero4595 5 лет назад

    How can i find missing values in a Multiples duplicates values in esy way?

  • @solomonocquaye4395
    @solomonocquaye4395 9 лет назад

    whats the excel file called. Cant seem to find it

    • @excelisfun
      @excelisfun  9 лет назад

      +Solomon Ocquaye 00:03 minute mark i say what file name. Click on minute hyperlink: 00:03 and check it out!

    • @excelisfun
      @excelisfun  9 лет назад

      +ExcelIsFun , after clicking on the link below the video, Ctrl + F, then type file name.

  • @takoSLchin
    @takoSLchin 3 года назад

    Why don't you just put them in one column and delete duplicate data?? That way you will have one single list which is latest version.

  • @rrb6nlac
    @rrb6nlac 5 лет назад

    B. G

  • @janquin11
    @janquin11 9 лет назад

    i use pivot tables to compare

    • @excelisfun
      @excelisfun  9 лет назад +1

      janquin11 So many cool ways to do things in Excel! :)

  • @lyrikalcreations3552
    @lyrikalcreations3552 2 года назад

    Please help asap.....

  • @عمرعلي-ع8ح
    @عمرعلي-ع8ح 3 года назад

    Method 3 is more complicated

  • @19859ahmed
    @19859ahmed 9 лет назад

    how to extract from list 1 to list 2 ?☺

    • @excelisfun
      @excelisfun  9 лет назад +1

      Ahmed Ismail Same but with the lookup_value looking in List 1 and lookup_array looking at List 2.

    • @19859ahmed
      @19859ahmed 9 лет назад

      ExcelIsFun can u pls make an example ?

    • @excelisfun
      @excelisfun  9 лет назад +1

      The e-mail example in this video shows exactly that.

    • @19859ahmed
      @19859ahmed 9 лет назад

      ExcelIsFun Thank u Mr.Mike.
      And another thing i need u to introduce is Power BI iam started to use it and its so amazing hope to see ur lectures about it soon :)

    • @excelisfun
      @excelisfun  9 лет назад

      I have a few playlist of videos of Power Pivot and Power Query:
      ruclips.net/p/PLrRPvpgDmw0nGCx21PRFbsJpUIH06LKs-
      ruclips.net/p/PLrRPvpgDmw0m3ohSvgwoHvd0KO8QsQdiK

  • @tavershimademekaa
    @tavershimademekaa 3 года назад

    I have the name Uzoma Joseph Mike in cell M16 and Mike Uzom in cell G24. They names refer to one person but cell G24 omitted one name and misspelled one other and reordered it. How can I know which one was misspelled and which omitted assuming I have a huge array? Please help me.

    • @tavershimademekaa
      @tavershimademekaa 3 года назад

      I have the name Uzoma Joseph Mike in cell M16 and Mike Uzom in cell G24. They names refer to one person but cell G24 omitted one name and misspelled one other and reordered it. How can I know which word/name was misspelled and which omitted assuming I have a huge array? Please help me.