Module 14 · Data Tools
Mark the overtime

Bluebird Staffing sends ten people to a warehouse. Rafael has a nickname for every shift: Early Bird, Sunny and Owl. Every Friday he checks the hours. More than 40 hours is overtime and costs extra. Today he wants Excel to show the problems in color.
Steps
Color the cells over 40 hours
Conditional Formatting colors a cell when its value meets a rule. When the value changes, the color changes too.
How to do it
- Select the cells for the rule.
- On the Home tab, click Conditional Formatting, then Highlight Cells Rules, then Greater Than.
- Type the limit in the box.
- Click OK.
- The rule stays. Change a value to 45: the cell becomes red at once.
Greater Than 40: Light Red Fill with Dark Red TextTask: Mark the overtime of last week too. Color the values greater than 40 in E5:E14.
Use a second color for less than 20
A range can have more than one rule. Each rule can have its own format.
How to do it
- Select the cells for the rule.
- On the Home tab, click Conditional Formatting, then Highlight Cells Rules, then Less Than.
- Type the limit in the box.
- In the list on the right, select a format.
- Click OK.
- To remove the rules, click Conditional Formatting, Clear Rules.
Less Than 20: Yellow Fill with Dark Yellow TextTask: Color the values less than 20 in E5:E14 yellow.