Skip to main content

How to highlight rows when cell value changes in Excel?

Author: Xiaoyang Last Modified: 2014-09-17

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.

doc-highlight-value-changes-1

Highlight rows when cell value changes with Conditional Formatting


arrow blue right bubble Highlight rows when cell value changes with Conditional Formatting

To highlight the rows which value is different from above value based on a column, you can apply a simple formula mixed with the Conditional Formatting.

1. Select your data range that you want to use, if your data has headers, exclude them.

2. Then click Home > Conditional Formatting > New Rule, see screenshot:

doc-highlight-value-changes-1

3. In the New Formatting Rule dialog, click Use a formula to determine which cells to format, and then enter this formula =$A3<>$A2 (A3, A2 in the column which you want to identify the cell value is different from the above value.)into the Format values where this formula is true text box, see screenshot:

doc-highlight-value-changes-1

4. And then click Format button to open the Format Cells dialog, under the Fill tab, choose one color you like, see screenshot:

doc-highlight-value-changes-1

5. Then click OK > OK to close the dialogs, and the rows have been highlighted which cell value changes based on column A.

doc-highlight-value-changes-1

Note: Conditional Formatting tool is a dynamic function, if you change values in column A or insert new row between the data, the formatting will be adjusted as well.

Tip: If your data has no headers, please enter this formula =$A2<>$A1 into the Format values where this formula is true text box


Related articles:

How to highlight / conditional formatting cells with formulas in Excel?

How to highlight all named ranges in Excel?

How to highlight cells based on length of text in Excel?

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
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...

Description


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 (3)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
how do i make it so the START of the new data is highlighted, not the last one
This comment was minimized by the moderator on the site
Hello, Amber,
To solve your problem, please apply the below formula:
=COUNTIF($A$2:$A2,$A2)=1
Note: First, you should select the data range but exclude the header row, and then apply this formula into the Conditional Formatting.
https://www.extendoffice.com/images/stories/comments/comment-skyyang/doc-highlight-rows.png

Please try, hope it can help you!
This comment was minimized by the moderator on the site
It isn't highlighting when the value changes, it is highlighting before the value changes? I'm confused.
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations