Skip to main content

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.


Highlight rows based on cell value with Conditional Formatting

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.

3. In the pop-up New Formatting Rule dialog box, please do as follows:
  • 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: =$D2>1500. 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.

Note: If you want to highlight the entire row, instead of highlighting the rows just within the table, you should select the Row 2 to Row 12 instead of the range A2:D12.

Highlight rows based on cell value with Select Specific Cells feature (based on two conditions)

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.

3. In the pop-up Select Specific Cells dialog box, please do as follows:
  • 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.


    Highlight rows based on cell value in Excel


    Related articles

    How To Highlight Rows When Cell Value Changes In Excel?

    If there is a list of repeated values in your worksheet, and you need to highlight the rows based on column A which cell value changes as following screenshot shown. In fact, you can quickly and easily finish this job by using the Conditional Formatting feature.

    How To Highlight Rows With Weekend Days In Excel?

    Today, I will talk about how to highlight weekend’s rows in Excel by using this Conditional Formatting and a handy tool.

    How To Highlight Row If Cell Contains Text/Value/Blank In Excel?

    For example we have a purchase table in Excel, now we want to find out the purchase orders of apple and then highlight the entire rows where the orders of apple are in as the left screen shot shown. We can get it done easily with Conditional Formatting command or Kutools for Excel's features in Excel.

    How To Select And Highlight Row Differences In Excel?

    Supposing there is a range of cells, and what you want is to select and highlight the row differences as below screenshot shown. Obviously, you can check and select them one by one, but it is time-wasting. In this article, I introduce some quick tricks for you to select and highlight the row differences in Excel.

    Best Office Productivity Tools

    Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
    Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
    Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
    Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
    Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
    Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

    Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

    kte tab 201905


    Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

    • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
    • Open and create multiple documents in new tabs of the same window, rather than in new windows.
    • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
    Comments (0)
    No ratings yet. Be the first to rate!
    There are no comments posted here yet
    Please leave your comments in English
    Posting as Guest
    ×
    Rate this post:
    0   Characters
    Suggested Locations