Formatting Issues

How to Highlight Matching Values Between Columns in Excel & WPS

Anum MushtaqAnum Mushtaq Oct 28, 2026 868 views

Question details

The user wants to compare data in one column with another and automatically apply a highlight color to matching entries using conditional formatting.

How to Highlight Matching Values Between Columns
Product
Spreadsheet
Device & OS
not provided
Scenario
Comparing two lists of data (e.g., names in Column F against Column C) to visually identify and highlight overlapping entries without altering the data structure.
Observed behavior
Matching values between the selected columns are automatically highlighted with a designated fill color via a custom formula rule.
Before you start

Ensure your dataset does not contain unintended trailing spaces, as the matching formula requires exact text or numerical matches to trigger the highlight formatting.

Solution 1Recommended

Use Conditional Formatting with the MATCH Formula

This is the most reliable method to dynamically highlight cells in one column that exist anywhere in another specified column.

By combining the ISNUMBER and MATCH functions, you can create a True/False condition. If the MATCH function finds the data in the target column, it returns a position number. ISNUMBER evaluates this to TRUE, triggering the conditional format.

1
Select the target range

Highlight the cells you want to apply the formatting to. For example, select the range F2:F100. Make sure the first cell (F2) is the active cell.

2
Open the Conditional Formatting menu

Navigate to the Home tab on the top ribbon. Click on 'Conditional Formatting', then select 'New Rule' from the dropdown menu.

3
Enter the custom formula

Choose the option 'Use a formula to determine which cells to format'. In the formula input box, type exactly: =ISNUMBER(MATCH(F2,$C:$C,0))

4
Set the highlight format

Click the 'Format' button, go to the 'Fill' tab, and select a highlight color (e.g., yellow or green). Click 'OK' on the format dialog, then 'OK' again to apply the rule.

Use Conditional Formatting with the MATCH Formula
Using Absolute References: Using $C:$C locks the lookup array to Column C. If you omit the dollar signs (C:C), the reference may shift if you copy the conditional formatting to other columns.
Efficient Data Comparison in WPS

Highlight Matching Data Seamlessly with WPS Spreadsheet

WPS Spreadsheet fully supports advanced conditional formatting formulas, allowing you to compare lists and highlight duplicates effortlessly. It is an excellent, lightweight tool for all your data analysis needs.

  1. 1. Open your file: Launch WPS Spreadsheet and open the workbook containing the lists you wish to compare.
  2. 2. Select the column data: Highlight the cells you want to format, keeping note of the first active cell in your selection.
  3. 3. Access Conditional Formatting: Go to the Home tab and click 'Conditional Formatting', followed by 'New Rule'.
  4. 4. Apply the MATCH formula: Select 'Use a formula to determine which cells to format', input your formula (e.g., =ISNUMBER(MATCH(F2,$C:$C,0))), and set your preferred fill color before clicking OK.
Fully compatible with Microsoft Excel (.xlsx) formulas and conditional formatting rules.Lightweight and fast, handling large datasets and complex calculations without freezing.Features a familiar, easy-to-use interface so you can migrate seamlessly with zero learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Can I highlight the differences instead of the matches?

Yes. You can modify the formula to highlight items that do NOT appear in the other column. Use =ISNA(MATCH(F2,$C:$C,0)) in the conditional formatting rule instead.

Why is my conditional formatting highlighting the wrong rows?

This typically occurs if the active cell during your selection doesn't align with the cell referenced in your formula. Ensure that the first parameter in your MATCH function (e.g., F2) is exactly the top-most active cell of your highlighted range.

Does this conditional formatting method work across different worksheets?

Yes, you can reference a column on a completely different sheet. You simply need to include the sheet name in the MATCH formula, such as =ISNUMBER(MATCH(F2,Sheet2!$C:$C,0)).