cloughie

New Member
Joined
Feb 6, 2018
Messages
11
524544
10011099
566465

<tbody>
</tbody>

Hi can anyone help me with the above?
I need to conditional format the third column so that if the cell is more than -5 of cell B then it highlights in red.
If column B is between -4 and -1 of column b then it should be amber.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
For amber
=AND(C1<B1-1,C1>B1-4)
For red
=C1>B1-5

Change the C1 & B1 to reflect the first row in the applies to range
 
Upvote 0
Hi

The html gobbled some characters in Fluff's first formula:

=AND(C1<b1-1,c1>B1-4)
 
Last edited:
Upvote 0
Thanks for that pgc01, I keep forgetting about the < & > characters :oops:
 
Upvote 0

Forum statistics

Threads
1,214,805
Messages
6,121,665
Members
449,045
Latest member
Marcus05

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