# Highlight Matching Cells with Text in Excel

Edited by Djinu, VisiHow, Eng

You're watching VisiHow. In this video, we're going to show you how to highlight a cell if its text matches another cell in Excel. In this video, we have two columns of data: column "D" with domain names that are currently available and column "C" with all of the domain names that we've searched. We want to highlight column "C" if the domain name is available.

## Steps

1. 1
Click column "C" to highlight it
.
2. 2
Click "Conditional Formatting"
.
3. 3
Click "Manage Rules..."
4. 4
Then, click the "Show formatting rules for" drop-down menu
.
Then, check "Current Selection".
5. 5
To create a new rule, click the plus button in the bottom left-hand corner of the window
.
6. 6
Click the "Style" drop-down menu and "Classic"
.
7. 7
.
Then, click "Use a formula to determine which cells to format".
8. 8
.
9. 9
Type the formula "=countif(\$d\$2:\$d\$500,c2)"
.
In this formula, the "\$" sign means that it will have the absolute reference to the "D2" cell, that the reference is ended at the cell "D500", and that the highlighted cell will be "C2".
10. 10
Click "Format with"
.
11. 11
For this tutorial, click "green fill with dark green text"
.
12. 12
Then, click "OK"
.
13. 13
Click "OK" again
.
Now, if the domain is available in column "D", it will be highlighted in column "C".

That was how to highlight a cell if the information matches the information in another column. If you have any questions or comments, please leave them in the space below. Thanks for watching VisiHow!

## Video: Highlight Matching Cells with Text in Excel

VisiHow welcomes all comments. If you do not want to be anonymous, register or log in. It is free.

## Article Info

Categories : Microsoft Suites

Recent edits by: VisiHow, Djinu