Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to highlight cell based on adjacent cell value in Excel?

If you need to highlight cell where adjacent cell is equal to or greater than it, of course, you can compare them one by one, but, are there any good and quick methods for solving the job in Excel?

Highlight cells if equal to adjacent cells

Highlight cells if equal or not equal to adjacent cells with Kutools for Excel

Highlight cells if greater or less than adjacent cells


Highlight cells if equal to adjacent cell:

With Kutools for Excel's Compare Cells feature, you can quickly highlight the cells if equal or difference of the adjacent cell. Download and free trial Kutools for Excel now!

doc highlight based on adjacent 8

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Highlight cells if equal to adjacent cells

Let’s say, when you want to highlight the cell if adjacent cell is equal to it, the Conditional Formatting feature can do you a favor, please do as follows:

1. Select the cells that you want to highlight cells if they are equal to adjacent cells, and then click Home > Conditional Formatting > New Rule, see screenshot:

doc highlight based on adjacent 1

2. In the New Formatting Rule dialog box, click Use a formula to determine which cells to format in the Select a Rule Type list box, and then enter this formula: =$A2=$B2 into the Format value where this formula is true text box, see screenshot:

doc highlight based on adjacent 2

3. Then click Format button to go to the Format Cells dialog, under the Fill tab, please specify a color you like to use, see screenshot:

doc highlight based on adjacent 3

4. And then click OK > OK to close the dialogs, and the cells which are equal to the adjacent cells have been highlighted at once, see screenshot:

doc highlight based on adjacent 4


Highlight cells if equal or not equal to adjacent cells with Kutools for Excel

If you have Kutools for Excel, with its Compare Cells utility, you can quickly compare two columns and find or highlight the same or different values for each row.

Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 60 days. 

After installing Kutools for Excel, please do as this:

1. Click Kutools > Compare Cells, see screenshot:

doc highlight based on adjacent 9

2. In the Compare Cells dialog box, please do the following operations:

  • (1.) Select the two columns from the Find values in and According to text box separately;
  • (2.) Choose Same cells to select the cells equal to adjacent cell;
  • (3.) At last, please specify a cell color or font color you need to highlight the cells.
  • (4.) And all cells which equal to adjacent cells have been highlighted at once.

doc highlight based on adjacent 10

3. To highlight the cells which not equal to adjacent cell values, please choose Different cells in the Compare Cells dialog box, and you will get the following result as you need.

doc highlight based on adjacent 11

Click Download and free trial Kutools for Excel Now !


Demo: Highlight cells if equal or not equal to adjacent cells with Kutools for Excel

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Highlight cells if greater or less than adjacent cells

To highlight the cells if greater or less than adjacent cells, please do as this:

1. Select the cells that you want to use, and then click Home > Conditional Formatting > New Rule, in the New Formatting Rule dialog box, do the following operations:

(1.) Click Use a formula to determine which cells to format from the Select a Rule Type list box;

(2.) Enter this formula: =$A2>$B2 (greater than adjacent cell) or =$A2<$B2 (less than adjacent cell) into the Format values where this formula is true text box.

doc highlight based on adjacent 5

2. Then click Format button to go to the Format Cells dialog box, and choose a color to highlight the cells you want under the Fill tab, see screenshot:

doc highlight based on adjacent 6

3. Then click OK > OK buttons to close the dialogs, and now, you can see the cells in column A which are greater than adjacent cells have been highlighted as you need.

doc highlight based on adjacent 7


Excel Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 70%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 80% Excel problems.

  • Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  • Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  • Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  • No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  • Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  • 60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  • Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.