Excel How to Compare Columns: A Step-by-Step Guide

Comparing columns in Excel is a handy skill to have, especially when you’re dealing with large datasets. It can help you quickly identify differences or similarities between two sets of data. Whether you’re a seasoned Excel pro or a beginner, this task is simple to accomplish once you know the steps.

Step by Step Tutorial: Excel How to Compare Columns

Before we dive into the steps, let’s understand what we’re aiming to achieve. Comparing columns in Excel allows you to see if there are any discrepancies or matches between two sets of data. This can be particularly useful for tasks such as reconciling accounts, finding duplicates, or ensuring consistency across reports.

Step 1: Open your Excel workbook

Open the Excel workbook containing the columns you wish to compare.

This step is self-explanatory. You need to have your Excel application running and the specific workbook open to carry out any tasks.

Step 2: Select the first column you want to compare

Click on the header of the first column you wish to compare to highlight the entire column.

Remember, you can also select a specific range within the column if you do not wish to compare the entire column. Just click and drag to select the range you want.

Step 3: Use the ‘Conditional Formatting’ feature

With the column selected, go to the ‘Home’ tab, click on ‘Conditional Formatting’, and then select ‘Highlight Cells Rules’ followed by ‘Duplicate Values’.

Conditional Formatting is a powerful tool in Excel that allows you to format cells based on certain criteria, such as whether the cell contents are duplicates or unique.

Step 4: Repeat steps 2 and 3 for the second column

Now, repeat the process for the second column you want to compare.

Make sure you apply the same conditional formatting rule to this column as you did to the first column.

Step 5: Review the results

Excel will highlight the cells that are duplicates or unique, depending on the option you selected in the Conditional Formatting.

Now you can easily see the differences or similarities between the two columns. If you need to, you can sort or filter the columns to further analyze the highlighted data.

After completing these steps, you’ll have a visually clear representation of how the data in the two columns compares. This can be incredibly useful for a variety of tasks and will save you the time and effort of manually searching through the data.

Tips: Excel How to Compare Columns

  • Make sure the data you are comparing is in the same format. For example, ensure that dates are formatted as dates in both columns.
  • If you’re comparing numbers, consider using the ‘Exact’ function to identify differences that might be due to rounding or decimal places.
  • Use ‘Conditional Formatting’ to highlight not just duplicates, but also unique values, to see which values appear in one column but not the other.
  • For a more advanced comparison, consider using Excel formulas such as VLOOKUP or MATCH.
  • Remember to clear the conditional formatting once you’re done comparing the columns to avoid confusion in the future.

Frequently Asked Questions: Excel How to Compare Columns

Can I compare more than two columns at a time?

Yes, you can compare multiple columns by applying the same conditional formatting rules to each column you wish to compare.

What if I only want to find unique values in one column?

You can use the ‘Conditional Formatting’ feature and select ‘Unique’ instead of ‘Duplicate’ to highlight only the unique values in a column.

How can I remove the highlighting after I’m done comparing?

Go to the ‘Home’ tab, click ‘Conditional Formatting’, and then select ‘Clear Rules’ from the drop-down menu. Choose to clear rules from the selected cells or the entire sheet.

Can I compare columns from different workbooks?

Yes, you can. Just open both workbooks and apply the conditional formatting rules to the columns you want to compare, one workbook at a time.

Is there a way to compare columns using formulas?

Yes, you can use various formulas such as IF, VLOOKUP, or MATCH to compare columns. However, this requires a deeper understanding of Excel formulas.

Summary: Excel How to Compare Columns

  1. Open your Excel workbook.
  2. Select the first column you want to compare.
  3. Use the ‘Conditional Formatting’ feature.
  4. Repeat steps 2 and 3 for the second column.
  5. Review the results.


Comparing columns in Excel is a simple yet powerful way to analyze data efficiently. Whether you’re checking for inconsistencies, duplicates, or unique values, the steps outlined in this article will guide you through the process. Remember, the key to successfully comparing columns lies in the details. Ensure your data is consistently formatted and take advantage of Excel’s conditional formatting and formula features for a more in-depth analysis.

As you get comfortable with these steps, you’ll find that comparing columns can be applied to a myriad of situations—perhaps reconciling financial statements, ensuring data accuracy before a presentation, or simply cleaning up your contact list. With this skill in your Excel toolkit, you’ll be better equipped to handle the data-driven demands of the modern workplace. So why not give it a try? Excel how to compare columns could just be the time-saving trick you’ve been looking for!

Get Our Free Newsletter

How-to guides and tech deals

You may opt out at any time.
Read our Privacy Policy