Exam grade conditional formatting

Liammi

New Member
Joined
Aug 26, 2011
Messages
20
Hi. I am trying to analyse our students' results against their forecast grades - A* A B C D E F G etc

I have a worksheet showing the student names. Then there is a column for each subject with the corresponding forecast grade column adjacent to it.

I need to apply conditional formatting so that if the result is equal to the forecast grade then the result cell is amber, if it is above then it is green, if it is below then it is red. Also, if there is no forecast grade then the result cell should be blank.

I can apply the formatting to the first cell of the first subject, but how do I copy it to the rest of the column and to the other subjects? I have tried format painter, but it compares the results to the first cell only.

Hope this makes sense and you can assist. Many thanks
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Drag it down using AutoFill, then click the Paste options icon and select "fill formatting only". You may need to make sure no $ signs are using in the conditional formatting.
 
Upvote 0
Many thanks for your quick response, removing the $ did the trick. How can I tell it to ignore the formatting if the forecast cell is blank. it currently sees it as being equal??

thanks again
 
Upvote 0
Excel Workbook
ABC
1gradeforecast
2joeAB
3janeDC
4peteCC
5hollyA
Sheet3
Excel 2010

Rules:
1.Formula: =if(c2="",true,false) - applies to $c2:$c5 - color none - stop if true= Yes
2. Cell Value = B2 - applies to $c2:$c5 - color amber - stop if true= No
3. Cell Value< B2 - applies to $c2:$c5 - color red - stop if true= No<B2 true="No<B2" if stop - red color $c2:$c5 to applies>4. Cell value >B2 - applies to $c2:$c5 - color green - stop if true= No

Does this help?

Rob
 
Upvote 0
That works great, thank you very much. The only thing now is that it is seeing an A* as lower than an A when it fact is is higher. Is there any way to solve this one??

Thank you so much
Denise
 
Upvote 0
Change the "green" one to Formula: =if(or(c2= "A*", C2 < B2), true , false)

Rob
 
Last edited:
Upvote 0
Hi Rob

I think I'd been looking at the spreadsheet for too long because the A*/A problem is still there. The formatting so far is:

Rules:
1.Formula: =if(B2="",true,false) - applies to $B$2:$B$285 - color none - stop if true= Yes
2. Cell Value = C2 - applies to $B$2:$B$285 - color amber - stop if true= No
3. Cell Value > C2 - applies to $B$2:$B$285 - color red - stop if true= No
<B2 applies to $c2:$c5 color red - stop if true="No<B2">4. Formula: =if(or(B2="A*",B2<C2,true,false) - applies to $B$2:$B$285 - color green - stop if true= no

With these rules it is mostly OK except if the student got an A* result (col B) and a forecast of A (col C) then the result grade is red, when it should be green.

If the result was A and Forecast A*, the result is green, when it should be red.

I have tried to make it right, but to no avail so am now asking for your help yet again. Is the * the problem, should all A* be changed to something else???

Thanks, Denise
 
Upvote 0
Hi Denise, Just saw your post and I'm working on it.
I think I mixed up the resutl and the forecast.
Re-reading post 1:
a)
If Result is better than forecast then green.
If Result is equal to forecast then amber.
If Result is less than forecast then red.
(I read it the other way around)

b)
A* is highest score, followed by ABCDEFG.

c)
If forecast is blank - don't apply cellcolouring.

That's what Ill work on.... :)
Rob
 
Upvote 0

Forum statistics

Threads
1,224,509
Messages
6,179,194
Members
452,893
Latest member
denay

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