You can use something called Conditional Formatting in your Excel spreadsheets. Conditional Formatting allows you to change the appearance of a cell, depending on certain conditions. What we'll do is to colour the Overall Averages on our Student Exam spreadsheet, depending on the grade.
Here's the spreadsheet we'll be working on.

- Open up your Student Exam spreadsheet (You did complete it, didn't you?)
- Highlight the cells with Overall Grades, which should be cells B11 to I11
The Overall Averages range from 44 to 85. We'll colour each grade, depending on a scale. A different colour will apply to the following grades:
- 50 and below
- 51 to 60
- 61 to 70
- 71 to 80
- 81 and above
So five different bands, and a colour for each. To set the Conditional Formatting in Excel, do the following:
- With your Overall Averages highlighted, click on the Home menu at the top of Excel
- Locate the Styles panel, and the Conditional Formatting item:

The Conditional Formatting menu gives you various options. The easiest one is the Colour Scales option. Select one of these and Excel will colour the cell backgrounds for you:

That's not quite what we're looking for, though. We'd like to choose our own values. So click onMore Rules, from the Colour Scales submenu. You'll see the following rather complex dialogue box:

The one we want is the second option, Format only cells that contain. This will allow us to set up our values. When you click this option, the dialogue box changes to this:

The part we're interested in is the bottom part, under the heading Edit the Rule Description. It says Cell Value and Between, in the drop down boxes. These are the ones we want. We only need to type a value for the two boxes that are currently blank in the image above. We can then click the Format button to choose a colour.
So type 0 in the first box and 50 in the second one:


Click OK on this dialogue box to get back to Excel. You should find that one of the cells has turned red. To format the rest of the cells, click on Conditional Formatting on the Styles panel again. From the menu, click on Manage Rules:



- 50 and below
- 51 to 60
- 61 to 70
- 71 to 80
- 81 and above
When you've done them all, your dialogue box should have five colours:


No comments:
Post a Comment