How to Create Conditional Formatting for a Multi-Person Excel Schedule
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.

- 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.
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.
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.
Create a 'Name' column (e.g., Column A) in your schedule and enter the respective person's name for each schedule row.
Highlight the entire range of cells you want to apply color formatting to, starting from the first row of data.
Navigate to the Home tab, click 'Conditional Formatting', and choose 'New 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.

Restrict Shift Hours Using Data Validation
Apply a data validation rule to cap work hour entries at a maximum of 8 hours per cell.
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. Open your schedule: Launch WPS Spreadsheet and open your existing multi-person schedule file.
- 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. Set Data Validation limits: Select the hour cells, go to the Data tab, select 'Validation', and set the maximum allowed value to 8.

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.




