Good morning Lyndsey,
you obviously start earlier than I do !!
To make the formulae shorter, I would suggest that you put those
grades in the correct sequence (lowest first) in an out of the way
part of your sheet. I put these in Z1:Z18:
3c
3b
3a
4c
4b
4a
5c
5b
5a
6c
6b
6a
7c
7b
7a
8c
8b
8a
Then I highlighted this range and clicked on Insert | Names | Define
and then named this range "grades" (without the quotes).
Then you need to go through the same procedure as before, but with
different formulae. So, highlight cells from D2 down to however many
you think you need, and click on Format | Conditional Formatting. Each
time you will need to select Formula Is, and this time your formula
will be:
=AND(D2<>"",MATCH(D2,grades,0)>MATCH(C2,grades,0))
for the green condition:
=AND(D2<>"",D2=C2)
for the yellow condition (unchanged), and:
=AND(D2<>"",MATCH(D2,grades,0)<MATCH(C2,grades,0))
for the red condition.
Click OK twice, and then test it out by putting, say, 4b in C2 and
then varying D2.
Hope this helps.
Pete