Formatting Issues

Highlight Names in Excel That Appear on Another Sheet

Elise WilliamsElise Williams Dec 2, 2026 869 views

Question details

Highlight mailing-list names that also appear on a served-patrons worksheet.

Highlight Names in Excel That Appear on Another Sheet
Product
Microsoft Excel
Device & OS
not provided
Scenario
A mailing list and a list of served patrons are stored on separate worksheets in the same workbook.
Observed behavior
Names on the mailing list should be highlighted when an exact match appears on the served-patrons worksheet.
Before you start

Identify the cells containing names on both worksheets, excluding any headers. The steps below use Sheet1!A2:A100 for the mailing list and 'patrons served'!A1:A26 for the comparison list; adjust these ranges to fit your workbook.

Solution 1Recommended

Use a named range and conditional formatting to highlight matches

Create a formula-based rule that checks each mailing-list name against the served-patrons list.

1
Name the comparison range

Open the patrons served worksheet and select A1:A26. Click the Name Box to the left of the formula bar, type ServedNames, and press Enter.

2
Select the mailing list

Open Sheet1 and select the names in A2:A100, starting with A2 as the active cell.

3
Create the rule

Go to Home > Conditional Formatting > New Rule. Choose Use a formula to determine which cells to format and enter =ISNUMBER(MATCH(A2,ServedNames,0)).

4
Choose a highlight

Click Format, choose a red fill or font color, and click OK. Click OK again to apply the rule.

Use a named range and conditional formatting to highlight matches
Adjust the formula to your selection: Replace A2 with the first cell in your selected mailing-list range. If the served-patrons list grows beyond the named range, update ServedNames through Formulas > Name Manager.
Highlight matching names in WPS

Compare names across worksheets in WPS Spreadsheets

Use a named range and a formula-based conditional formatting rule in WPS Spreadsheets to highlight mailing-list names found on another worksheet.

  1. 1. Open the workbook: Open your workbook in WPS Spreadsheets and locate the mailing-list and served-patrons worksheets.
  2. 2. Name the patron list: On the served-patrons worksheet, select the cells containing names. In the Name Box beside the formula bar, type ServedNames and press Enter.
  3. 3. Select the mailing-list names: On the mailing-list worksheet, select the names to highlight, starting with the first data cell.
  4. 4. Add the formatting rule: Choose Home > Conditional Formatting > New Rule and select the formula-based rule option. Enter =ISNUMBER(MATCH(A2,ServedNames,0)), replacing A2 with the first cell in your selection.
  5. 5. Set the color: Click Format, choose a fill or font color, and confirm the rule to highlight matching names.
Highlight matching names without sorting or manually checking the listsOpen and edit Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interfaceWork with a free Office suite
microsoft office alternative - wps office

Frequently Asked Questions

Can I reference the other worksheet without creating a named range?

You can try =ISNUMBER(MATCH(A2,'patrons served'!$A$1:$A$26,0)) in the conditional formatting rule. If Excel rejects the cross-sheet reference, name the patron range ServedNames and use =ISNUMBER(MATCH(A2,ServedNames,0)) instead.

Why aren't some matching names highlighted?

Check for extra spaces or spelling differences in the name cells. MATCH with 0 requires an exact text match, although it is not case-sensitive.

What happens when I add more patrons to the list?

Names added outside the ServedNames range will not be checked. In Excel, open Formulas > Name Manager and expand the range to include the new cells.

How do I change the highlight color later?

In Excel, select the mailing-list cells and open Home > Conditional Formatting > Manage Rules. Select the rule, click Edit Rule, and use Format to change the fill or font color.