Conditional Formatting In Absolute Number, Highlighted Color

muhammad susanto

Well-known Member
Joined
Jan 8, 2013
Messages
2,102
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
hi all..

how to make CF formula with condition like this :
in absolute number (20% as parameter)

if C2=>20% - give this cell Red color
if C2=>-20% - give this cell Green color

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]data
[/TD]
[TD]expected result (Hightlighted)
[/TD]
[/TR]
[TR]
[TD]25%
[/TD]
[TD]Red
[/TD]
[/TR]
[TR]
[TD]-25%
[/TD]
[TD]Green
[/TD]
[/TR]
</tbody>[/TABLE]

any help, greatly appreciated..

.sst
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Its Quit Simple

After Selection you can put two criteria for Highlighted.

1)Select Equal or Greater Then option for 20%
2)Select Less or Equal then Option for -20%

Entered Cell Value to 20% and -20% Simultaneously.
Chose the Color which you want and apply this.

Hope you got it.
 
Last edited:
Upvote 0
How do you enter -20% on a CF ?

You might have to use the "format only cells that contain" and use the between dropdown
and enter values of -0.2 and 0.2
 
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,149
Members
453,021
Latest member
Justyna P

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