This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /MS Excel

How to Compare Two Columns in Microsoft Excel

Updated on:
May 12, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to highlight and compare two columns in Excel using Conditional Formatting.

Quick summary

Comparing two columns in Microsoft Excel using Conditional Formatting lets you instantly highlight duplicate or unique values across datasets. This method requires no formulas — just a few clicks to visually identify matches and differences between any two columns.


Steps

  1. Open your Microsoft Excel worksheet and select the two columns you want to compare.
  2. Go to the Home tab and click Conditional Formatting from the available options.
  3. Hover over Highlight Cell Rules and select Duplicate Values from the submenu.
  4. Click the drop-down menu under Highlight Cells With and choose your preferred condition (e.g., Duplicate or Unique).
  5. Browse the Format Style options and select a highlight format that suits your preference.
  6. Click Done to apply the conditional formatting rule.
  7. Review your spreadsheet — cells will now be highlighted based on your chosen condition, making it easy to compare the two columns at a glance.

📌 Why this matters

Knowing how to compare two columns in Microsoft Excel using Conditional Formatting is a core data analysis skill that saves hours of manual review. By automatically highlighting duplicate or unique values, Excel users can quickly spot discrepancies, reconcile datasets, and clean data without writing a single formula. This technique is especially valuable for finance teams, data analysts, and anyone managing large spreadsheets who needs fast, visual confirmation of matches and differences. Mastering this built-in Excel feature improves accuracy and productivity across everyday spreadsheet workflows.
Your product deserves an interactive demo
Start free
Similar Articles
MS Excel

How to Organize Dates by Week in Excel

Madhav Bhandari
Director of Marketing @ Storylane
MS Excel

How to Make Cells Fit Text Microsoft Excel

Madhav Bhandari
Director of Marketing @ Storylane
MS Excel

How to Make a Bar Graph in Microsoft Excel

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Interactive Demos
Sandbox Demos
Buyer Hub
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Events & webinars
Help Docs
What’s New
Demo Dundies
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it