Home » excel » excel – Format if table value does not match first row

excel – Format if table value does not match first row

Posted by: admin May 14, 2020 Leave a comment


I have test results data in Excel like this:

Correct  d  b   c   a   b   c   d
Student1 d  b   c   a   b   c   d
Student2 d  b   c   a   b   c   a
Student3 d  b   c   a   b   d   d
Student4 d  d   c   a   b   c   a
Student5 d  d   c   a   b   c   d
Student6 d  b   c   a   b   b   d

I want to highlight the cells that contain incorrect answers.

How do I go about it?

How to&Answers:

The existing answer makes little sense to me hence an alternative:

SO17703494 example


Step 1:
Shortcut Key for New Conditional Formatting Rule: Alt-H-L-N
Windows Ribbon Path: Home, Conditional Formatting, New Rule.

Step 2:
Got the last selection: Use a formula to choose which cells to format
Use the following Formula:
Conditional Formatting Rule:

Step 3:
Copy the formatting in Cell B2 to all of the other students answers
To copy only the formatting, copy cell B2
Then select all the cells that you want to have this formatting
Then hit Alt-E-S-T (Keys are hit one after the other) for Special Paste
Then hit OK.