Template Issues

Add Custom Leave Types to an Excel Attendance Calendar

Huma Ashraf ChHuma Ashraf Ch Nov 25, 2026 869 views

Question details

The user needs newly added leave types to appear in the Employee Attendance Tracker's Calendar View.

Add Custom Leave Types to an Excel Attendance Calendar
Product
Microsoft Excel Employee Attendance Tracker template
Device & OS
not provided
Scenario
Custom leave types have been added to an employee attendance tracker, and the user wants them reflected on the calendar.
Observed behavior
The tracker may calculate the new leave types, but the Calendar View does not display them.
Before you start

Identify the exact codes stored in the tracker, such as WCA, and locate a calendar date that should show each new leave type. Template layouts vary, so save a copy before editing formulas and formatting rules.

Solution 1Recommended

Update Calendar View formulas and formatting for each leave code

Use this method when the tracker records or calculates a custom leave type but the calendar does not show it.

The Calendar View may use separate formulas, lookup ranges, and conditional formatting rules. The changes needed depend on how your template connects calendar cells to the tracker.

1
Inspect a calendar formula

Open the Calendar View sheet, select a date cell that should show the new leave type, and examine its formula in the formula bar. Compare it with a cell that displays an existing leave type to identify the source cells, lookup ranges, or code checks.

2
Include the new code

Edit the relevant formula or its source lookup table to include the exact stored code, such as WCA, and the label you want displayed. For example, if a simple formula checks whether B2 equals AL, add a separate check for WCA using the same cell reference; retain the formula's existing date and employee conditions.

3
Extend source ranges if needed

If the formula uses a lookup range or named range that excludes the new leave type, update the range in the formula or open Formulas > Name Manager and edit the relevant name. Check that the new code and its display label are included.

4
Add a formatting rule

Select the calendar cells, then open Home > Conditional Formatting > Manage Rules. Edit an existing rule or choose New Rule to add a condition for the new code, select its format, and verify that the Applies to range covers the calendar cells.

5
Test the calendar

Enter or select the custom leave code for a known employee and date in the tracker, then return to Calendar View and check both the displayed value and its formatting. Repeat for each new leave type.

Update Calendar View formulas and formatting for each leave code
Formatting does not replace the formula: Conditional formatting changes how a cell looks; it does not make a missing leave code appear. Update the calendar formula or lookup source as well if it does not return the new code.
Free Microsoft Office alternative

Work with Attendance Spreadsheets in WPS Office

WPS Office is a free, lightweight alternative with a familiar spreadsheet interface. Open compatible Excel files in WPS Spreadsheet to review attendance data and ease your move between office suites; it does not automatically fix Excel template formulas.

Review attendance tracker data and calendar sheets in WPS SpreadsheetCompatible with Microsoft Excel XLSX and XLS filesFamiliar spreadsheet interface for a smoother transitionFree and lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why is a leave type counted but missing from Calendar View?

The tracker and calendar may use different formulas or lookup ranges. Select an affected Calendar View cell and inspect its formula in the formula bar to see whether it includes the new leave code.

Do I need to add a conditional formatting rule for every leave type?

Add or edit a rule if the new leave type needs a distinct color or other format. Select the calendar range and go to Home > Conditional Formatting > Manage Rules to review existing conditions and their Applies to ranges.

Should I use the leave name or its code in the formula?

Use the exact value stored in the tracker or lookup table. If the tracker stores WCA but displays a longer leave name, match WCA in the formula and use the lookup or formula result to display the desired label.

What if the calendar formula is too complex to edit?

Check the formula's source ranges and names under Formulas > Name Manager. If you still cannot identify the needed changes, ask the Excel Tech Community and include the formula and a description of the relevant sheet layout without sharing private employee data.