How to Find Duplicates in Excel & Highlight Duplicates If You Need To

Join 400,000+ professionals in our courses here 👉 link.xelplus.com/yt-d-all-cou...
Struggling with duplicate data in Excel? Discover four innovative methods to identify and eliminate duplicates, whether in columns, rows, or across your entire dataset.
⬇️ Download the file I use in the video from here: pages.xelplus.com/find-duplic...
What You'll Learn:
▪️ Column Comparison: Easily spot overlapping data between two columns.
▪️ Row-Wise Duplication Check: Identify entire rows that are duplicates.
▪️ Formula-Based Duplication Detection: Utilize Excel formulas for dynamic duplicate flagging.
▪️ FILTER Function for Duplicates: Extract only duplicate rows for a clearer view of your data.
In this video I'll show you 4 ways on how to find duplicates in your Microsoft Excel data. We'll find solutions regardless if your data is in the same column, in separate columns and even if you need to find duplicates for a combination of cells. You'll learn how to use conditional formatting to color duplicate values, how to look inside an entire row and compare one row with another and flag it is a duplicate. As a bonus you'll learn how to use a dynamic formula to flag duplicate entries with an icon or returns just the duplicate entries.
00:00 Find and Remove Duplicates in Excel
00:33 Find Duplicates in Columns
01:43 Find Duplicate Rows
03:09 Excel Formulas to Find Duplicates
06:37 Use Formulas to Return Duplicate Values
08:07 Wrap Up
🎬 LINKS to related videos:
3 EASY Ways to Find and Remove Duplicates in Excel: • Three EASY Ways to Fin...
➡️ Join this channel to get access to perks: / @leilagharani
👕☕ Get the Official XelPlus MERCH: xelplus.creator-spring.com/
🎓 Not sure which of my Excel courses fits best for you? Take the quiz: www.xelplus.com/course-quiz/
🎥 RESOURCES I recommend: www.xelplus.com/resources/
🚩Let’s connect on social:
Instagram: / lgharani
LinkedIn: / xelplus
This description contains affiliate links, which means at no additional cost to you, we will receive a small commission if you make a purchase using the links. This helps support the channel and allows us to continue to make videos like this. Thank you for your support!
#Excel

Пікірлер: 332

  • @LeilaGharani
    @LeilaGharani10 ай бұрын

    Grab the file I used in the video from here 👉 pages.xelplus.com/find-duplicates-file

  • @jlyncanlas9846

    @jlyncanlas9846

    8 ай бұрын

    how about if you need to compare from two different excel files?

  • @thinkingitthrough8368
    @thinkingitthrough83684 ай бұрын

    She is hands down the best person for excel problems. It's the way she explains it. Let's face it, when you come to her videos, you usually have a problem, and you're usually on a deadline. She gets right to it.

  • @JasonW5700
    @JasonW5700 Жыл бұрын

    This showed on my feed at the perfect time. I'm going to be applying your last example to a data set with around ~10,000 rows today. This will make it so much easier that what I normally do. Thanks!

  • @ukaszlachmider5961
    @ukaszlachmider5961 Жыл бұрын

    It never came to my mind to add emojis in cells! That's really cool and opens up many possibilities to make the sheet more appealing 😊

  • @chh8860
    @chh8860 Жыл бұрын

    'Thursday's with Leila' just doesn't disappoint ... even when not immediately useful, the videos still plant ideas for future harvest ... 🌱🌿🌿🌱🌱 At the 8:20 mark " ... I hope you enjoyed this video ... don't forget to hit that 'thumbs up ... " . There should be another option; 'Two Thumbs Up' ... 👍👍 Thank you ... thank you ... thank you ... 😍😍😍

  • @LeilaGharani

    @LeilaGharani

    Жыл бұрын

    ahhh thank you for the two thumbs up. Appreciate it.

  • @johnarnold8603
    @johnarnold8603 Жыл бұрын

    Great video.... be careful when combining columns when looking for duplicates. I recommend putting a delimiter between the columns to help eliminate false duplicates. If you have the values AA BB two columns of data in the first row, and A ABB as the second row, they will end up giving you a false duplicate of AABB. Use a "-" as a delimiter to help remove this possibility. AA-BB won't get confused with A-ABB.

  • @LeilaGharani

    @LeilaGharani

    Жыл бұрын

    Thanks for the suggestion, John

  • @cycleSCUBA
    @cycleSCUBA11 ай бұрын

    Excellent guidance and this will help me so much in my work as I've to clean up ~21k rows of data. Thanks Leila.

  • @gospelmoto2833
    @gospelmoto2833 Жыл бұрын

    Thanks Leila! exactly what Im looking for. Very timely. 3thumbs up!!!

  • @vijayarjunwadkar
    @vijayarjunwadkar Жыл бұрын

    Thank you Leila for this video on the most common need, find duplcates and the four cool ways to get the job done! I have watched your videos over a period, and you have come a long way in terms of presentation, quailty and utility of the videos, that's getting superior by the day! Good luck to you!

  • @LeilaGharani

    @LeilaGharani

    Жыл бұрын

    Thank you Vijay. Very much appreciate that. Specially for your support during all the this time 🙏

  • @republikadugave420
    @republikadugave420 Жыл бұрын

    Good thing with excel is that you never run out of things to do and make videos about

  • @LeilaGharani

    @LeilaGharani

    Жыл бұрын

    That's true!

  • @drew3030
    @drew3030 Жыл бұрын

    I know this is a little off topic, but for anyone removing duplicates in power query for excel or power bi, there is a trap. Yes, just like in an excel spreadsheet the first unique row found is retained while others are removed. However, the way that first row is defined is the trap. It is not defined as the first row as the data is currently, but the first row when the data was first loaded. So you might do a sort to ensure the rows you want retained are at the top then remove duplicates but this will not give you the correct result. The solution is to include Table.Buffer in the remove duplicate query to reset the state of the data to the current sort order. Then the power query remove duplicates operation will work the same as if you removed duplicates from an excel spreadsheet.

  • @juliethramosrivera

    @juliethramosrivera

    Жыл бұрын

    Thanks for this ☺️

  • @shylomathew

    @shylomathew

    Жыл бұрын

    I did not know this. thank you for sharing this info.

  • @MrSupernova111

    @MrSupernova111

    Жыл бұрын

    Excel also has a "remove duplicates" feature on the Data tab. No formulas needed except creating unique keys when needed.

  • @drew3030

    @drew3030

    Жыл бұрын

    @@MrSupernova111 You wouldn't use that if you were using power query though.

  • @MrSupernova111

    @MrSupernova111

    Жыл бұрын

    @@drew3030 . I use both depending on the complexity of the project. I don't like to limit my options.

  • @paramveerssachdeva
    @paramveerssachdeva Жыл бұрын

    Just GORGEOUS. The lady and the formulas, Thanks for sharing once again. :)

  • @denismuthuri2877
    @denismuthuri2877 Жыл бұрын

    Thanks Leila for the video and for always keeping us abreast with excel advancements. Wondering if there's a formula for highlighting figures that 'knock off each other' in a column. Let's say 12 and -12 or -1,000 and 1,000? Thanks

  • @WilsonC15
    @WilsonC15 Жыл бұрын

    This video is great, thanks for making it. You have shown us that "there is no need to invest in costly analytic tools" through your use of Excel for data analysis. That's fantastic, you have my undying loyalty.

  • @LeilaGharani

    @LeilaGharani

    Жыл бұрын

    Glad you enjoyed it!

  • @rosehuang8709
    @rosehuang870911 ай бұрын

    Super helpful! Thank you!

  • @Lalindra_Fernando
    @Lalindra_Fernando Жыл бұрын

    Very much helpful to get improved the XL hacks. Thanks Leila. Always watching you. Your presentation of Videos is super marvelous. I got much knowledge from you. Thanks again Leila.

  • @deepti730
    @deepti730 Жыл бұрын

    You explain very well and ur videos are informative. You covers maximum possibilities. Thank u.

  • @josdilna9115
    @josdilna91153 ай бұрын

    Great video. This helped me after watching all other videos. A life saver!

  • @TobysDataDigest
    @TobysDataDigest Жыл бұрын

    Your videos are a big inspiration! just started out my own youtube (from my experience as a data analyst) All the best!

  • @adrianodossantosfernandes1236
    @adrianodossantosfernandes1236 Жыл бұрын

    Leila your videos are really good! Congrats! Thanks for sharing with us!

  • @isaacmwabila5830
    @isaacmwabila5830 Жыл бұрын

    Thank you Leila! This is very helpful for me 🙏🏾

  • @dimitrinaklichurova6485
    @dimitrinaklichurova6485 Жыл бұрын

    This video came in exactly when I needed. Thank you

  • @Reverse.Engineers
    @Reverse.Engineers Жыл бұрын

    Its a Discovery.. Thank You for the Valuable Information. I Have Been Using CountIf with start cell as Absolete and 2nd Cell as Relative in a Range. A1:A100 Has Unique and Duplicate Values Formula For B2 =CountIF($A$2:$A2,$A2) Formula For B3 =CountIF($A$2:$A3,$A3) Formula For B4 =CountIF($A$2:$A4,$A4)

  • @Nonas63
    @Nonas63 Жыл бұрын

    As always, you made my live much easier! Thank you Leila ❤

  • @LeilaGharani

    @LeilaGharani

    Жыл бұрын

    Glad it was helpful!

  • @TheMasterIsaka
    @TheMasterIsaka9 ай бұрын

    That ConCat formula is a game changer. THANK YOU

  • @charlieesb
    @charlieesb Жыл бұрын

    Thanks Laila. This video was extremely helpful.

  • @Casualbystander
    @Casualbystander9 ай бұрын

    fantastic video, straight to the point. thank you very much Highlight column(s)/cell(s), click Home at the top > Conditional Formatting > Highlight Rules > Duplicate Values

  • @trinitys.7833

    @trinitys.7833

    3 ай бұрын

    Thank you for your useful conclusion~ same, I'd like to share another quick way to find duplicates with you, and hope it can be helpful too! you just need to open your file in WPS Office> select the range of your values>click “highlight duplicates”> click “set” then all the dupplicates will appear!

  • @TrekwithIslam
    @TrekwithIslam Жыл бұрын

    We can simply use 'Countifs' instead of 'Countif' + Concatenate to integrate multiple columns while finding duplicates..Great video as always 👍

  • @siyabulelatshali1012
    @siyabulelatshali1012 Жыл бұрын

    😭😭 Amazing as always. Thank you so much.

  • @sgallegos702
    @sgallegos702 Жыл бұрын

    You just answered my question from the short. Thank you!!!!

  • @lutchmartha
    @lutchmarthaАй бұрын

    I will try this later. Thank you!

  • @NPRBEST
    @NPRBEST Жыл бұрын

    Very good animation and amazing explanation. Thanks for uploading such a useful content. Keep it up!

  • @aaronaguilar87
    @aaronaguilar87 Жыл бұрын

    Finally! I’ve been looking for a video like this for so long! I’ve had the idea but I didn’t know how to start, thanks!!

  • @LeilaGharani

    @LeilaGharani

    Жыл бұрын

    Glad I could help!

  • @sustainability.s
    @sustainability.s Жыл бұрын

    Really nice video and thoroughly enjoyed and learned from it. Thanks

  • @BobG-eh5fc
    @BobG-eh5fc Жыл бұрын

    Thank you so much, your videos are so informative.

  • @ldmlhome
    @ldmlhome Жыл бұрын

    OMG you are ALWAYS the best!!! Thank you!!!

  • @IceHot247
    @IceHot247 Жыл бұрын

    In the last exercise to pull out just the duplicates, an alternative is to use UNIQUE instead of SORT in case you don't want to see the same record multiple times over.

  • @chrisipad4425
    @chrisipad44252 ай бұрын

    Thanks Leila for those tips!

  • @LeilaGharani

    @LeilaGharani

    2 ай бұрын

    You're so welcome!

  • @elgennacorda4469
    @elgennacorda4469 Жыл бұрын

    This is amazing, this what I need right now, thank you sooo much😍

  • @weltvonalex
    @weltvonalex Жыл бұрын

    Great! Thank you

  • @ShSh_87
    @ShSh_87 Жыл бұрын

    Thank you Leila. You are great.

  • @thomaspc0
    @thomaspc0 Жыл бұрын

    Just pure genius. Thanks.

  • @smartbytesamit
    @smartbytesamit Жыл бұрын

    It's always a treat to watch and learn from your videos. Just want to know how to create dummy data and query the data to apply formulas in different ways. If you can make a tutorial on same that would be great and I assume maximum viewers have similar concern while practicing ... thanks

  • @manjulakarthik2157

    @manjulakarthik2157

    Жыл бұрын

    If you want create dummy data for numberic =randbetween(100,200)

  • @AUDREY23
    @AUDREY23 Жыл бұрын

    Good video! Your tips are a great way to keep me updated with excel. Thanks for sharing.

  • @LeilaGharani

    @LeilaGharani

    Жыл бұрын

    My pleasure, Audrey!

  • @katarzynak118
    @katarzynak118 Жыл бұрын

    First ever video of Leila when I finally did not learn anything new :D I am not disappointed though- I was already wondering if there will be ever video when I will already be 'know it all' lady :D :D :D

  • @LeilaGharani

    @LeilaGharani

    Жыл бұрын

    🙌

  • @TheMrDoch
    @TheMrDoch Жыл бұрын

    Fantastic. As always.

  • @nicolaslombardot6925
    @nicolaslombardot6925 Жыл бұрын

    very good playlist, nice work, thanks a lot

  • @WeVisionSethEthan
    @WeVisionSethEthan3 ай бұрын

    Leila has saved my life 1000000000000000x thank you!

  • @hectorbrizuelavega9214
    @hectorbrizuelavega9214 Жыл бұрын

    Great video, very recommended!

  • @HellZone_VFX
    @HellZone_VFX Жыл бұрын

    I needed this

  • @MrJtecco
    @MrJtecco Жыл бұрын

    Excellent and very helpful video. Can you recommend a method that allows a comparison of values, let’s say staff names, that are in 3 or more columns?

  • @AnaGeorgescuArt
    @AnaGeorgescuArt6 ай бұрын

    Thank you very much! This is really helpful! It's amazing to see how many things we can do in excel 😃

  • @LeilaGharani

    @LeilaGharani

    6 ай бұрын

    Glad you like it!

  • @eiestens
    @eiestens Жыл бұрын

    You are great!, I love your class!!

  • @arbazahmad7177
    @arbazahmad7177 Жыл бұрын

    Excellent 😊..Thank you 😊

  • @jigarkapasi2004
    @jigarkapasi2004 Жыл бұрын

    Thank you so much. Amazing 👏

  • @pretamall
    @pretamall Жыл бұрын

    I learned again...thanks

  • @zakdunbar2726
    @zakdunbar272629 күн бұрын

    Thanks!

  • @rahulmeher4570
    @rahulmeher4570 Жыл бұрын

    Very useful..learnt something new... 👍

  • @piggybankaccountant
    @piggybankaccountant Жыл бұрын

    I love to use conditional formatting. Thats what I teach beginners at work

  • @rustynail8692
    @rustynail8692 Жыл бұрын

    Thanks for the free knowledge

  • @jaganj4089
    @jaganj408911 ай бұрын

    Great and really helpful and did my work thanks for video

  • @arseniKo3791
    @arseniKo3791 Жыл бұрын

    Thank you Leila!!!!

  • @salehmuhammad6811
    @salehmuhammad6811 Жыл бұрын

    Really helpful

  • @hemvaidya
    @hemvaidya Жыл бұрын

    sincere thanks

  • @Shantanu_Dam
    @Shantanu_Dam Жыл бұрын

    You are always awesome ma'm. Great tutorial 👍

  • @greapis
    @greapis6 ай бұрын

    Wow! Thank you. It's very convenient and useful

  • @LeilaGharani

    @LeilaGharani

    6 ай бұрын

    Glad it was helpful!

  • @rezaamini9830
    @rezaamini9830 Жыл бұрын

    Very Nice and practical.😀

  • @Pedritox0953
    @Pedritox0953 Жыл бұрын

    Great video!

  • @archwayforeignexchangebure6226
    @archwayforeignexchangebure62265 ай бұрын

    Thanks 🙏🏽

  • @dominickeipa7094
    @dominickeipa70948 ай бұрын

    This is very helpful 👌👌

  • @taizoondean689
    @taizoondean689 Жыл бұрын

    Thank you 🙏

  • @josejuanaguilera9175
    @josejuanaguilera9175 Жыл бұрын

    😊Very Good 👌 Thank You for sharing

  • @SanviPatil2019
    @SanviPatil2019 Жыл бұрын

    This trick is very helpful in my work.

  • @antoniobacic5674
    @antoniobacic5674 Жыл бұрын

    Really excellent

  • @GMod428
    @GMod428 Жыл бұрын

    Love how you casually added the emoji, but you just created a monster. I'm going to use an emoji in every formula from now on, just to make my day a little more enjoyable. Chances are, I'll be using the middle finger quite often.

  • @SanviPatil2019
    @SanviPatil2019 Жыл бұрын

    Amezing mam.. superb

  • @VahabSahvi
    @VahabSahvi6 ай бұрын

    Excellent ❤

  • @SolidSnake59
    @SolidSnake59 Жыл бұрын

    I thought you will show how to do it without additional column. I created this solution: =COUNTA(FILTER($A$1:$B$7,($A$1:$A$7=A1)*($B$1:$B$7=B1)))>2 It creates range of duplicated values equal to current row. If there are more than 2 elements (assuming we have 2 columns) it means that there is at least one more duplicated row. I hope someone will find it helpful.

  • @viktorasgolubevas2386

    @viktorasgolubevas2386

    Жыл бұрын

    Agree. More or less known solution (a-la PBI style) is: =ROWS( FILTER( ... )) > 1

  • @nelsonrioux5555
    @nelsonrioux5555 Жыл бұрын

    Thank you Leila for this great video. Another way that I have to find duplicates is Pivot Table

  • @LeilaGharani

    @LeilaGharani

    Жыл бұрын

    Great tip Nelson! Now we have 5 ways.

  • @ayt_daily
    @ayt_daily Жыл бұрын

    Thank you, Leila

  • @elmddinibadullayev2311
    @elmddinibadullayev2311 Жыл бұрын

    Super dear,thank's too much❤

  • @snehaelizebeth6146
    @snehaelizebeth614612 күн бұрын

    Perfect!

  • @bluza451
    @bluza451 Жыл бұрын

    Thank you Leila

  • @pvrajasekhar8368
    @pvrajasekhar8368 Жыл бұрын

    Valuable video, very useful.

  • @pvrajasekhar8368

    @pvrajasekhar8368

    Жыл бұрын

    How to retain original value without colouring?

  • @aahalol
    @aahalolАй бұрын

    Perfect 👍

  • @JA-jo7bl
    @JA-jo7bl5 ай бұрын

    thank you and God bless :)

  • @sachin.tandon
    @sachin.tandon Жыл бұрын

    Nice work. This might be helpful. I used to get very odd behaviour using COUNTIF embedded in a lambda function that was called from within another LAMBDA (something to do with it not accepting the variable which although was a vector, was strictly not a RANGE, which it must take as its first argument). It did my head in! This formula avoids using COUNTIF, and IMO is more robust (when doing complex and nested lambdas) . Hope its useful COLUMN_DUPLICATES = LAMBDA(col_vector, LET( count, SCAN(0, col_vector, LAMBDA(a, r, SUM(--(r = col_vector)))), duplicates, IF( IFERROR(ROWS(UNIQUE(FILTER(col_vector, count > 1))), 0) = 0, "No Duplicates", UNIQUE(FILTER(col_vector, count > 1)) ), duplicates ) );

  • @ksujithkarun
    @ksujithkarun Жыл бұрын

    Wow!!!!!! Brilliant

  • @faizdarvesh
    @faizdarvesh Жыл бұрын

    Amazing stuff. Thank you, Leila! I have been trying to find a way to make a unique list of values across multiple columns (Let's say A has people who have bought product 1, B has people who bought product 2 and I want the full list of customers). Any ideas, guys? Do we have a better way to do it than copying one list, going to the end of the other and pasting it, then using unique?

  • @unnikrishnansanthosh
    @unnikrishnansanthosh Жыл бұрын

    Thank you for sharing

  • @LeilaGharani

    @LeilaGharani

    Жыл бұрын

    My pleasure

  • @hubertg7100
    @hubertg7100 Жыл бұрын

    You Rock Leila!

  • @CarlosAguilar-xw7ot
    @CarlosAguilar-xw7ot Жыл бұрын

    Thanks 🥳

  • @DaveGardner64
    @DaveGardner64 Жыл бұрын

    Thank you

  • @neilgoodman2885
    @neilgoodman2885 Жыл бұрын

    YOU ARE PERFECT, AND THAT'S MORE THAN 1!

  • @AmmarAli1214
    @AmmarAli121410 ай бұрын

    thanks a lot, u saved my life (Y)

  • @boubacaramaiga4408
    @boubacaramaiga4408 Жыл бұрын

    Great, many many thanks

  • @LeilaGharani

    @LeilaGharani

    Жыл бұрын

    My pleasure!

  • @flourishwithMJ
    @flourishwithMJ Жыл бұрын

    Thanks

  • @user-ug8vw5yn2p
    @user-ug8vw5yn2p6 ай бұрын

    Thank for your great video.,very useful for me to use this. for this part 7:39 how to get only 1 duplicate

  • @git4710
    @git4710 Жыл бұрын

    Searching for it yesterday and it's up there😀 Thanks 🤘

  • @sebastianmathew156
    @sebastianmathew156 Жыл бұрын

    Wow brilliant