Highlighting rows in MS Excel
I have a schedule that I print for a community group. I use Excel to produce it and one of the things I’ve done to make it easier for people to see when they are rostered on is to highlight the row that relates to their assignment.
Now I simply change the name in the “Copy for:” box and the highlighting changes as appropriate.
The way this is done in Microsoft Excel 2007 is as follows:
- Select the rows and columns you want to highlight
On the Home ribbon, select Conditional Formatting New Rule
- Select Use a formula to determine which cells to format and enter the following formula:
$D5(Absolute column, relative row) is the first cell a name on the schedule appears, and
$D$2(Absolute column and row) is the cell containing the “Copy for:” name Click the Format… button and select a solid yellow background fill.
- Now when you change the value in
$D$2the rows change highlight to match the name
Hope this helps others as it took me little to get this figured out.