{"id":4023,"date":"2026-11-23T22:20:55","date_gmt":"2026-11-23T16:50:55","guid":{"rendered":"https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel"},"modified":"2026-11-23T22:21:20","modified_gmt":"2026-11-23T16:51:20","slug":"remove-duplicates-in-excel","status":"publish","type":"post","link":"https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel","title":{"rendered":"How to Remove Duplicates in Excel, and Clean the Data First"},"content":{"rendered":"<p>To remove duplicates in Excel, click inside your data, go to Data &gt; Remove Duplicates, tick the columns that together define a duplicate, and click OK. Excel keeps the first occurrence of each combination, deletes the rest, and tells you how many it removed. On a Mac the button is in the same place, on the Data tab.<\/p>\n<p>The catch is that Excel only removes rows that match exactly. &#8220;Priya Singh&#8221; with a trailing space and &#8220;+91 94150 67890&#8221; written with a country code are different values to it, so a list that looks clean after Remove Duplicates can still hold the same person twice. This lesson covers both halves: finding and removing duplicates, and the cleaning that has to happen first so the duplicates are visible at all.<\/p>\n<h2>The data used throughout<\/h2>\n<p>A Lucknow coaching institute for bank and SSC exams collects enquiries from its website, Instagram and walk-ins into one sheet, and counsellors call every row. When one student enquires three times, three counsellors call them.<\/p>\n<p>Here are eight rows of that enquiry sheet. Row numbers are the Excel row numbers, with headers in row 1.<\/p>\n<table>\n<thead>\n<tr>\n<th>Row<\/th>\n<th>A: Enquiry date<\/th>\n<th>B: Name<\/th>\n<th>C: Phone<\/th>\n<th>D: Course<\/th>\n<th>E: Source<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>2<\/td>\n<td>2026-10-01<\/td>\n<td>Ankit Verma<\/td>\n<td>9839012345<\/td>\n<td>Bank PO<\/td>\n<td>Website<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>2026-10-02<\/td>\n<td>Priya Singh<\/td>\n<td>9415067890<\/td>\n<td>SSC CGL<\/td>\n<td>Walk-in<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>2026-10-03<\/td>\n<td>ankit verma<\/td>\n<td>9839012345<\/td>\n<td>Bank PO<\/td>\n<td>Instagram<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>2026-10-04<\/td>\n<td>Rohit Yadav<\/td>\n<td>7007123456<\/td>\n<td>Bank PO<\/td>\n<td>Website<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>2026-10-05<\/td>\n<td>Priya Singh (trailing space)<\/td>\n<td>+91 94150 67890<\/td>\n<td>SSC CGL<\/td>\n<td>Website<\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>2026-10-06<\/td>\n<td>Ankit Verma<\/td>\n<td>9839012345<\/td>\n<td>Bank PO<\/td>\n<td>Website<\/td>\n<\/tr>\n<tr>\n<td>8<\/td>\n<td>2026-10-07<\/td>\n<td>Neha Mishra<\/td>\n<td>8960054321<\/td>\n<td>Bank Clerk<\/td>\n<td>Instagram<\/td>\n<\/tr>\n<tr>\n<td>9<\/td>\n<td>2026-10-08<\/td>\n<td>Rohit Yadav<\/td>\n<td>7007123456<\/td>\n<td>SSC CGL<\/td>\n<td>Walk-in<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>By eye, Ankit appears three times and Priya twice. Rohit appears twice too, but for two different courses, so whether he is a duplicate depends on what the list is for.<\/p>\n<h2>Five ways to deal with duplicates<\/h2>\n<p>Each method below suits a different situation. The first deletes rows; the others find, flag or list duplicates without touching the source, which is safer when you are not yet sure what counts as a duplicate.<\/p>\n<table>\n<thead>\n<tr>\n<th>Method<\/th>\n<th>Where it is<\/th>\n<th>What it does<\/th>\n<th>Deletes rows?<\/th>\n<th>Version<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Remove Duplicates<\/td>\n<td>Data &gt; Remove Duplicates<\/td>\n<td>Deletes every repeat of the chosen column combination, keeping the first<\/td>\n<td>Yes<\/td>\n<td>All current versions<\/td>\n<\/tr>\n<tr>\n<td>Highlight duplicates<\/td>\n<td>Home &gt; Conditional Formatting &gt; Highlight Cells Rules &gt; Duplicate Values<\/td>\n<td>Colours every cell whose value appears more than once<\/td>\n<td>No<\/td>\n<td>All current versions<\/td>\n<\/tr>\n<tr>\n<td>COUNTIF or COUNTIFS flag<\/td>\n<td>A helper column<\/td>\n<td>Marks the second and later occurrences with TRUE<\/td>\n<td>No<\/td>\n<td>All versions<\/td>\n<\/tr>\n<tr>\n<td>UNIQUE<\/td>\n<td>A formula in an empty cell<\/td>\n<td>Spills a list of distinct values or rows that updates itself<\/td>\n<td>No<\/td>\n<td>Microsoft 365, Excel 2021 or later<\/td>\n<\/tr>\n<tr>\n<td>Power Query<\/td>\n<td>Data &gt; Get Data, then Home &gt; Remove Rows &gt; Remove Duplicates<\/td>\n<td>Removes duplicates as a saved step that reruns on refresh<\/td>\n<td>Only in the output<\/td>\n<td>Excel 2016 or later on Windows, Microsoft 365 on Mac<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Method 1: Data &gt; Remove Duplicates<\/h2>\n<p>This is the one most people need. The steps:<\/p>\n<ol>\n<li>Save a copy of the sheet, or work on a duplicated tab. Remove Duplicates can be undone with Ctrl+Z straight away, but not after you save and close.<\/li>\n<li>Click any cell inside the data. Do not select a single column.<\/li>\n<li>Go to Data &gt; Remove Duplicates (in the Data Tools group). If the data is an Excel Table, Table Design &gt; Remove Duplicates does the same thing.<\/li>\n<li>Leave &#8220;My data has headers&#8221; ticked if row 1 holds column names.<\/li>\n<li>Untick every column, then tick only the ones that together define a duplicate.<\/li>\n<li>Click OK and read the message Excel shows.<\/li>\n<\/ol>\n<p>Step 5 is the decision that matters. With all five columns ticked on our sheet, Excel removes nothing, because every row has a different enquiry date. The table below shows what happens with other choices.<\/p>\n<table>\n<thead>\n<tr>\n<th>Columns ticked<\/th>\n<th>Rows removed<\/th>\n<th>Rows kept<\/th>\n<th>What Excel said<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>All five<\/td>\n<td>None<\/td>\n<td>8<\/td>\n<td>No duplicate values found<\/td>\n<\/tr>\n<tr>\n<td>Name, Phone, Course<\/td>\n<td>4 and 7<\/td>\n<td>6<\/td>\n<td>2 duplicate values found and removed; 6 unique values remain<\/td>\n<\/tr>\n<tr>\n<td>Phone, Course, after cleaning the phone column<\/td>\n<td>4, 6 and 7<\/td>\n<td>5<\/td>\n<td>3 duplicate values found and removed; 5 unique values remain<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Two details in that middle row surprise people. Row 4, &#8220;ankit verma&#8221; in lower case, was removed as a duplicate of row 2, because Remove Duplicates ignores case. And row 6, Priya&#8217;s second enquiry, survived, because of a trailing space and a phone number written differently. That is why the cleaning section below comes before the final run.<\/p>\n<h3>Choosing which copy to keep<\/h3>\n<p>Remove Duplicates always keeps the topmost row of each group. So the order of your data decides which copy survives. To keep each student&#8217;s most recent enquiry instead of the first, sort by Enquiry date, newest to oldest, before running it. On our sheet that keeps rows 5, 6, 7, 8 and 9 after cleaning, so Ankit&#8217;s record now shows the Website enquiry from 6 October rather than 1 October.<\/p>\n<h2>Method 2: highlight duplicates before deleting anything<\/h2>\n<p>When you want to see the duplicates first, select the column (Phone, here) and use Home &gt; Conditional Formatting &gt; Highlight Cells Rules &gt; Duplicate Values. Every value that appears more than once turns light red, including the first occurrence. Our lesson on conditional formatting, part of this Excel series, covers the formula-based rules that colour a whole row instead of one cell.<\/p>\n<p>Highlighting has one limit: it works on a single column&#8217;s values. It cannot tell you that Name and Course together repeat. For that, use a helper column.<\/p>\n<h2>Method 3: flag duplicates with COUNTIF and COUNTIFS<\/h2>\n<p>A helper column gives you a TRUE or FALSE you can filter on, sort on or count, and it leaves the original rows alone. The formulas below go in a new column and are copied down. Column G is a cleaned phone number, built in the next section.<\/p>\n<table>\n<thead>\n<tr>\n<th>Formula<\/th>\n<th>What it returns<\/th>\n<th>Example<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Total count<\/td>\n<td>How many times the value appears in the whole column<\/td>\n<td>=COUNTIF($G$2:$G$9, G2)<\/td>\n<\/tr>\n<tr>\n<td>Running count<\/td>\n<td>How many times it has appeared so far, from the top down to this row<\/td>\n<td>=COUNTIF($G$2:G2, G2)<\/td>\n<\/tr>\n<tr>\n<td>Repeat flag on two columns<\/td>\n<td>TRUE from the second occurrence of a phone and course pair onwards<\/td>\n<td>=COUNTIFS($G$2:G2, G2, $D$2:D2, D2)&gt;1<\/td>\n<\/tr>\n<tr>\n<td>Count of distinct phones (365 or 2021+)<\/td>\n<td>The number of different people<\/td>\n<td>=COUNTA(UNIQUE(G2:G9))<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The trick is in the running count. The first reference is locked with dollar signs ($G$2) and the second is not (G2), so the range grows by one row each time the formula is copied down. If the dollar signs are new to you, our post on <a href=\"https:\/\/www.skillovilla.com\/blogs\/kick-start-excel-absolute-and-relative-cell-referencing\">absolute and relative cell references<\/a> explains them. Here is the repeat flag on the cleaned sheet.<\/p>\n<table>\n<thead>\n<tr>\n<th>Row<\/th>\n<th>Name<\/th>\n<th>Course<\/th>\n<th>Running count<\/th>\n<th>Repeat flag<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>2<\/td>\n<td>Ankit Verma<\/td>\n<td>Bank PO<\/td>\n<td>1<\/td>\n<td>FALSE<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>Priya Singh<\/td>\n<td>SSC CGL<\/td>\n<td>1<\/td>\n<td>FALSE<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>Ankit Verma<\/td>\n<td>Bank PO<\/td>\n<td>2<\/td>\n<td>TRUE<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>Rohit Yadav<\/td>\n<td>Bank PO<\/td>\n<td>1<\/td>\n<td>FALSE<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>Priya Singh<\/td>\n<td>SSC CGL<\/td>\n<td>2<\/td>\n<td>TRUE<\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>Ankit Verma<\/td>\n<td>Bank PO<\/td>\n<td>3<\/td>\n<td>TRUE<\/td>\n<\/tr>\n<tr>\n<td>8<\/td>\n<td>Neha Mishra<\/td>\n<td>Bank Clerk<\/td>\n<td>1<\/td>\n<td>FALSE<\/td>\n<\/tr>\n<tr>\n<td>9<\/td>\n<td>Rohit Yadav<\/td>\n<td>SSC CGL<\/td>\n<td>1<\/td>\n<td>FALSE<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Filter the flag column to TRUE, check the three rows, then delete them. Slower than Remove Duplicates, and much easier to audit.<\/p>\n<h2>Method 4: list unique values with UNIQUE<\/h2>\n<p>In Microsoft 365 and Excel 2021 or later, =UNIQUE(G2:G9) in an empty cell lists each phone number once, and =UNIQUE(A2:E9) returns the rows with exact repeats removed. The source is never touched and the list updates when it changes. UNIQUE ignores case too.<\/p>\n<p>In Excel 2019 and older, the nearest equivalent is Data &gt; Advanced (in the Sort &amp; Filter group), choosing &#8220;Copy to another location&#8221; and ticking &#8220;Unique records only&#8221;. It is a one-time copy that does not update.<\/p>\n<h2>Method 5: Power Query, when the clean-up repeats every month<\/h2>\n<p>If the enquiry sheet is exported fresh every month and cleaned the same way every time, do the cleaning in Power Query once. Load the data with Data &gt; Get Data, select the key columns in the editor, choose Home &gt; Remove Rows &gt; Remove Duplicates, and the step reruns every time you refresh. One difference to know: Power Query&#8217;s Remove Duplicates is case-sensitive, so &#8220;ankit verma&#8221; and &#8220;Ankit Verma&#8221; stay as two rows unless you apply Transform &gt; Format &gt; Capitalize Each Word first. Our lesson on Power Query in Excel, part of this series, walks through the whole set-up.<\/p>\n<h2>Clean the data first, or the duplicates hide<\/h2>\n<p>Remove Duplicates compares values exactly, apart from letter case. Microsoft&#8217;s own documentation adds a stranger rule: it compares what each cell displays, so the same date formatted as 01-10-2026 in one cell and 1 Oct 2026 in another counts as two different values. Anything that makes the same fact look different hides a duplicate. These are the usual causes in an Indian business export, and the fix for each.<\/p>\n<table>\n<thead>\n<tr>\n<th>Problem<\/th>\n<th>How to spot it<\/th>\n<th>Fix<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Leading, trailing or double spaces<\/td>\n<td>=LEN(B2) is larger than the visible text<\/td>\n<td>=TRIM(B2) in a helper column<\/td>\n<\/tr>\n<tr>\n<td>Non-breaking spaces from a web form or PDF<\/td>\n<td>TRIM leaves them in place<\/td>\n<td>=TRIM(SUBSTITUTE(B2, CHAR(160), &#8221; &#8220;))<\/td>\n<\/tr>\n<tr>\n<td>Inconsistent capitals<\/td>\n<td>&#8220;ankit verma&#8221; next to &#8220;Ankit Verma&#8221;<\/td>\n<td>=PROPER(TRIM(B2))<\/td>\n<\/tr>\n<tr>\n<td>Phone numbers with +91, spaces or dashes<\/td>\n<td>Lengths of 10, 12 and 15 in one column<\/td>\n<td>=RIGHT(SUBSTITUTE(SUBSTITUTE(C2, &#8221; &#8220;, &#8220;&#8221;), &#8220;+&#8221;, &#8220;&#8221;), 10)<\/td>\n<\/tr>\n<tr>\n<td>Numbers stored as text<\/td>\n<td>Green triangle in the corner, left-aligned numbers<\/td>\n<td>Select, click the warning icon, Convert to Number<\/td>\n<\/tr>\n<tr>\n<td>Dates stored as text<\/td>\n<td>They do not sort by date and DATE functions return #VALUE!<\/td>\n<td>Data &gt; Text to Columns, step 3, Date: DMY<\/td>\n<\/tr>\n<tr>\n<td>Same place, different spellings<\/td>\n<td>Bangalore and Bengaluru, Gurgaon and Gurugram<\/td>\n<td>Ctrl+H with &#8220;Match entire cell contents&#8221; ticked<\/td>\n<\/tr>\n<tr>\n<td>Blank rows inside the data<\/td>\n<td>Ctrl+Down Arrow stops early<\/td>\n<td>Filter a column that is never empty for (Blanks), then delete those rows<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>On our sheet, two helper columns do the work. Column F holds =PROPER(TRIM(B2)) and column G holds the phone formula from the table above. This is what they return.<\/p>\n<table>\n<thead>\n<tr>\n<th>Row<\/th>\n<th>Original phone<\/th>\n<th>Cleaned phone (G)<\/th>\n<th>Cleaned name (F)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>2<\/td>\n<td>9839012345<\/td>\n<td>9839012345<\/td>\n<td>Ankit Verma<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>9415067890<\/td>\n<td>9415067890<\/td>\n<td>Priya Singh<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>9839012345<\/td>\n<td>9839012345<\/td>\n<td>Ankit Verma<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>+91 94150 67890<\/td>\n<td>9415067890<\/td>\n<td>Priya Singh<\/td>\n<\/tr>\n<tr>\n<td>8<\/td>\n<td>8960054321<\/td>\n<td>8960054321<\/td>\n<td>Neha Mishra<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Rows 5, 7 and 9 need no change, so they are left out. The phone formula strips spaces, then the plus sign, then keeps the last ten digits, which removes the 91 country code. Once G is filled, copy columns F and G, paste them back as values (Ctrl+Alt+V, then V and Enter), and run Remove Duplicates on Phone and Course. The result is the five-row list in the earlier table.<\/p>\n<p>Phone is a better key than name. Two students called Rohit Yadav in Lucknow is plausible; two with the same mobile number is not. Use an ID, phone, email or order number as the key, never a name on its own.<\/p>\n<h2>Mistakes that remove the wrong rows<\/h2>\n<p><strong>Selecting one column and clicking Remove Duplicates.<\/strong> Excel warns you and offers &#8220;Expand the selection&#8221; or &#8220;Continue with the current selection&#8221;. Continuing deletes duplicate cells from that column only and shifts the cells below them up, so phone numbers no longer sit next to the right names. Always choose Expand, or click a single cell before you start.<\/p>\n<p><strong>Ticking every column.<\/strong> A date, a timestamp or a serial number makes every row unique, and Excel reports that nothing was found.<\/p>\n<p><strong>Ticking too few columns.<\/strong> Removing on Name alone would merge two genuinely different people who share a name. Removing on Phone alone would delete Rohit&#8217;s SSC CGL enquiry, which the institute wants to keep.<\/p>\n<p><strong>Deduplicating before cleaning.<\/strong> You get a confident message and a list that still holds Priya twice.<\/p>\n<p><strong>Running it on the only copy.<\/strong> Undo works only until the file is closed. Keep the raw export in a separate tab or file.<\/p>\n<h2>Removing duplicates in Google Sheets<\/h2>\n<p>Google Sheets has the same feature at Data &gt; Data cleanup &gt; Remove duplicates, and the same menu has Trim whitespace. UNIQUE and COUNTIF work as in Excel.<\/p>\n<p>In SQL, the same job uses GROUP BY with HAVING COUNT(*) &gt; 1 to find duplicates and a window function to delete them; our lesson on deleting duplicate rows in SQL covers it. Both versions are common <a href=\"https:\/\/www.skillovilla.com\/blogs\/excel-interview-questions\">Excel interview<\/a> and SQL interview tasks.<\/p>\n<h2>Frequently asked questions<\/h2>\n<h3>How do I remove duplicates in Excel but keep one copy?<\/h3>\n<p>Use Data &gt; Remove Duplicates, which always keeps the first occurrence of each duplicate group and deletes the others. If you want to keep a specific copy, such as the most recent one, sort the data so that copy comes first before you run it. Click a single cell inside the data before you start, so Excel works on whole rows.<\/p>\n<h3>Is Remove Duplicates in Excel case-sensitive?<\/h3>\n<p>No. Excel&#8217;s Remove Duplicates treats &#8220;ankit verma&#8221; and &#8220;Ankit Verma&#8221; as the same value. It does treat extra spaces, different phone formats and differently formatted dates as different values, so clean those first. Power Query&#8217;s Remove Duplicates is case-sensitive, which is the opposite behaviour.<\/p>\n<h3>How do I find duplicates in Excel without deleting them?<\/h3>\n<p>Select the column and use Home &gt; Conditional Formatting &gt; Highlight Cells Rules &gt; Duplicate Values to colour every repeated value. To flag duplicates across several columns, add a helper column such as =COUNTIFS($G$2:G2, G2, $D$2:D2, D2)&gt;1, which returns TRUE from the second occurrence onwards. Filter on TRUE to review them.<\/p>\n<h3>How do I remove duplicates based on one column only?<\/h3>\n<p>Click any cell in the data, open Data &gt; Remove Duplicates, untick every column, and tick only the one you care about. Excel still deletes entire rows, keeping the first row for each value in that column. Do not select the single column before starting, because that can delete cells from it alone and misalign your rows.<\/p>\n<h3>Why is Excel not removing all the duplicates?<\/h3>\n<p>The rows are not exact matches. The usual causes are trailing or double spaces, non-breaking spaces copied from the web, numbers stored as text in some rows, and the same value formatted differently, such as a phone with and without +91. Clean the key columns with TRIM, SUBSTITUTE and a consistent number format, then run Remove Duplicates again.<\/p>\n<h3>How do I count unique values in Excel?<\/h3>\n<p>In Microsoft 365 or Excel 2021 and later, =COUNTA(UNIQUE(range)) gives the number of distinct values. In older versions, =SUMPRODUCT(1\/COUNTIF(range, range)) works for a range with no blank cells. A pivot table can also count distinct values if you tick &#8220;Add this data to the Data Model&#8221; when creating it.<\/p>\n<h2>Clean data is the first job, not a chore<\/h2>\n<p>Most of the time an analyst spends in Excel goes on making data trustworthy before anything is calculated on it. Duplicates are the most common fault and the easiest to miss, because the totals still look reasonable. Once the list is clean, the <a href=\"https:\/\/www.skillovilla.com\/blogs\/pivot-tables-excel\">pivot tables<\/a> and formulas built on it can be trusted, and our guide to <a href=\"https:\/\/www.skillovilla.com\/blogs\/excel-for-data-analysis\">Excel for data analysis<\/a> shows where they go next.<\/p>\n<p>SkilloVilla&#8217;s <a href=\"https:\/\/www.skillovilla.com\/courses\/excel-beginner-to-advanced\">Excel: Beginner to Advanced course<\/a> has a module on data cleaning techniques, alongside text and date functions, data validation, lookup functions and pivot tables, taught in live classes. If you want Excel inside a full analyst programme with SQL, Python and placement support, see the <a href=\"https:\/\/www.skillovilla.com\/tracks\/data-analytics-python\">Data Analytics with Python track<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Remove duplicates in Excel with Data > Remove Duplicates, COUNTIFS, UNIQUE or Power Query, and clean the spaces and formats that hide duplicates.<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[202],"tags":[],"class_list":["post-4023","post","type-post","status-publish","format-standard","hentry","category-excel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Remove Duplicates in Excel, and Clean the Data First<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Remove Duplicates in Excel, and Clean the Data First\" \/>\n<meta property=\"og:description\" content=\"Remove duplicates in Excel with Data &gt; Remove Duplicates, COUNTIFS, UNIQUE or Power Query, and clean the spaces and formats that hide duplicates.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel\" \/>\n<meta property=\"og:site_name\" content=\"SkilloVilla\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-23T16:50:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-23T16:51:20+00:00\" \/>\n<meta name=\"author\" content=\"SkilloVilla Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"SkilloVilla Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel\"},\"author\":{\"name\":\"SkilloVilla Team\",\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/#\/schema\/person\/f64a2675b6d238b7e44744a87e5c4943\"},\"headline\":\"How to Remove Duplicates in Excel, and Clean the Data First\",\"datePublished\":\"2026-11-23T16:50:55+00:00\",\"dateModified\":\"2026-11-23T16:51:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel\"},\"wordCount\":2488,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/#organization\"},\"articleSection\":[\"excel\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel\",\"url\":\"https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel\",\"name\":\"How to Remove Duplicates in Excel, and Clean the Data First\",\"isPartOf\":{\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/#website\"},\"datePublished\":\"2026-11-23T16:50:55+00:00\",\"dateModified\":\"2026-11-23T16:51:20+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.skillovilla.com\/blogs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Remove Duplicates in Excel, and Clean the Data First\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/#website\",\"url\":\"https:\/\/www.skillovilla.com\/blogs\/\",\"name\":\"SkilloVilla\",\"description\":\"Data careers, taught live\",\"publisher\":{\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.skillovilla.com\/blogs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/#organization\",\"name\":\"SkilloVilla\",\"url\":\"https:\/\/www.skillovilla.com\/blogs\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.skillovilla.com\/blogs\/wp-content\/uploads\/2021\/07\/logo-thumbnail.png\",\"contentUrl\":\"https:\/\/www.skillovilla.com\/blogs\/wp-content\/uploads\/2021\/07\/logo-thumbnail.png\",\"width\":1200,\"height\":627,\"caption\":\"SkilloVilla\"},\"image\":{\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/#\/schema\/person\/f64a2675b6d238b7e44744a87e5c4943\",\"name\":\"SkilloVilla Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5e0b6f9e8405f5d6fc302700051e351ffa38fb1cf2709a0cb4e96b5622c497d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5e0b6f9e8405f5d6fc302700051e351ffa38fb1cf2709a0cb4e96b5622c497d0?s=96&d=mm&r=g\",\"caption\":\"SkilloVilla Team\"},\"url\":\"https:\/\/www.skillovilla.com\/blogs\/author\/sankalp_agarwal\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Remove Duplicates in Excel, and Clean the Data First","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel","og_locale":"en_US","og_type":"article","og_title":"How to Remove Duplicates in Excel, and Clean the Data First","og_description":"Remove duplicates in Excel with Data > Remove Duplicates, COUNTIFS, UNIQUE or Power Query, and clean the spaces and formats that hide duplicates.","og_url":"https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel","og_site_name":"SkilloVilla","article_published_time":"2026-11-23T16:50:55+00:00","article_modified_time":"2026-11-23T16:51:20+00:00","author":"SkilloVilla Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"SkilloVilla Team","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel#article","isPartOf":{"@id":"https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel"},"author":{"name":"SkilloVilla Team","@id":"https:\/\/www.skillovilla.com\/blogs\/#\/schema\/person\/f64a2675b6d238b7e44744a87e5c4943"},"headline":"How to Remove Duplicates in Excel, and Clean the Data First","datePublished":"2026-11-23T16:50:55+00:00","dateModified":"2026-11-23T16:51:20+00:00","mainEntityOfPage":{"@id":"https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel"},"wordCount":2488,"commentCount":0,"publisher":{"@id":"https:\/\/www.skillovilla.com\/blogs\/#organization"},"articleSection":["excel"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel","url":"https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel","name":"How to Remove Duplicates in Excel, and Clean the Data First","isPartOf":{"@id":"https:\/\/www.skillovilla.com\/blogs\/#website"},"datePublished":"2026-11-23T16:50:55+00:00","dateModified":"2026-11-23T16:51:20+00:00","breadcrumb":{"@id":"https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.skillovilla.com\/blogs\/remove-duplicates-in-excel#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.skillovilla.com\/blogs"},{"@type":"ListItem","position":2,"name":"How to Remove Duplicates in Excel, and Clean the Data First"}]},{"@type":"WebSite","@id":"https:\/\/www.skillovilla.com\/blogs\/#website","url":"https:\/\/www.skillovilla.com\/blogs\/","name":"SkilloVilla","description":"Data careers, taught live","publisher":{"@id":"https:\/\/www.skillovilla.com\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.skillovilla.com\/blogs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.skillovilla.com\/blogs\/#organization","name":"SkilloVilla","url":"https:\/\/www.skillovilla.com\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.skillovilla.com\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/www.skillovilla.com\/blogs\/wp-content\/uploads\/2021\/07\/logo-thumbnail.png","contentUrl":"https:\/\/www.skillovilla.com\/blogs\/wp-content\/uploads\/2021\/07\/logo-thumbnail.png","width":1200,"height":627,"caption":"SkilloVilla"},"image":{"@id":"https:\/\/www.skillovilla.com\/blogs\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.skillovilla.com\/blogs\/#\/schema\/person\/f64a2675b6d238b7e44744a87e5c4943","name":"SkilloVilla Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.skillovilla.com\/blogs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5e0b6f9e8405f5d6fc302700051e351ffa38fb1cf2709a0cb4e96b5622c497d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5e0b6f9e8405f5d6fc302700051e351ffa38fb1cf2709a0cb4e96b5622c497d0?s=96&d=mm&r=g","caption":"SkilloVilla Team"},"url":"https:\/\/www.skillovilla.com\/blogs\/author\/sankalp_agarwal"}]}},"_links":{"self":[{"href":"https:\/\/www.skillovilla.com\/blogs\/wp-json\/wp\/v2\/posts\/4023","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skillovilla.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skillovilla.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skillovilla.com\/blogs\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skillovilla.com\/blogs\/wp-json\/wp\/v2\/comments?post=4023"}],"version-history":[{"count":1,"href":"https:\/\/www.skillovilla.com\/blogs\/wp-json\/wp\/v2\/posts\/4023\/revisions"}],"predecessor-version":[{"id":4024,"href":"https:\/\/www.skillovilla.com\/blogs\/wp-json\/wp\/v2\/posts\/4023\/revisions\/4024"}],"wp:attachment":[{"href":"https:\/\/www.skillovilla.com\/blogs\/wp-json\/wp\/v2\/media?parent=4023"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skillovilla.com\/blogs\/wp-json\/wp\/v2\/categories?post=4023"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skillovilla.com\/blogs\/wp-json\/wp\/v2\/tags?post=4023"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}