Formatting Issues

How to Highlight Excel Rows and Columns When Finding a Value

Aamir Naveed AkramAamir Naveed Akram Sep 28, 2026 872 views

Question details

The user needs a way to automatically highlight the corresponding row and column of a cell when searching for a specific value in a spreadsheet.

How to Highlight Excel Rows and Columns When Finding a Value
Product
Excel
Device & OS
not provided
Scenario
Searching for specific data entries within a large dataset where visual cues are needed to track the row and column of the found value.
Observed behavior
The native Focus Cell auto-highlighting feature may be unavailable or removed in recent updates, preventing automatic row and column highlighting during searches.
Before you start

Verify your current version of the software, as the built-in Focus Cell tool was modified in recent updates. If it is missing, decide on a dedicated blank cell to use as your search input box for the conditional formatting workaround.

Solution 1Recommended

Use Conditional Formatting to Highlight Search Values

Apply a custom conditional formatting rule to dynamically highlight rows or columns matching a specific search value.

Since the Focus Cell feature may be absent in newer updates, conditional formatting provides a reliable and customizable alternative. By designating a specific cell as your search box, you can set rules that highlight matching data across your entire dataset automatically.

1
Designate a search cell

Choose an empty cell above your data (for example, cell E1) to act as your search input box where you will type the value to find.

2
Select your data range

Highlight the entire range of data where you want the search and highlighting to occur, such as A3:F100.

3
Create a new formatting rule

Navigate to the Home tab, click on 'Conditional Formatting' in the Styles group, and select 'New Rule'.

4
Enter the custom formula

Choose 'Use a formula to determine which cells to format'. Enter a formula like =$A3=$E$1 (adjusting references based on your search cell and data range) to highlight matching rows.

5
Apply formatting

Click the 'Format' button, choose a bright fill color under the Fill tab, and click OK to apply the highlight.

Use Conditional Formatting to Highlight Search Values
Dynamic Updates: Whenever you change the value in your designated search cell, the highlighted rows or columns will update automatically without needing to edit the formatting rule.
Effortless Data Formatting

Highlight and Format Data Easily in WPS Office

WPS Office offers intuitive and powerful conditional formatting features, making it incredibly simple to highlight rows, columns, or specific data points based on your search criteria. It provides a seamless experience for managing large datasets with advanced visual tools.

  1. 1. Open your spreadsheet: Launch WPS Spreadsheets and open the document containing your dataset.
  2. 2. Select the target data: Highlight the columns or rows where you want to perform the search.
  3. 3. Access Conditional Formatting: Go to the Home tab and click on the Conditional Formatting button.
  4. 4. Set the highlight rule: Choose 'Highlight Cells Rules' followed by 'Text that Contains', and input your search value to instantly apply the color highlight.
Free and lightweight spreadsheet applicationFully compatible with Microsoft Excel (.xls, .xlsx) formatsEasy-to-use conditional formatting for dynamic data highlightingFamiliar ribbon interface ensures zero learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Why is the Focus Cell highlighting feature missing from my ribbon?

The Focus Cell feature with auto-highlighting was modified or removed in some recent software updates. Depending on your specific version or release channel, the feature may no longer be available, requiring the use of Conditional Formatting as an alternative.

Can I highlight both the row and column of the active cell dynamically?

Yes, but without the built-in Focus Cell tool, doing this automatically as you click around requires a VBA macro. If you prefer to avoid macros, using a dedicated search cell linked to a Conditional Formatting formula is the easiest and safest method.

How do I remove the search highlight once I am finished?

If you used a dedicated search cell with Conditional Formatting, simply delete the text inside your search cell to clear the highlight. To permanently remove the rule from your sheet, go to Home > Conditional Formatting > Clear Rules.