Excel HCR - Equal To
Highlight Cell Rules - Equal To
Highlight Cell Rules is a premade type of conditional formatting in Excel used to change the appearance of cells in a range based on your specified conditions.
Equal To... is one of the options for the condition.
Here is the Highlight Cell Rules part of the conditional formatting menu:
Highlight Cell Rule - Equal To Example (with Numbers)
The "Equal To..." Highlight Cell Rule will highlight a cell with one of the appearance options based on the cell value being equal to your specified value.
The specified value could be a particular number or particular text.
In this example, the specified value will be "48".
You can choose any range for where the Highlight Cell Rule should apply. It can be a a few cells, a single column, a single row, or a combination of multiple cells, rows and colums.
Let's apply the rule to all of the different stat values.
"Equal To..." Hightlight Cell Rule, step by step:
- Select the range
C2:H8
for all of the stat values
- Click on the Conditional Formatting icon in the ribbon, from Home menu
- Select the Highlight Cell Rules from the drop-down menu
- Select the Equal To... from the menu
This will open a dialog box where you can specify the value and the appearance option.
- Enter
48
into the input field - Select the appearance option "Yellow Fill with Dark Yellow Text" from the dropdown menu
Now, the cells with values equal to "48" will be highlighted in yellow:
All of Ditto's stat values are 48, so they are hightlighted.
Note: You can remove the Highlight Cell Rules with Manage Rules.
Highlight Cell Rule - Equal To Example (with Text)
The "Equal To..." Highlight Cell Rule also works with text values.
In this example, the specified text value will be "Magikarp".
You can choose any range for where the Highlight Cell Rule should apply. It can be a a few cells, a single column, a single row, or a combination of multiple cells, rows and colums.
Let's apply the rule to the Name values.
"Equal To..." Hightlight Cell Rule, step by step:
- Select the range
A2:A8
for Name values
- Click on the Conditional Formatting icon in the ribbon, from Home menu
- Select the Highlight Cell Rules from the drop-down menu
- Select the Equal To... from the menu
This will open a dialog box where you can specify the value and the appearance option.
- Enter
Magikarp
into the input field - Select the appearance option "Yellow Fill with Dark Yellow Text" from the dropdown menu
Now, the cells with text values equal to "Magikarp" will be highlighted in yellow:
Note: The Equal To... Highlight Cell Rule will highlight cells that exactly matches the specified value.
You can use the Text That Contains rule for highlighting cells that have values with any part matching the specified value.