Formatting based on comparison with other cells

avettutor

New Member
Joined
Aug 21, 2014
Messages
1
I am a teacher and am tracking grades my students get on a series of four tests. I want to format the cells so that if their scores go up from one test to another then the cells turn green, if they stay the same they turn yellow, or if they decrease they turn red.

I've tried multiple ways (IF formulas, conditional formatting rules, formatting icons) and none of them have worked. Can someone help me figure out how to do this?
Thanks!
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Welcome to the forum.

You can do it with conditional formatting ("use formula to determine which cells to format") as below:
Rule1:=$A2<$A1 fill: Red
Rule2: =$A2=$A1 fill: Yellow
Rule3: =$A2>$A1 fill: Green

Make sure you set the right "applies to" range. This example is a list of values in Column A.
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,967
Members
452,371
Latest member
Frana

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