How to highlight rows based on cell value in Excel?
In Excel, we always deal with large data sets. To find out the data you need at a glance, you can highlight the entire rows in which specific cells meet certain criteria, say, the cells contain a value that’s greater than or less than a specific value. To solve this problem, we’ve gathered two methods in this tutorial, please read on to find out how.
With Excel’s built-in Conditional Formatting feature, you can highlight the rows that contain a cell value greater or less than a specified value quickly. Let’s say you want to highlight the rows of the items whose sales value exceeds $1,500, please follow the steps below.
1. Select the data range (A2:D12) where you will highlight the entire rows based on the sales value. Note that do not include the headers.
2. On the Home tab, in the Styles group, click Conditional Formatting > New Rule.
- In the Select a Rule Type box, select Use a formula to determine which cells to format.
- In the Format values where this formula is true box, enter the following formula: Note: The dollar sign ($) before the column letter D makes the rule check each sale value starting from the 2nd row along the column D (sales column). .
- Click on Format to open the Format Cells dialog, and then set the color in which you want the row to get highlighted on the Fill tab.
4. Click on the OK buttons to close the two dialog boxes. The rows that meet the condition are highlighted at once.
Kutools for Excel offers the Select Specific Cells feature to help you find multiple values that meet one or two conditions you set at once, so that you can highlight the corresponding rows easily. Please read on to find out how to quickly highlight the rows of the items whose sales value is between $1,500 and $3,000.
1. On the Kutools tab, in the Editing group, click Select > Select Specific Cells.
- In the Select cells in this range box, click the range-selecting button at right to specify the sales column based on which to highlight the entire rows.
- In the Selection type section, select the Entire row option.
- In the Specific type section, set the two conditions:
- Click on the drop-down arrow at left side to select the Greater than relationship, then type 1500 in the corresponding box.
- Click on the drop-down arrow at left side to select the Less than relationship, then type 3000 in the corresponding box.
- Specify And as the relationship between the two conditions.
3. Click Ok. The corresponding rows that meet the criteria are selected at once. Now go to the Home tab and select a fill color you want to highlight the rows.
Note: To use the Select Specific Cells feature, you should have Kutools for Excel installed in your computer. If you do not have Kutools installed, click here to download and install. The professional Excel add-in offers a 30-day free trial with no limitations.