Module 14 · Data Tools · Mark the overtime

Rafael Souza plans shifts at Bluebird Staffing

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.

Loading the spreadsheet…

Module 14 · Data Tools

Mark the overtime

Rafael Souza, plans shifts at Bluebird Staffing
Rafael Souza plans shifts at Bluebird Staffing

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

  1. 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

    1. Select the cells for the rule.
    2. On the Home tab, click Conditional Formatting, then Highlight Cells Rules, then Greater Than.
    3. Type the limit in the box.
    4. Click OK.
    5. The rule stays. Change a value to 45: the cell becomes red at once.

    Greater Than 40: Light Red Fill with Dark Red Text

    Task: Mark the overtime of last week too. Color the values greater than 40 in E5:E14.

  2. 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

    1. Select the cells for the rule.
    2. On the Home tab, click Conditional Formatting, then Highlight Cells Rules, then Less Than.
    3. Type the limit in the box.
    4. In the list on the right, select a format.
    5. Click OK.
    6. To remove the rules, click Conditional Formatting, Clear Rules.

    Less Than 20: Yellow Fill with Dark Yellow Text

    Task: Color the values less than 20 in E5:E14 yellow.