Add New Leave Types to an Excel Attendance Tracker
Question details
Update an Excel attendance calendar so new leave types appear with the correct colors and Key Statistics counters.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- The user has added leave types to an attendance tracker and wants the calendar and statistics area to recognize them.
- Observed behavior
- The new leave types need matching calendar colors and counters in the Key Statistics area.
Locate the new entries in the Leave Types table and identify the codes or names used in calendar cells. Inspect an existing conditional formatting rule and Key Statistics counter so you can follow the workbook's formula pattern.
Add a Formatting Rule and Statistics Counter for Each Leave Type
Use the existing tracker rules and counters as a model to give each new leave type a matching color and count.
Select a calendar cell, then open Home > Conditional Formatting > Manage Rules. Find a rule for an existing leave type and note its formula, color, and Applies to range.
Select C6:AR17, then choose Home > Conditional Formatting > New Rule. Use the existing rule's formula pattern, changing the leave-type reference to the correct new row in the Leave Types table. Set the matching fill color and repeat for each new type.
Return to Conditional Formatting > Manage Rules and confirm each new rule applies to C6:AR17. Check the rule order and any Stop If True settings if another rule overrides the new color.
In the Key Statistics area, copy an existing leave-type counter into an available space. Change its label and edit its formula or formulas to reference the new row in the Leave Types table, following the existing counter's pattern.
Use Home > Fill Color or the existing counter's formatting to apply the matching color. Enter a new leave code in a calendar cell and confirm that the cell color and its Key Statistics count update.

Add Leave Types to Your Attendance Tracker in WPS Spreadsheet
Open the tracker in WPS Spreadsheet, add a conditional formatting rule for each new leave type, and update copied statistics counters using the workbook's existing formulas.
- 1. Open the tracker: Open the Excel attendance workbook in WPS Spreadsheet and locate the Leave Types table and Key Statistics area.
- 2. Review an existing rule: Select a calendar cell and open Home > Conditional Formatting > Manage Rules. Note an existing leave-type rule's formula, color, and range.
- 3. Add new rules: Select C6:AR17 and use Home > Conditional Formatting to create a rule for each new type. Follow the existing formula pattern, update the leave-type reference, and choose the matching color.
- 4. Update and test counters: Copy an existing Key Statistics counter, change its label and formula references, and apply the matching color. Enter a new leave code in the calendar to check the color and count, then save the workbook.

Frequently Asked Questions
Why doesn't a new leave type change the calendar color?
Open Home > Conditional Formatting > Manage Rules and check that a rule references the correct leave-type row and applies to C6:AR17. Also check whether a higher-priority rule overrides it.
Do I need a separate rule for every new leave type?
For this tracker, create a separate conditional formatting rule for each new leave type so you can set its reference and matching color independently.
Why is the new Key Statistics count incorrect?
Select the copied counter and inspect its formulas in the formula bar. Confirm that they reference the new leave-type row and preserve the calendar range and reference style used by the existing counter.
Can I update the tracker in WPS Spreadsheet?
Yes. Open the Excel workbook in WPS Spreadsheet, use Home > Conditional Formatting to add the rules, and copy and edit an existing Key Statistics counter.




