Simple conditional formatting question

bisman

New Member
Joined
Feb 5, 2018
Messages
1
[FONT=&quot]I need to have a cell change color based on whether another cell is of greater value or lesser value. [/FONT]
[FONT=&quot]Greater Green, lesser Red

The first number (1) would be neutral but then the next (2) would be green because its greater than and the next number (1) would be red because it dropped below the number (2) that proceeded it

<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>[/FONT]

[TABLE="width: 0"]
<colgroup><col style="width: 142px"><col width="100"><col width="100"><col width="100"><col width="100"><col width="100"><col width="100"></colgroup><tbody>[TR]
[TD="align: center"]Net Members [/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]0[/TD]
[/TR]
</tbody>[/TABLE]
[FONT=&quot]TIA
270c_1f3fc.png
✌?
1f49a.png
?
1f60e.png
?
[/FONT]
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
bisman, Good evening.

Suppose your data are at A1:A20

Try to use:
Select A2:A20

1st RULE
Conditional Format --> Using formula --> =A2>=A1
--> Format: Fill color as GREEN
OK

2nd RULE
Conditional Format --> Using formula --> =A2 < A1<a1< strong="">
</a1<>
<a1< strong="">--> Format: Fill color as RED
OK

Please, tell us if it worked as you desired.
I hope it helps.</a1<><a1< strong=""></a1<>
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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