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]

Net Members 121210

<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>
</tbody>
[FONT=&quot]TIA
270c_1f3fc.png
✌?
1f49a.png
?
1f60e.png
?
[/FONT]
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
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,214,534
Messages
6,120,080
Members
448,943
Latest member
sharmarick

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