Formula Errors

How to Create Conditional Formatting for a Multi-Person Excel Schedule

Anum MushtaqAnum Mushtaq Nov 11, 2026 868 views

Question details

The user wants to apply conditional formatting to a multi-person schedule, ensure assigned row colors don't reset, restrict shift entries to a maximum of 8 hours, and understand why formatting formulas change appearance.

How to Create Conditional Formatting for a Multi-Person Excel Schedule
Product
Excel
Device & OS
not provided
Scenario
Formatting a multi-user shift schedule with specific color-coding and hour restrictions.
Observed behavior
Row colors reset when using a single name drop-down, hour entries need to be capped at 8, and relative references in conditional formatting rules look different when reopened.
Before you start

Ensure your schedule layout dedicates a specific name cell to each individual row rather than relying on a single global drop-down menu for the entire sheet.

Solution 1Recommended

Format Schedule Rows Based on Individual Names

Use a dedicated name column for each row to ensure conditional formatting correctly applies and preserves colors for each person.

A single name drop-down cannot preserve previous colors because conditional formatting dynamically recalculates all referenced rules whenever that single drop-down changes. To fix this, each schedule row must contain its own name cell.

1
Add a dedicated name column

Create a 'Name' column (e.g., Column A) in your schedule and enter the respective person's name for each schedule row.

2
Select the schedule area

Highlight the entire range of cells you want to apply color formatting to, starting from the first row of data.

3
Create a new formatting rule

Navigate to the Home tab, click 'Conditional Formatting', and choose 'New Rule'.

4
Apply a formula-based rule

Select 'Use a formula to determine which cells to format'. Enter a formula locking the column but not the row (e.g., =$A2="John"), click 'Format' to choose a fill color, and click OK.

Format Schedule Rows Based on Individual Names
Why do formulas change when reopened?: When you reopen the Conditional Formatting Rules Manager, relative cell references (like $A2) may appear different. This happens because Excel displays the formula relative to the currently active cell in your selection. This is expected behavior and won't break your formatting.
Efficient Schedule Management

Create and Manage Multi-Person Schedules in WPS Spreadsheet

Easily apply advanced conditional formatting, restrict data entry with validation rules, and organize team schedules using WPS Spreadsheet. Enjoy seamless compatibility with Microsoft Excel formats in a lightweight interface.

  1. 1. Open your schedule: Launch WPS Spreadsheet and open your existing multi-person schedule file.
  2. 2. Apply Conditional Formatting: Highlight your schedule rows, go to the Home tab, click 'Conditional Formatting', and set up your formula-based color rules.
  3. 3. Set Data Validation limits: Select the hour cells, go to the Data tab, select 'Validation', and set the maximum allowed value to 8.
Easily apply and manage complex conditional formatting rulesBuilt-in data validation to restrict work hour entriesFully compatible with Microsoft Excel (.xlsx) formatsLightweight and completely free to use
microsoft office alternative - wps office

Frequently Asked Questions

Why do my conditional formatting colors disappear when I change the drop-down name?

If your conditional formatting relies on a single drop-down cell, changing that cell forces all rules to recalculate for the entire sheet, overwriting previous states. To keep colors permanently, each row must be linked to its own specific name cell, or you must use VBA to hardcode the colors.

Why does my conditional formatting formula look different when I edit the rule?

Excel and similar spreadsheet software display relative cell references based on the currently active cell in your highlighted selection. If you select a different active cell before opening the Rules Manager, the row and column numbers in the formula will visually adjust, but the rule will still function correctly.

Can I use VBA instead of formulas to color schedule rows?

Yes. You can use a Worksheet_Change VBA macro to permanently apply background colors to rows based on cell values. Unlike conditional formatting, VBA applies a static fill color that won't dynamically recalculate or reset when other cells change.