linkedconsultant
New Member
- Joined
- Aug 10, 2009
- Messages
- 4
Hopefully there is an easy solution that is alluding me.
What I have is a sheet that has different questions represented by each column, students and their answers in each row.
I need to compare the answer for each student with the correct answer at the top of the column. If the answer is wrong the cell should fill with RED. If the answer is correct AND the row number is even, then the fill should be WHITE/No Fill, else if the row number is odd then the fill should be GREY.
The number of questions (therefore the number of columns) will vary by teacher and so will the number of students (therefore the number of rows).
Ideally the macro would be smart enough to find a couple of anchor points to figure out the range, but I can certainly live with having someone select the range and then execute the macro.
Like I say, I hope the solution is simple but I'm having trouble keeping the variables straight. Thanks.
What I have is a sheet that has different questions represented by each column, students and their answers in each row.
I need to compare the answer for each student with the correct answer at the top of the column. If the answer is wrong the cell should fill with RED. If the answer is correct AND the row number is even, then the fill should be WHITE/No Fill, else if the row number is odd then the fill should be GREY.
The number of questions (therefore the number of columns) will vary by teacher and so will the number of students (therefore the number of rows).
Ideally the macro would be smart enough to find a couple of anchor points to figure out the range, but I can certainly live with having someone select the range and then execute the macro.
Like I say, I hope the solution is simple but I'm having trouble keeping the variables straight. Thanks.

Last edited: