Thanks, Jerry and Yvan.
Yvan, I'm not sure how to use a numerical value to define a color. Do you mean in with a conditional format rule? I think that's what I'm doing now, except I am using a letter to define the color.
Jerry, here's the info you requested:
I'm creating a table in which columns A and B are students' last and first names, respectively. The columns from C on correspond to questions on a multiple choice test.
I enter the students' answers in a row (Doe, John, C, A, B, D, A, A, etc.). I have two rules in place for each column:
Rule #1: If the answer is A (for example), then color the cell green (because it is correct).
Rule #2: If the answer is not A, then color the cell red (because it is incorrect).
This allows me a quick visual to see if a lot of students got the same answer wrong, which would mean I have to reteach the skill.
Ideally, I would like to also create totals, at the end of each row (for the number of questions the student answered correctly), and at the end of each column (for the number of students who answered each question correctly). I have done this in other tables, but never by counting colors; I have always had to individually assign calculations to each column by counting actual answers. I'd like to have a "general" rule that would count the ones that are defined as correct by being colored green (which is what I think Yvan is trying to lead me to, but I'm not sure how to do it).
I hope this makes it a little more clear.
Thanks again.
Laura