Help with Conditional Formatting Please

emmykav

New Member
Joined
Jun 8, 2016
Messages
25
Hello,

I am really struggling to make this work.

I need a conditional formatting formula that does the following: Turn the cell red when the number is greater than or equal to 2000, and turn green if it's less than or equal to -2000. Mine isn't working. The red is part way there, however highlights all numbers greater than or equal to 2000 or -2000.
green=ABS(O3)<=-2000
red
=ABS(O3)>=2000

Please can you tell me what I'm doing wrong?

Thank you!

Em

<tbody>
</tbody>
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Erik48

New Member
Joined
Dec 1, 2016
Messages
3
I think your error lies in the fact you are making both values absolute (ABS). Therefore excel cannot make a difference any more between the two values.
 
Upvote 0

emmykav

New Member
Joined
Jun 8, 2016
Messages
25
Hi Erik48, so how would you correct, as the red formatting isn't working correctly either?
 
Upvote 0

Forum statistics

Threads
1,195,669
Messages
6,011,061
Members
441,580
Latest member
BornholmerBjarne

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
Top