{"id":873,"date":"2018-06-30T18:44:56","date_gmt":"2018-06-30T18:44:56","guid":{"rendered":"http:\/\/officetuts.net\/excel\/?p=873"},"modified":"2024-03-29T13:43:49","modified_gmt":"2024-03-29T13:43:49","slug":"highlight-duplicate-rows","status":"publish","type":"post","link":"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/","title":{"rendered":"Highlight Duplicate Rows in Excel"},"content":{"rendered":"\n

Depending on the data you have in your worksheet you may use one of the following ways to highlight duplicate rows.<\/p>\n\n\n\n

Highlight duplicate rows in one column<\/h2>\n\n\n\n

The first one is the most basic. Here, we have only one column, so when we highlight a single cell, we also highlight a single row.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

To highlight duplicate rows, first select cells from A1<\/strong> to A9.<\/strong><\/p>\n\n\n\n

Go to HOME >> Styles >> Conditional Formatting >> Highlight Cells Rules<\/strong> and select Duplicate Values<\/a>.<\/p>\n\n\n\n

A new window will appear.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Make sure that you\u2019ve selected Duplicate<\/strong> and click OK.<\/strong><\/p>\n\n\n\n

All rows which are duplicates are now highlighted.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Check multiple columns<\/h2>\n\n\n\n

We can\u2019t use the above method if we want to check duplicates by rows, that have more than one column.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

In the above example, each row consists of two columns. So Excel has to take into consideration both Name <\/strong>and Surname.<\/strong><\/p>\n\n\n\n

Let\u2019s create another column where we merge both columns<\/a> and call it Merged.<\/strong><\/p>\n\n\n\n

Enter the following formula in cell C2.<\/strong><\/p>\n\n\n\n

=CONCATENATE(A2,B2)<\/pre>\n\n\n\n

Use autofill<\/a> to fill the rest of the cells and press F9<\/strong> to refresh the workspace.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Now, when we use HOME >> Styles >> Conditional Formatting >> Highlight Cells Rules >> Duplicate Values\u2026<\/strong>on column C<\/strong> only this column will be highlighted.<\/p>\n\n\n\n

In order to highlight all columns (A<\/strong>,\u00a0B,<\/strong>\u00a0and\u00a0C<\/strong>), we have to use rules.<\/p>\n\n\n\n

    \n
  1. Select cells from A1<\/strong> to C10.<\/strong><\/li>\n\n\n\n
  2. Go to HOME >> Styles >> Conditional Formatting<\/strong> and click New Rule\u2026<\/strong>.<\/li>\n\n\n\n
  3. Click Use a formula to determine which cells to format<\/strong>.<\/li>\n\n\n\n
  4. Click the Format\u2026<\/strong> button to choose a color.<\/li>\n\n\n\n
  5. Enter the following formula: =COUNTIF($C$1:$C$10,$C1)>1<\/strong>.<\/li>\n\n\n\n
  6. Click OK.<\/strong><\/li>\n<\/ol>\n\n\n\n
    \"\"<\/figure>\n\n\n\n

    This is the final example.<\/p>\n\n\n\n

    \"\"<\/figure>\n\n\n\n

    Formula analysis:<\/strong><\/p>\n\n\n\n

    The COUNTIF function takes two arguments:<\/p>\n\n\n\n

    Range:<\/strong><\/p>\n\n\n\n

    =COUNTIF($C$1:$C$10, $C1)>1<\/pre>\n\n\n\n

    Criteria:<\/strong><\/p>\n\n\n\n

    =COUNTIF($C$1:$C$10, $C1)>1<\/pre>\n\n\n\n

    As you can see the criteria is $C1<\/strong>. There is no dollar sign<\/a> in front of number 1<\/strong>. That means that the row number<\/a> is not absolute. In other words, we check each criterion (C1<\/strong>, C2,<\/strong> \u2026<\/strong>, C10)<\/strong> and compare it to the range (C1:C10<\/strong>).<\/p>\n\n\n\n

    Read\u00a0this lesson<\/a>\u00a0if you want to learn more about\u00a0absolute and relative cell references<\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"

    Depending on the data you have in your worksheet you may use one of the following ways to highlight duplicate rows. Highlight duplicate…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[190],"yoast_head":"\nHighlight Duplicate Rows in Excel<\/title>\n<meta name=\"description\" content=\"Learn how to highlight duplicate rows in Excel using conditional formatting. Follow these simple steps to identify and highlight duplicate rows in one or multiple columns.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Highlight Duplicate Rows in Excel\" \/>\n<meta property=\"og:description\" content=\"Learn how to highlight duplicate rows in Excel using conditional formatting. Follow these simple steps to identify and highlight duplicate rows in one or multiple columns.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-06-30T18:44:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-29T13:43:49+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2018\/06\/row-in-one-column.png\" \/>\n<meta name=\"author\" content=\"Tomasz Decker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tomasz Decker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/\"},\"author\":{\"name\":\"Tomasz Decker\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"headline\":\"Highlight Duplicate Rows in Excel\",\"datePublished\":\"2018-06-30T18:44:56+00:00\",\"dateModified\":\"2024-03-29T13:43:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/\"},\"wordCount\":399,\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"image\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2018\/06\/row-in-one-column.png\",\"keywords\":[\"pinterest\"],\"articleSection\":[\"formulas\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/\",\"url\":\"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/\",\"name\":\"Highlight Duplicate Rows in Excel\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2018\/06\/row-in-one-column.png\",\"datePublished\":\"2018-06-30T18:44:56+00:00\",\"dateModified\":\"2024-03-29T13:43:49+00:00\",\"description\":\"Learn how to highlight duplicate rows in Excel using conditional formatting. Follow these simple steps to identify and highlight duplicate rows in one or multiple columns.\",\"breadcrumb\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/#primaryimage\",\"url\":\"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2018\/06\/row-in-one-column.png\",\"contentUrl\":\"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2018\/06\/row-in-one-column.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/officetuts.net\/excel\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Highlight Duplicate Rows in Excel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/officetuts.net\/excel\/#website\",\"url\":\"https:\/\/officetuts.net\/excel\/\",\"name\":\"\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/officetuts.net\/excel\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\",\"name\":\"Tomasz Decker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g\",\"caption\":\"Tomasz Decker\"},\"logo\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\"},\"description\":\"Spreadsheet and Python enthusiast.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Highlight Duplicate Rows in Excel","description":"Learn how to highlight duplicate rows in Excel using conditional formatting. Follow these simple steps to identify and highlight duplicate rows in one or multiple columns.","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:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/","og_locale":"en_US","og_type":"article","og_title":"Highlight Duplicate Rows in Excel","og_description":"Learn how to highlight duplicate rows in Excel using conditional formatting. Follow these simple steps to identify and highlight duplicate rows in one or multiple columns.","og_url":"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/","article_published_time":"2018-06-30T18:44:56+00:00","article_modified_time":"2024-03-29T13:43:49+00:00","og_image":[{"url":"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2018\/06\/row-in-one-column.png"}],"author":"Tomasz Decker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tomasz Decker","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/#article","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/"},"author":{"name":"Tomasz Decker","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"headline":"Highlight Duplicate Rows in Excel","datePublished":"2018-06-30T18:44:56+00:00","dateModified":"2024-03-29T13:43:49+00:00","mainEntityOfPage":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/"},"wordCount":399,"publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"image":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/#primaryimage"},"thumbnailUrl":"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2018\/06\/row-in-one-column.png","keywords":["pinterest"],"articleSection":["formulas"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/","url":"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/","name":"Highlight Duplicate Rows in Excel","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/#website"},"primaryImageOfPage":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/#primaryimage"},"image":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/#primaryimage"},"thumbnailUrl":"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2018\/06\/row-in-one-column.png","datePublished":"2018-06-30T18:44:56+00:00","dateModified":"2024-03-29T13:43:49+00:00","description":"Learn how to highlight duplicate rows in Excel using conditional formatting. Follow these simple steps to identify and highlight duplicate rows in one or multiple columns.","breadcrumb":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/#primaryimage","url":"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2018\/06\/row-in-one-column.png","contentUrl":"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2018\/06\/row-in-one-column.png"},{"@type":"BreadcrumbList","@id":"https:\/\/officetuts.net\/excel\/formulas\/highlight-duplicate-rows\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/officetuts.net\/excel\/"},{"@type":"ListItem","position":2,"name":"Highlight Duplicate Rows in Excel"}]},{"@type":"WebSite","@id":"https:\/\/officetuts.net\/excel\/#website","url":"https:\/\/officetuts.net\/excel\/","name":"","description":"","publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/officetuts.net\/excel\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42","name":"Tomasz Decker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g","caption":"Tomasz Decker"},"logo":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/"},"description":"Spreadsheet and Python enthusiast."}]}},"_links":{"self":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/873"}],"collection":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/comments?post=873"}],"version-history":[{"count":8,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/873\/revisions"}],"predecessor-version":[{"id":17384,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/873\/revisions\/17384"}],"wp:attachment":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/media?parent=873"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/categories?post=873"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/tags?post=873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}