Conditional Formatting

Sineadd

Board Regular
Joined
Apr 24, 2019
Messages
58
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi

I am trying to apply conditional formatting to a column of cells.

Basically i have data in columb b and column C.

What I want to do is highligh all cells that are greater than there adjacent cell to highlight in red and lower to highllight in green

I can get it to do it for the first cell or do each one seperatley but im guessing there is a quicker way

Anyone can help?

Thanks
Sinead
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Re: ~Conditional Formatting

If you can do it for the first cell then changed the 'applied to' to cover the range required.
 
Upvote 0
Re: ~Conditional Formatting

I have tried that but it just turns them all the same colour!
 
Upvote 0
Re: ~Conditional Formatting

Have it sorted I had absolute cell referencing on the first part!

Thanks for the replies
 
Upvote 0
Re: ~Conditional Formatting

Are you using a formula? Id use 4. Two for red, one each column and two for green, one each column.

=AND(B1<>"",C1<>"",B1 < C1)<c1) applied="" to="$B:$B" formatted="" red
applied to =$B:$B formatted green
=AND(B1<>"",C1<>"",B1 > C1) applied to =$B:$B formatted red
</c1)><c1) applied="" to="$B:$B" formatted="" red
=AND(B1<>"",C1<>"",B1 < C1) applied to =$C:$C formatted red
<c1) applied="" to="$C:$C" formatted="" green
=AND(B1<>"",C1<>"",B1 > C1) applied to =$C:$C formatted green


Try that.</c1)></c1)>
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,509
Messages
6,125,216
Members
449,215
Latest member
texmansru47

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top