Conditional Formatting - Grading

thumbyyy

New Member
Joined
Apr 11, 2014
Messages
5
Hi,

I'm trying to grade quines and need some help with conditional formatting. Is there a way to do conditional formatting for all answers to match the key that is in the top row? I can set the conditional column by column, but I have a more than 100 columns, and wondering if there's a faster way?

[TABLE="width: 500"]
<tbody>[TR]
[TD]Answer Key[/TD]
[TD]A[/TD]
[TD]C[/TD]
[TD]T[/TD]
[TD]B[/TD]
[TD]D[/TD]
[TD]A[/TD]
[TD]C[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]BOB[/TD]
[TD]A[/TD]
[TD]C[/TD]
[TD]F[/TD]
[TD]B[/TD]
[TD]D[/TD]
[TD]A[/TD]
[TD]C[/TD]
[TD]A[/TD]
[TD]D
[/TD]
[/TR]
[TR]
[TD]JANE[/TD]
[TD]A[/TD]
[TD]C[/TD]
[TD]T[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]A[/TD]
[TD]C[/TD]
[TD]A[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]T[/TD]
[TD]C[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]B[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]MARY[/TD]
[TD]C[/TD]
[TD]C[/TD]
[TD]F[/TD]
[TD]B[/TD]
[TD]D[/TD]
[TD]C[/TD]
[TD]C[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
</tbody>[/TABLE]


Thank you in advance!:confused:
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Sure. In this example, I had columns B:J with the answers, adjust as needed. The "B" in the formula refers to the first column in your selection.

Select your columns, B:J. Then click Conditional Formatting > New Rule > Use a formula > and enter:

=AND(B1<>"",ROW()>1,B1=B$1)

and select your fill color. Let me know how this works.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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