{"id":29426,"date":"2023-06-16T16:47:10","date_gmt":"2023-06-16T14:47:10","guid":{"rendered":"https:\/\/www.myexcelonline.com\/?p=29426"},"modified":"2024-06-10T21:38:57","modified_gmt":"2024-06-10T19:38:57","slug":"compare-two-columns-in-excel","status":"publish","type":"post","link":"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/compare-two-columns-in-excel\/","title":{"rendered":"6 Different Ways to Compare Two Columns in Excel &#8211; A Detailed Tutorial"},"content":{"rendered":"<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/5837834F-8D37-4CBE-B1CC-D057D0D2BE8A.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-29566\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/5837834F-8D37-4CBE-B1CC-D057D0D2BE8A-1024x576.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"1024\" height=\"576\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/5837834F-8D37-4CBE-B1CC-D057D0D2BE8A-1024x576.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/5837834F-8D37-4CBE-B1CC-D057D0D2BE8A-300x169.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/5837834F-8D37-4CBE-B1CC-D057D0D2BE8A-768x432.png 768w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/5837834F-8D37-4CBE-B1CC-D057D0D2BE8A.png 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Comparing data by <strong>analyzing and identifying similarities and differences<\/strong> is a task that is frequently encountered in various contexts. This task can be <strong>performed manually<\/strong> by visually looking at data one by one but it can be both <strong>time-consuming and prone to errors<\/strong>. Fortunately,<strong> Excel provides a solution<\/strong> for this issue!<\/p>\n<p>There are<strong> several techniques<\/strong> that allow us to easily <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/compare-two-excel-files\/\" target=\"_blank\" rel=\"noopener\">compare two columns<\/a> and streamline your data in Excel. Here are a few of those <strong>approaches<\/strong> &#8211;<\/p>\n<p>Let\u2019s look at these methods thoroughly!<\/p>\n<h4><strong>Download the Excel Workbook below to follow along and understand how to compare two columns in Excel &#8211;<br \/>\n<\/strong><a class=\"IRPP_minimalist icon-download\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Compare-Two-Columns-in-Excel.xlsx\" target=\"_blank\"><span class=\"ctaText px-3 text-capitalize\">Download excel workbook<\/span><span class=\"postTitle px-3\">Compare-Two-Columns-in-Excel.xlsx<\/span><\/a><\/h4>\n<div>\n<div>\n<p><strong><span id=\"1\" style=\"color: #ff0000\">Method 1: Equal Operator<\/span><\/strong><\/p>\n<\/div>\n<\/div>\n<p>This is a<strong> simple yet effective<\/strong> approach that allows users to <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/compare-two-lists\/\" target=\"_blank\" rel=\"noopener\">compare two<\/a> columns and <strong>check if the cell values are equal or not<\/strong>. To use this operator in Excel, simply<strong> add the equal sign (=) in between the two values<\/strong> that you want to compare.<\/p>\n<p>For example, if you want to compare the value mentioned in cells A2 and B2, you can enter the following <a class=\"wpil_keyword_link\" title=\"formula\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/top-excel-formulas-function-examples-to-get-better-at-microsoft-excel\/\" target=\"_blank\" rel=\"noopener\" data-wpil-keyword-link=\"linked\">formula<\/a> &#8211;<\/p>\n<p><strong>=A2=B2<\/strong><\/p>\n<p>If the <strong>values in the specified cells are equal<\/strong> then the function returns <strong>TRUE<\/strong> otherwise it returns FALSE.<\/p>\n<p>In this <strong>example<\/strong>, we are trying to individually compare two columns using the equal operator &#8211;<\/p>\n<p><strong><span style=\"color: #ff0000\">STEP 1:<\/span><\/strong> Create a new column.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-346.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29497\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-346.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"521\" height=\"677\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-346.png 521w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-346-231x300.png 231w\" sizes=\"(max-width: 521px) 100vw, 521px\" \/><\/a><\/p>\n<p><strong><span style=\"color: #ff0000\">STEP 2:<\/span> Input the two cells<\/strong> that you are trying to compare <strong>separated by an equal sign operator<\/strong>.<\/p>\n<p><strong>=A2=B2<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-347.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29498\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-347.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"707\" height=\"725\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-347.png 707w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-347-293x300.png 293w\" sizes=\"(max-width: 707px) 100vw, 707px\" \/><\/a><\/p>\n<p><strong><span style=\"color: #ff0000\">STEP 3:<\/span><\/strong> Copy the formula below to populate the formula for the remaining cells in the column.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-348.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29500\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-348.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"527\" height=\"586\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-348.png 527w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-348-270x300.png 270w\" sizes=\"(max-width: 527px) 100vw, 527px\" \/><\/a><\/p>\n<p>You can see that the rows with matching values will return the value as TRUE otherwise it will return the value as FALSE.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-348-Copy.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-29499 size-full\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-348-Copy.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"633\" height=\"719\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-348-Copy.png 633w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-348-Copy-264x300.png 264w\" sizes=\"(max-width: 633px) 100vw, 633px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span id=\"2\" style=\"color: #ff0000\">Method 2: EXACT Function<\/span><\/strong><\/p>\n<p>The <strong>Equal<\/strong> operator is used to compare cell values but it<strong> does not consider case sensitivity<\/strong>. The <strong>EXACT<\/strong> function is used <strong>specifically to compare text<\/strong> keeping in mind the\u00a0<strong>distinction between uppercase and lowercase letters<\/strong>. It will return TRUE only if the values are identical in a case-sensitive manner as well.<\/p>\n<p>Let&#8217;s compare two columns in this example using the EXACT function &#8211;<\/p>\n<p><strong><span style=\"color: #ff0000\">STEP 1:<\/span><\/strong> Enter the <strong>EXACT<\/strong> function.<\/p>\n<p><strong>=EXACT(<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-350.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29505\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-350.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"775\" height=\"592\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-350.png 775w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-350-300x229.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-350-768x587.png 768w\" sizes=\"(max-width: 775px) 100vw, 775px\" \/><\/a><\/p>\n<p><strong><span style=\"color: #ff0000\">STEP 2:<\/span><\/strong> Enter the<strong> first argument<\/strong> i.e. the first text that you need to compare. Here, it is in cell A2.<\/p>\n<p><strong>=EXACT(A2,<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-355.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29510\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-355.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"773\" height=\"595\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-355.png 773w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-355-300x231.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-355-768x591.png 768w\" sizes=\"(max-width: 773px) 100vw, 773px\" \/><\/a><\/p>\n<p><strong><span style=\"color: #ff0000\">STEP 3:<\/span><\/strong> Enter the<strong> second argument<\/strong> i.e. the second text that you need to compare. Here, it is in cell B2.<\/p>\n<p><strong>=EXACT(A2,B2)<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-351.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29506\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-351.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"778\" height=\"600\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-351.png 778w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-351-300x231.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-351-768x592.png 768w\" sizes=\"(max-width: 778px) 100vw, 778px\" \/><\/a><\/p>\n<p><strong><span style=\"color: #ff0000\">STEP 4:<\/span><\/strong> <strong>Copy the formula below<\/strong> to populate the formula for the remaining cells in the column.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-353.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29508\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-353.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"777\" height=\"598\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-353.png 777w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-353-300x231.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-353-768x591.png 768w\" sizes=\"(max-width: 777px) 100vw, 777px\" \/><\/a><\/p>\n<p>You can see when the <strong>values in columns A and B are exactly the same in case sensitive manner<\/strong>, the function is returning the value as <strong>TRUE<\/strong> or <strong>else FALSE<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-359.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29509\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-359.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"784\" height=\"549\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-359.png 784w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-359-300x210.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-359-768x538.png 768w\" sizes=\"(max-width: 784px) 100vw, 784px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span id=\"3\" style=\"color: #ff0000\">Method 3: IF Function<\/span><\/strong><\/p>\n<p>You can use the IF function in Excel <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/if-and-match-formulas\/\" target=\"_blank\" rel=\"noopener\">to <strong>compare two columns<\/strong><\/a> and <strong>specify the desired output<\/strong> if the comparison is TRUE or FALSE. As compared to the equal operator, it helps you in providing <strong>more flexibility<\/strong> as opposed to an equal operator where you can only display boolean results &#8211; TRUE or FALSE.<\/p>\n<p>Here&#8217;s an example &#8211;<\/p>\n<p><strong><span style=\"color: #ff0000\">STEP 1:<\/span><\/strong> Enter the <strong>IF<\/strong> function.<\/p>\n<p><strong>=IF(<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-360.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29511\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-360.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"781\" height=\"599\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-360.png 781w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-360-300x230.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-360-768x589.png 768w\" sizes=\"(max-width: 781px) 100vw, 781px\" \/><\/a><\/p>\n<p><strong><span style=\"color: #ff0000\">STEP 2:<\/span><\/strong> Enter the<strong> first argument<\/strong> i.e. the logical test.<\/p>\n<p><strong>=IF(A2=B2,<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-361.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29512\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-361.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"785\" height=\"598\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-361.png 785w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-361-300x229.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-361-768x585.png 768w\" sizes=\"(max-width: 785px) 100vw, 785px\" \/><\/a><\/p>\n<p><strong><span style=\"color: #ff0000\">STEP 3:<\/span><\/strong> Enter the<strong> second argument<\/strong> i.e. the value if the condition is true.<\/p>\n<p><strong>=IF(A2=B2,&#8221;Match&#8221;,<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-362.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29513\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-362.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"786\" height=\"597\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-362.png 786w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-362-300x228.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-362-768x583.png 768w\" sizes=\"(max-width: 786px) 100vw, 786px\" \/><\/a><\/p>\n<p><strong><span style=\"color: #ff0000\">STEP 4:<\/span><\/strong> Enter the<strong> third argument<\/strong> i.e. the value if the condition is false.<\/p>\n<p><strong>=IF(A2=B2,&#8221;Match&#8221;,&#8221;No Match&#8221;)<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-363.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29514\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-363.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"712\" height=\"595\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-363.png 712w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-363-300x251.png 300w\" sizes=\"(max-width: 712px) 100vw, 712px\" \/><\/a><\/p>\n<p><strong><span style=\"color: #ff0000\">STEP 5:<\/span><\/strong> <strong>Copy the formula below<\/strong> to populate the formula for the remaining cells in the column.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-364.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29515\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-364.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"526\" height=\"558\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-364.png 526w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-364-283x300.png 283w\" sizes=\"(max-width: 526px) 100vw, 526px\" \/><\/a><\/p>\n<p>You can see when the <strong>values in columns A and B are exactly the same<\/strong>, the function returns the value as <strong>TRUE<\/strong> or <strong>else FALSE<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-365.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29516\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-365.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"730\" height=\"599\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-365.png 730w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-365-300x246.png 300w\" sizes=\"(max-width: 730px) 100vw, 730px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span id=\"4\" style=\"color: #ff0000\">Method 4: Conditional Formatting<\/span><\/strong><\/p>\n<p>To use conditional formatting to <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/compare-two-columns\/\" target=\"_blank\" rel=\"noopener\">compare two columns in Excel<\/a>, follow the steps below &#8211;<\/p>\n<p><a><strong><span style=\"color: #ff0000\">STEP 1:<\/span><\/strong><b>\u00a0<\/b><strong>S<\/strong><\/a><strong>elect the cell range<\/strong> where you want the formatting to be shown.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-366.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29519\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-366.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"473\" height=\"556\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-366.png 473w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-366-255x300.png 255w\" sizes=\"(max-width: 473px) 100vw, 473px\" \/><\/a><\/p>\n<p><a><strong><span style=\"color: #ff0000\">STEP 2:<\/span><\/strong><b> <\/b><\/a>Go to\u00a0<strong>Home\u00a0&gt;\u00a0Condition Formatting\u00a0&gt;\u00a0New Rule.<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-367.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29520\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-367.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"1501\" height=\"577\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-367.png 1501w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-367-300x115.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-367-1024x394.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-367-768x295.png 768w\" sizes=\"(max-width: 1501px) 100vw, 1501px\" \/><\/a><\/p>\n<p><a><strong><span style=\"color: #ff0000\">STEP 3: <\/span><\/strong><\/a>In the New Formatting Rule dialog box, select <strong>Use a Formula to determine which cells to format<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-368.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-29518\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-368.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"545\" height=\"389\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-368.png 637w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-368-300x214.png 300w\" sizes=\"(max-width: 545px) 100vw, 545px\" \/><\/a><\/p>\n<p><a><strong><span style=\"color: #ff0000\">STEP 4: <\/span><\/strong><\/a> Type the <strong>formula<\/strong> stated below \u2013<\/p>\n<p><strong>=$A2&lt;&gt;$B2<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-369.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29526\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-369.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"641\" height=\"452\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-369.png 641w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-369-300x212.png 300w\" sizes=\"(max-width: 641px) 100vw, 641px\" \/><\/a><\/p>\n<p><strong><a><span style=\"color: #ff0000\">STEP 5:<\/span><\/a> <\/strong>Click on the\u00a0<strong>Format<\/strong>\u00a0button.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-370.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-29527\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-370.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"489\" height=\"351\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-370.png 632w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-370-300x216.png 300w\" sizes=\"(max-width: 489px) 100vw, 489px\" \/><\/a><\/p>\n<p><strong><a><span style=\"color: #ff0000\">STEP 6:<\/span><\/a> <\/strong>Under the <strong>Fill<\/strong> tab, select the light red color. Click OK.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-371.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-29528\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-371.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"506\" height=\"504\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-371.png 671w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-371-300x300.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-371-150x150.png 150w\" sizes=\"(max-width: 506px) 100vw, 506px\" \/><\/a><\/p>\n<p><strong><a><span style=\"color: #ff0000\">STEP 7:<\/span><\/a><\/strong> Double-check the result under Preview and then click <strong>OK<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-372.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-29529\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-372.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"517\" height=\"369\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-372.png 640w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-372-300x214.png 300w\" sizes=\"(max-width: 517px) 100vw, 517px\" \/><\/a><\/p>\n<p>And Voila, you will see that the desired result has been achieved. The cell values in column A that do not match Column B will be highlighted in light red fill.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-373.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-29530\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-373.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"416\" height=\"581\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-373.png 485w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-373-215x300.png 215w\" sizes=\"(max-width: 416px) 100vw, 416px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span id=\"5\" style=\"color: #ff0000\">Method 5: MATCH Function<\/span><\/strong><\/p>\n<p>The MATCH function is typically used to return the position of an item in a range. But, you can also use it to compare two columns and <strong>check if a specific item in <em>List1\u00a0<\/em>exists in\u00a0<em>List2<\/em><\/strong>. The function will\u00a0<strong>return the row position of that item in\u00a0<em>List2\u00a0<\/em>hence confirming that it exists<\/strong>.\u00a0 If you get a\u00a0<strong>#N\/A it means that the cell\u00b4s item does not exist<\/strong>\u00a0in\u00a0<em>List2<\/em>.<\/p>\n<p>Let&#8217;s understand it better with an example &#8211;<\/p>\n<p><strong><a><span style=\"color: #ff0000\">STEP 1:<\/span><\/a><\/strong> Enter the <strong>MATCH<\/strong> function.<\/p>\n<p><strong>=MATCH(<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-386.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29537\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-386.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"773\" height=\"650\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-386.png 773w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-386-300x252.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-386-768x646.png 768w\" sizes=\"(max-width: 773px) 100vw, 773px\" \/><\/a><\/p>\n<p><strong><a><span style=\"color: #ff0000\">STEP 2:<\/span><\/a><\/strong> Enter the <strong>first argument &#8211; lookup_value<\/strong>. Here, it is mentioned in cell A2.<\/p>\n<p><strong>=MATCH(A2,<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-387.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29538\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-387.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"770\" height=\"651\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-387.png 770w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-387-300x254.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-387-768x649.png 768w\" sizes=\"(max-width: 770px) 100vw, 770px\" \/><\/a><\/p>\n<p><strong><a><span style=\"color: #ff0000\">STEP 3:<\/span><\/a><\/strong> Enter the <strong>second argument &#8211; lookup_array<\/strong>. Here, it is the range B2:B30.<\/p>\n<p><strong>=MATCH(A2,$B$2:$B$27,<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-388.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29539\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-388.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"773\" height=\"667\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-388.png 773w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-388-300x259.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-388-768x663.png 768w\" sizes=\"(max-width: 773px) 100vw, 773px\" \/><\/a><\/p>\n<p><strong><a><span style=\"color: #ff0000\">STEP 4:<\/span><\/a><\/strong> Enter the<strong> third argument &#8211; match_type<\/strong>. Here, it is 0 for an exact match.<\/p>\n<p><strong>=MATCH(A2,$B$2:$B$27,0)<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-389.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29540\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-389.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"641\" height=\"652\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-389.png 641w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-389-295x300.png 295w\" sizes=\"(max-width: 641px) 100vw, 641px\" \/><\/a><\/p>\n<p><strong><span style=\"color: #ff0000\">STEP 5:<\/span><\/strong> <strong>Copy the formula below<\/strong> to populate the formula for the remaining cells in the column.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-391-1.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29542\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-391-1.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"613\" height=\"644\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-391-1.png 613w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-391-1-286x300.png 286w\" sizes=\"(max-width: 613px) 100vw, 613px\" \/><\/a><\/p>\n<p>You can see when the <strong>values in columns A and B are the same<\/strong>, the function <strong>returns the value as a row number<\/strong>\u00a0or <strong>else #N\/A<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-392-1.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29541\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-392-1.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"544\" height=\"650\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-392-1.png 544w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-392-1-251x300.png 251w\" sizes=\"(max-width: 544px) 100vw, 544px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span id=\"6\" style=\"color: #ff0000\">Method 6: Highlight Row Difference<\/span><\/strong><\/p>\n<p>You can easily\u00a0<strong>highlight differences in value in each row<\/strong> using an in-built feature in Excel. It will provide you with an idea of how many lines in the columns differ in values.<\/p>\n<p>In the data below, you have two lists in Column A and Column B respectively.<\/p>\n<p>Follow the\u00a0<strong>steps below<\/strong> to compare two columsn and highlight <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/row-differences\/\" target=\"_blank\" rel=\"noopener\">row difference<\/a> :<\/p>\n<p><strong><span style=\"color: #ff0000\">STEP 1:<\/span><\/strong> Select both columns.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-374.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29531\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-374.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"480\" height=\"686\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-374.png 480w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-374-210x300.png 210w\" sizes=\"(max-width: 480px) 100vw, 480px\" \/><\/a><\/p>\n<p><strong><span style=\"color: #ff0000\">STEP 2:<\/span><\/strong>\u00a0Go to\u00a0<strong>Home<\/strong>\u00a0&gt;\u00a0<strong>Find &amp; Select<\/strong>\u00a0&gt;\u00a0<strong>Go To Special<\/strong>\u00a0or simply press keys\u00a0<strong>Ctrl + G<\/strong>\u00a0and Select\u00a0<strong>Special<\/strong>\u00a0to open the Go To Special dialog box.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-375.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29532\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-375.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"415\" height=\"345\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-375.png 415w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-375-300x249.png 300w\" sizes=\"(max-width: 415px) 100vw, 415px\" \/><\/a><\/p>\n<p><strong><span style=\"color: #ff0000\">STEP 3:<\/span><\/strong>\u00a0Select\u00a0<strong>Row Difference<\/strong>\u00a0and Click\u00a0<strong>OK<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-377.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29533\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-377.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"375\" height=\"426\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-377.png 375w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-377-264x300.png 264w\" sizes=\"(max-width: 375px) 100vw, 375px\" \/><\/a><\/p>\n<p>And, Voila!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-378.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-29534\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-378.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"404\" height=\"600\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-378.png 455w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-378-202x300.png 202w\" sizes=\"(max-width: 404px) 100vw, 404px\" \/><\/a><\/p>\n<p>All the values in List 2 that do not match the corresponding value in List 1 have been highlighted.<\/p>\n<p><strong><span style=\"color: #ff0000\">STEP 4:<\/span><\/strong>\u00a0You can mark these cells with color as well. Go to\u00a0<strong>Home<\/strong>\u00a0&gt;\u00a0<strong>Font Color<\/strong>\u00a0&gt; Select\u00a0<strong>Red<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-379.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29535\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-379.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"515\" height=\"893\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-379.png 515w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-379-173x300.png 173w\" sizes=\"(max-width: 515px) 100vw, 515px\" \/><\/a><\/p>\n<p>This will permanently\u00a0<strong>highlight the cells in red font color<\/strong>\u00a0for future reference.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-380.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29536\" title=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-380.png\" alt=\"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial\" width=\"461\" height=\"678\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-380.png 461w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2023\/06\/Screenshot-380-204x300.png 204w\" sizes=\"(max-width: 461px) 100vw, 461px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Comparing data by analyzing and identifying similarities and differences is a task that is frequently encountered in various contexts. This task can be performed manually by visually looking at data one by one but it can be both time-consuming and prone to errors. Fortunately, Excel provides a solution for this issue! There are several techniques [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":29566,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cos_headline_score":0,"cos_seo_score":0,"cos_headline_text":"6 Different Ways to Compare Two Columns in Excel - A Detailed Tutorial","cos_headline_has_been_analyzed":false,"cos_last_analyzed_headline":[],"om_disable_all_campaigns":false},"categories":[35,479,283,276],"tags":[1259,1258,1257,1260],"acf":[],"_links":{"self":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/29426"}],"collection":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/comments?post=29426"}],"version-history":[{"count":0,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/29426\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media\/29566"}],"wp:attachment":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media?parent=29426"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/categories?post=29426"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/tags?post=29426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}