Excel Formula to Compare Two Lists - Excel Magic Trick 1596. Is Item in List?

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • Download Excel File: excelisfun.net...
    Learn how to create a formula to compare two lists. See Two Formulas. One formula to ask question “Is Item in List?”. One formula to ask the question “Is Item NOT in List?”. Learn how to use the MATCH, ISNUMBER and ISNA functions. See a bonus formula that uses the VLOOKUP Function.

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

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

    Bonus Formula at 03:36...

  • @motorboatski
    @motorboatski 5 месяцев назад +2

    This video saved my life. Thank you for creating such easy to follow guides.

    • @excelisfun
      @excelisfun  5 месяцев назад

      You are welcome!!!!

  • @wayneedmondson1065
    @wayneedmondson1065 5 лет назад +5

    Hi Mike.. great stuff. Another approach.. for your first example: =COUNTIF($A$13:$A$31,C13)>=1 or =COUNTIF($A$13:$A$31,C13)0 would return the same TRUE and FALSE answers. For the second example: =COUNTIF($A$11:$A$103,C11)1 or =COUNTIF($A$11:$A$103,C11)=0 would do the same. You could also use: =SUMPRODUCT(--($A$13:$A$31=C13))>=1, etc. Fun to solve the same problem in different ways with different combinations. Thumbs up!!

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

      Awesome formulas, Wayne!!!!! Go Team!!!!

  • @Realdanika
    @Realdanika 9 месяцев назад +2

    This was the best, quick and only video that helped me figure out my formula. Thank you!

  • @sasavienne
    @sasavienne 5 лет назад +4

    Thanks Mike.. 🌟 🌟 🌟

  • @ismailismaili0071
    @ismailismaili0071 5 лет назад +4

    Thank u so much Mr. Mike I’m finally back so so sorry I’ve be through rough days

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

      I am glad that you are back! I hope things will be okay for you : )

  • @simoiyahector-morales9521
    @simoiyahector-morales9521 5 лет назад +6

    Thanks Mike for these vids, they are most appreciated. Never a dull moment with your teachings.

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

      Glad it is not dull for you, Simoiya!!!!

  • @user-lc1sn2fy9g
    @user-lc1sn2fy9g 2 месяца назад +1

    Thank you so much ❤❤❤❤❤

  • @johnborg6005
    @johnborg6005 5 лет назад +3

    Thanks mike. The bonus formula was great!!!

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

      Glad you liked it all and the bonus : )

  • @enriquedominguez9709
    @enriquedominguez9709 5 лет назад +4

    Thank you Mike. Quite useful, your explanation is very clear as allways.

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

      Glad it is clear and fun for you, Enrique!!!!!!!

  • @Explicit626Beats
    @Explicit626Beats 5 лет назад +3

    Thank you! I learned something new today!

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

      Glad this helps, Explicit!!! Thanks for your support!

  • @michalroesler
    @michalroesler Год назад +1

    Awesome video and a very clever formula Mike.

  • @davebowman5392
    @davebowman5392 5 лет назад +2

    Thanks Mike

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

      You are welcome, Awesome Dave Bowman : ) : ) : )

  • @JanBolhuis
    @JanBolhuis 5 лет назад +3

    Great video. As always. Thanks!

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

      Thanks longtime Teammate, Jan!!!

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

    Good job Mike...

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

      You are welcome, Ayobami!!!

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

    Excellent in short time

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

    Thanks for the video. I used to do this with VLOOKUP but now I use COUNTIF. COUNTIF can additionally count values so we can see if there are duplicates :)

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

      Yes, indeed, COUNTIF and COUNTIFS is a short way to do this... I think many years ago I timed COUNTIF=0 and ISNA(MATCH)), but I can't remember how it came out... For some reason I settled on ISNA-MATCH...

  • @chrism9037
    @chrism9037 5 лет назад +1

    Great video Mike, thank you!

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

      You are welcome, most esteemed Teammate Chris Mancinelli!!!

  • @pavelpellar
    @pavelpellar 5 лет назад +2

    Great formula, I personally prefer conditional formating (eg highlight True cells red) as it's visible at a first sight, but of course depends on the purpose why we need to compare those lists.

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

      It does depend on the goal, but Conditional Formatting? Conditional Formatting is totally cool and great when you want to pick out and just "see" the items most quickly! Thanks for that hot tip, Pavel : )

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

    Great video! I never knew that there is a function that could show easily that an item is NOT in list! Genial!

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

      Glad it is Genial for you, Evgenia M!!! Thank you for your comments and support : )

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

    Thanks Mike..👍👍👍

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

    Wonderful magic trick ❤
    I work in a book store. We used to make a list in excel for sending books as samples. It was very difficult to know if these books are back or not. We forget. We get confused. We count the books, we check the excel list again and again, with ths magic trick we save alot of time and we dont waste energy... Thanks a lot

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

      You are welcome a lot, Lamees!!!!! I have a few more interesting videos on this topic coming out in the next week : ) : )

    • @lameessy2302
      @lameessy2302 5 лет назад +1

      @@excelisfun Thanks a lot 😍

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

    Thanks

  • @Powerpuffgirlllll
    @Powerpuffgirlllll 7 месяцев назад

    Thank you so much for the clear explanation. Is there a formula that will return the text results and not numbers, also a summary of the data please?

  • @cv238au
    @cv238au 9 месяцев назад

    Works a treat - many thanks

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

    Nice use of ISNA! Awesome!

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

    nice explanation

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

      Glad it was nice for you, Steven Nye : )

  • @simfinso858
    @simfinso858 5 лет назад +1

    "Match" Formula is Easy.I will go for it.

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

      Go for it, Phone Excel!!!!

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

    Thanks for sharing, it's very interesting this vidéo.

  • @ahmedali-oi9wv
    @ahmedali-oi9wv 5 лет назад

    high Mr. mark well done , bravo

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

      Glad you like it!!! Thanks for the Bravo, ahmed!!

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

    Awesome 🙏

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

    thanks
    very nice trick

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

      Glad you like it, Ahmed!!!! You are welcome : )

  • @harrystamatis2654
    @harrystamatis2654 5 лет назад +4

    Mike, I’m a complete newbie to Excel. Is there a series of videos that begin with the very basics? Thank you very much

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

      Yes there is. Here it is: ruclips.net/p/PLrRPvpgDmw0n34OMHeS94epMaX_Y8Tu1k

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

      Thanks for your support with your comments, thumbs ups and Sub , Harry : )

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

    Great tricks.
    I would go further and turn the Booleans into numbers (double neg) and then use cel formatting to hide the zeros.
    So visually the user is only confronted with the exceptions. Then one can dynamically filter the report table to get just the list of exceptions.

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

      Love that solution, Teammate Geert!!!!!

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

    Great stuff Mike. I always find this question is a bit of a head melter at the best of times - which items in list 1 are not in list 2, which items in list 2 are not in list 1, which items are in both lists, which items that are not in both lists etc etc. Usually your boss can't phrase the question properly which confuses the matter even further 😂😂

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

      It is TRUE that many people can't say exactly what they want, but know you know there are only two possible questions: Item from List X NOT in List Y, use ISNA and MATCH; Item from List X IS in List Y, use ISNUMBER and MATCH.

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

    Nice reviwwww and nice to this bonus formulas :-)

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

    Beautiful. Thanks

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

      You are welcome, Joshua!!!!

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

    God bless you man

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

      Glad you like the videos, Zeeshan!

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

    Great Magic trick, thanks Mike

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

      Thanks, Ogwal : ) : )

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

      The bonus trick z amazing, Am looking forward to the Xlookup instead of Vlookup

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

      @@ogwalfrancis I am away from my video filming equipment and my Excel Insider until Monday : 0 … But on Monday afternoon I will post a video, AND I CANNOT WAIT!!!!!! : )

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

      Am very very curious for it, Really waiting for it.

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

    Thumbs up :)

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

      Thanks, Teammate Malina : )

  • @DIGITAL_COOKING
    @DIGITAL_COOKING 5 лет назад +5

    Very helpful trick👍
    But how can you give us a bonus when we know that all things are for free😄

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

      You get a bonus anyway : )

  • @jonnybricks22
    @jonnybricks22 5 месяцев назад

    what if list one contains for example a 17 digit number but list two only uses 8 of those same numbers. Is there a way to match the two list or does list 2 have to contain all 17 digits for a perfect match?

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

    Thank you, best trick
    Can we use countif function?

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

      Yes, you can use COUNTIFS too : )

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

    Hi. For the library list example. Can you format the result so if it’s “false” the “false” and the name of the book is highlighted so it sticks out better in such a long list?

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

      Absolutely! I am not at a computer with Excel, but I think this would work: =IF(ISNA(MATCH(LookupValue,LookupRange,0)),TRUE,FALSE&", "&LookupValue)

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

    Hello Dear Mike,
    Could you do a tutorial about minimum cost and method Voguel in excel in base a one example whit the complement named excel's solver of forme automatic, please !
    Best regards **
    Thanks a lot of the attention lended"

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

      I have great videos on this in my Business analytics playlist (section 12, videos # 57 to 63)

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

      Pleas help support with your comments and thumbs up, THX 4 :)

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

      @@excelisfun ok, very good your vídeos and it's very great !

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

    It doesn't work with Names and numbers....

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

    Hi Sir please help me I want to know how I can found the day or month through formula with number like 33 means 2nd Feb
    Then 125 means ???

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

      I have no idea!?!?! For back and forth dialog to get Excel solutions, try this site: mrexcel.com/forum

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

    HEY! I have been working to improve my excel and was wondering if i would run into issue using this >> =IF(C13=$A$13:$A$31,"","Lead")

    • @YassineSarifuddin
      @YassineSarifuddin 5 лет назад +1

      You will get an error. You can't compare a cell with an array. You can use this =IF(ISNUMBER(MATCH(C13,$A$13:$A$31,0)),"","Lead")

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

      Well, you have an array operation in the first argument. If you do not have Office 365, you might have to use Ctrl + Shift + Enter.

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

      Okay! I'm a user of 365 and did not realize that. I will try to have better questions and make sure I can't answer them myself next time. Thanks guys!

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

      @@Johnnydizzlefoshizle : )

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

    👌👍👍

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

      Thanks for the thumbs ups, Zaigham!!!

  • @94884dinesh
    @94884dinesh 5 лет назад

    Another easiest thing. Finding duplicates

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

      Glad it is easy for you, Dinesh!!! Thanks for watching and having fun : )

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

    Now for a video using the new XLOOKUP for the bonus! I called MS to find out why as insider I do not yet have it. They said within 3 days I would!!! We'll See!LOL

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

      I am away from my recording equipment and my computer with my Excel and Insider until Monday... I can't wait to do a XLOOKUP video then. I was not told about this new function, Microsoft do not keep me in the loop as much as I would like. But I can't wait to check this out... : )

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

      @@excelisfun I learned about it this am from a short Bill J. video he posted last night. I'm not suure if the "x" means no more VL and no more I/M OR if it means a, "cross between these to classic lookup methods. LOL Either way it appears to be powerful, efficient, fun and awesome!!! Looking forward to your take on it and to getting it myself so that I can play!!

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

      @@richardhay645 I can't wait!!!!

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

    Iferror(if(match(item, item list, 0),"y"),"n")

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

    My friend you are too fast. Lolest

  • @nelsonvolcere8077
    @nelsonvolcere8077 2 месяца назад

    HAHA