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

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
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,223,227
Messages
6,170,853
Members
452,361
Latest member
d3ad3y3

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