Formatting Issues

Fix Excel Attendance Template Calendar Not Showing New Leave Type

Aamir Naveed AkramAamir Naveed Akram Nov 3, 2026 868 views

Question details

The user added a new custom leave type to an employee attendance record template, but the new leave type is not displaying properly in the calendar view.

Fix Excel Attendance Template Calendar Not Showing New Leave Type
Product
Excel
Device & OS
not provided
Scenario
Tracking employee attendance using a template and adding a new custom leave category.
Observed behavior
The newly added leave type fails to show its corresponding color or data in the Calendar View, despite being entered into the system.
Before you start

Before modifying the conditional formatting rules, ensure your worksheet is unprotected and save a backup copy of your template to prevent accidental data loss.

Solution 1Recommended

Update the Conditional Formatting 'Applies to' Range

Expand the cell range of your conditional formatting rules so the settings successfully detect and format the new leave type across the entire calendar.

In many Excel templates, conditional formatting is restricted to a specific block of cells. When you add new variables like a leave type, the formatting rules often ignore the new data unless the range is manually expanded.

1
Open the Rules Manager

Navigate to the Home tab on the ribbon. Click on Conditional Formatting in the Styles group, then select Manage Rules from the drop-down menu.

2
Locate the Formatting Rule

In the 'Show formatting rules for' drop-down list at the top of the dialog box, select 'This Worksheet' to ensure you can see all active rules related to your calendar view.

3
Modify the Cell Range

Find the rule that applies the colors for leave types. Click inside the 'Applies to' box and update the range to encompass the entire Attendance Record table (for example, change it to =$C$6:$AR$17).

4
Apply the Changes

Click the Apply button, then click OK. Check your Calendar View to verify that the newly added leave type now appears correctly.

Update the Conditional Formatting 'Applies to' Range
Rule Application Verified: If the range is entered correctly, any new leave types added within that specific table area will instantly trigger the predefined conditional formatting.
Easily Manage Spreadsheets

Manage and Format Attendance Templates Easily in WPS Office

WPS Spreadsheet provides a highly intuitive conditional formatting manager and seamless compatibility with Excel templates, making it effortless to customize employee attendance trackers and add new leave types without formatting errors.

  1. 1. Open your Template: Launch WPS Spreadsheet and open your existing Excel attendance tracker file.
  2. 2. Access Formatting Settings: Go to the Home tab, click on Conditional Formatting, and choose Manage Rules.
  3. 3. Expand the Range: Adjust the cell coordinates in the 'Applies to' field to include the new rows or columns containing your custom leave types, then click OK.
Full compatibility with Microsoft Excel (.xlsx) formats and templatesIntuitive Conditional Formatting Manager to easily edit cell rulesRich library of built-in, free attendance and HR templatesLightweight software that processes heavy data tables quickly
microsoft office alternative - wps office

Frequently Asked Questions

Why are my custom leave types not showing colors in the Excel calendar?

This usually happens because conditional formatting rules in predefined templates are locked to specific cell ranges. When you add a new leave type, you must update the rule's 'Applies to' range in the Conditional Formatting Rules Manager to include the new data.

How do I remove an incorrect conditional formatting rule?

Select the affected cells, go to the Home tab, click Conditional Formatting, hover over Clear Rules, and choose either 'Clear Rules from Selected Cells' or 'Clear Rules from Entire Sheet'.

Can I add multiple new leave categories to the attendance template?

Yes, you can add multiple leave types. Just ensure that the source data table is expanded to include them, and that both your Data Validation lists and Conditional Formatting ranges are updated to encompass all the newly added entries.