Add Custom Leave Types to an Excel Attendance Calendar
Question details
The user needs newly added leave types to appear in the Employee Attendance Tracker's Calendar View.

- 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.
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.
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.
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.
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.
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.
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.
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.

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.

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.




