Three Methods to Add Holidays to Your Excel Calendar
Adding holidays to an Excel calendar transforms a basic date grid into a genuinely useful planning tool. Whether you need US federal holidays marked on a monthly calendar, company-specific days off highlighted on a team schedule, or school breaks shaded on an academic calendar, the process follows the same pattern: build a reference list of dates, then use Excel formulas and formatting to mark those dates automatically.
This guide covers three approaches, ordered from fastest to most customizable. If you just want a calendar with holidays already marked, Method 1 takes two minutes. If you want to understand how the holiday system works so you can customize it for any year, country, or organization, work through Methods 2 and 3.
Download Pre-Built Template
Get a calendar with US holidays already marked and color-coded. Zero formula work required.
Add Holidays to Any Calendar
Create a holiday reference table and use COUNTIF + INDEX/MATCH to flag and label holidays.
Conditional Formatting
Automatically highlight holiday cells with color. Works dynamically as you change months or years.
Method 1 — Download a Calendar Template with Holidays Pre-Loaded
The quickest path — no formulas, no setup, no data entry. Every 2026 and 2027 calendar template on this site is available in a "with holidays" version that includes all US federal holidays pre-marked and color-coded. You can download, print, and start using it immediately.
⬇ Download 2026 Calendar with US Holidays
Pre-loaded with all US federal holidays. Available in monthly, yearly, and weekly formats for Excel and Google Sheets.
Download Free Template →All holiday templates on this site include the following features:
- All 11 US federal holidays marked and color-coded for the relevant year
- Observed dates noted when holidays fall on weekends (e.g., July 3, 2026 for Independence Day)
- Space below each holiday date for adding notes or event details
- A separate "Holidays" worksheet you can edit — add custom dates, remove holidays you don't observe, or swap in holidays from another country
- Print-ready formatting — holidays are visible in both color and grayscale printing
If you want a template for a different year, browse our monthly calendar templates or yearly calendar templates. If you need to add custom holidays (company events, school breaks, personal dates), or want to understand how the holiday system works under the hood, continue to Method 2 below.
Method 2 — Add Holidays to Any Existing Excel Calendar
This method works with any Excel calendar — one you built yourself from scratch, downloaded from another source, or even our templates if you want to add custom holidays beyond US federal ones. You'll create a reference table of holiday dates, then use Excel formulas to automatically detect and label them on your calendar grid.
Create a Holidays Reference Table on a Separate Worksheet
Right-click any sheet tab at the bottom of your workbook and select Insert → Worksheet. Rename the new sheet to "Holidays". Set up two columns:
| Column | Header (Row 1) | Purpose | Example |
|---|---|---|---|
| A | Holiday Name | The display name for the holiday | New Year's Day |
| B | Date | The date in a proper Excel date format | 1/1/2026 |
Enter all the holidays you want to track. Your completed table should look like this:
| A | B | |
|---|---|---|
| 1 | Holiday Name | Date |
| 2 | New Year's Day | 1/1/2026 |
| 3 | MLK Jr. Day | 1/19/2026 |
| 4 | Presidents' Day | 2/16/2026 |
| 5 | Memorial Day | 5/25/2026 |
| 6 | ... | ... |
A complete copy-paste-ready list of all 2026 US federal holidays is provided in the reference table below.
1/1/2026, and the cell should be right-aligned.Flag Holiday Dates Using COUNTIF
This formula checks whether each date in your calendar grid appears in the Holidays list. It's useful as a helper value for other calculations (like counting working days) or as the basis for conditional formatting.
In a helper row below your calendar date cells (or in a separate helper column), enter this formula:
Where A7 is the cell containing your calendar date. Copy this formula across all date cells in your calendar grid.
How it works:
Holidays!$B:$B— searches the entire Date column of the Holidays sheetA7— the calendar date cell being checked- Returns 1 if the date is found in the holiday list (i.e., it's a holiday)
- Returns 0 if the date is not found (i.e., it's a regular day)
$B:$B ensure the holiday range doesn't shift when you copy the formula across your calendar. The cell reference (A7) should remain relative so it adjusts for each calendar cell.Display Holiday Names Automatically
To show the holiday name below or next to each date, you need a lookup formula. There are two options depending on your Excel version:
INDEX/MATCH
Works in Excel 2007 and later. Requires IFERROR wrapper to show blank on non-holidays.
XLOOKUP
Simpler syntax with built-in error handling. The fourth argument ("") returns blank when no match is found.
Place whichever formula you choose in a row below your date numbers in the calendar grid. Copy it across all date cells.
How the INDEX/MATCH version works:
MATCH(A7, Holidays!$B:$B, 0)— finds the row number where the calendar date matches a holiday date (the0means exact match)INDEX(Holidays!$A:$A, ...)— returns the holiday name from column A at that row numberIFERROR(..., "")— if no match is found (regular day), display blank instead of a#N/Aerror
For more on these lookup functions, see our full VLOOKUP & XLOOKUP guide.
📊 Result: How Your Calendar Looks After Steps 1–3
January 2026 — New Year's Day (Jan 1) and Martin Luther King Jr. Day (Jan 19) are automatically detected and labeled from the Holidays reference table.
Method 3 — Highlight Holidays with Conditional Formatting
Conditional formatting adds a visual layer — automatically applying a background color, font change, or border to any cell whose date matches your Holidays list. This is the feature that makes holidays visually stand out on your calendar without having to manually color cells every time you change the month or year. For a deeper dive on this Excel feature, see our full conditional formatting guide.
Select Your Calendar Date Range
Click and drag to select all the cells containing dates in your calendar grid. For a standard monthly calendar, this is typically a 7-column by 5- or 6-row block (e.g., A7:G12). Make sure you're selecting only the date cells, not headers or labels.
Open Conditional Formatting — New Rule
Enter the COUNTIF Formula
In the formula field, enter:
Replace A7 with the first cell in your selection (the top-left cell of the range you highlighted in Step 1). Excel adjusts the reference automatically for every other cell in the selection.
How it works: For each cell in your selection, Excel checks if that cell's value appears anywhere in the Holidays date column. If COUNTIF returns 1 or more (the date exists in the holiday list), the condition is TRUE and the formatting applies to that cell.
Choose Your Highlight Format and Apply
Click the Format button in the rule dialog and configure your holiday appearance:
- Fill tab: Choose a background color — light red (
#FCE8EA), gold (#FEF9E7), or light blue (#E3F0FF) all work well - Font tab (optional): Make the text bold and/or change the font color to a darker shade matching the fill
- Border tab (optional): Add a colored border for extra visual distinction
Click OK twice — once to close the Format Cells dialog and once to apply the rule.
Optional: Color-Code Different Holiday Types
A single highlight color is fine for basic use, but if your calendar serves a team or organization, you may want to visually distinguish between federal holidays, company-specific days off, school closures, and personal events. Here's how to set that up.
Add a "Type" Column to Your Holidays Table
On your Holidays worksheet, add a third column:
| A | B | C | |
|---|---|---|---|
| 1 | Holiday Name | Date | Type |
| 2 | New Year's Day | 1/1/2026 | Federal |
| 3 | Company Retreat | 3/20/2026 | Company |
| 4 | Spring Break Start | 4/6/2026 | School |
Create Separate Conditional Formatting Rules
Instead of one rule, create separate rules for each type, each with its own color:
Rule 1 — Federal holidays (red fill):
Rule 2 — Company holidays (blue fill):
Rule 3 — School closures (green fill):
COUNTIFS works like COUNTIF but checks multiple conditions — the date must match AND the type must match. Apply a different fill color for each rule, and your calendar will display a color-coded legend of holiday types at a glance.
📊 Result: Color-Coded Holiday Calendar
March 2026 — Federal holidays appear in red, company holidays in blue. Each type uses a separate COUNTIFS rule.
2026 US Federal Holidays — Complete Reference Table
The table below lists all 11 US federal holidays for 2026 with their dates, days of the week, and whether each is a fixed-date or floating holiday. Copy this data directly into your Holidays worksheet to get started. Independence Day falls on Saturday in 2026, so the observed holiday for most federal employees and businesses is Friday, July 3.
| Holiday | 2026 Date | Day | Type |
|---|---|---|---|
| New Year's Day | January 1 | Thursday | Fixed |
| Martin Luther King Jr. Day | January 19 | Monday | Floating |
| Presidents' Day | February 16 | Monday | Floating |
| Memorial Day | May 25 | Monday | Floating |
| Juneteenth | June 19 | Friday | Fixed |
| Independence Day (Observed) | July 3 | Friday | Observed |
| Independence Day | July 4 | Saturday | Fixed |
| Labor Day | September 7 | Monday | Floating |
| Columbus Day | October 12 | Monday | Floating |
| Veterans Day | November 11 | Wednesday | Fixed |
| Thanksgiving Day | November 26 | Thursday | Floating |
| Christmas Day | December 25 | Friday | Fixed |
Fixed vs. floating holidays: Fixed holidays like Christmas (December 25) and Independence Day (July 4) fall on the same date every year, but the day of the week changes. Floating holidays like Thanksgiving (4th Thursday in November) and Memorial Day (last Monday in May) fall on a different date each year but always on the same weekday. This means you need to update your Holidays reference table each year for floating holidays — the formulas themselves don't need to change, just the dates.
Observed holiday rule: When a federal holiday falls on Saturday, it's typically observed on the preceding Friday. When it falls on Sunday, it's observed on the following Monday. In 2026, Independence Day (July 4) falls on Saturday, so Friday July 3 is the observed holiday for most federal offices and many businesses.
📋 Copy-Paste Ready Data for Your Excel Holidays Sheet
⭐ Bonus: Calculate Working Days Excluding Holidays
Once you have a Holidays reference table, you can use it with Excel's NETWORKDAYS function to calculate the number of business days between any two dates — automatically excluding weekends and your listed holidays.
For example, to count working days in Q1 2026: =NETWORKDAYS("1/1/2026", "3/31/2026", Holidays!$B$2:$B$13) returns the number of business days after removing weekends and any holidays from your list that fall in that range.
This is extremely useful for project planning, payroll calculations, and delivery date estimates. You can also use WORKDAY to find a date that is a certain number of business days in the future: =WORKDAY(TODAY(), 10, Holidays!$B$2:$B$13) returns the date 10 working days from today, skipping weekends and holidays.
Troubleshooting — Why Aren't My Holidays Highlighting?
If your conditional formatting rule isn't highlighting holidays as expected, check these common issues in order. In most cases, the problem is one of the first two.
Date Format Mismatch (Most Common Problem)
Your calendar dates and holiday dates must both be real Excel date values, not text strings that look like dates. Here's how to check:
- Click on a date cell in your Holiday table. If the formula bar shows a number like
46023(Excel's internal date serial number), it's a real date. - If the formula bar shows
1/1/2026as text (left-aligned in the cell, possibly with a green triangle in the corner), it's stored as text and COUNTIF won't match it.
Fix: Select the text-date cells, go to Data → Text to Columns → Finish. This forces Excel to re-evaluate the cells and convert text to dates. Alternatively, use =DATEVALUE("1/1/2026") to create a proper date.
Wrong Cell Reference in Conditional Formatting
The formula in your conditional formatting rule should reference the first cell of your selected range. If you selected A7:G12, the formula should use A7 (not A1, not $A$7). Excel auto-adjusts the reference for all other cells in the range.
Fix: Go to Home → Conditional Formatting → Manage Rules, click your rule, click Edit Rule, and verify the cell reference matches the first cell of the "Applies to" range.
Absolute vs. Relative Reference Confusion
In the COUNTIF formula for conditional formatting, the references work like this:
| Part | Should Be | Why |
|---|---|---|
| Holiday range | Holidays!$B:$B (absolute) | Always look at the same holiday list |
| Calendar cell | A7 (relative) | Should change for each cell in the range |
If you use $A$7 (fully absolute) for the calendar cell, every cell in your selection checks only the value in A7 — meaning every cell gets the same result.
Frequently Asked Questions
Use conditional formatting with a COUNTIF formula referencing a Holidays list. The complete process involves four steps: (1) Create a "Holidays" sheet with holiday names in column A and dates in column B. (2) Select your calendar date range. (3) Go to Home → Conditional Formatting → New Rule → Use a formula. (4) Enter =COUNTIF(Holidays!$B:$B, A7)>0 (adjusting A7 to your first selected cell), choose a fill color, and click OK. Any date matching your Holidays list will automatically highlight. The full walkthrough is in Method 3 above.
Yes — all templates labeled "with holidays" on excel-calendar-template.com include US federal holidays for the relevant year, pre-marked and color-coded. You can also easily hide or remove holidays by deleting or clearing the Holidays worksheet. Browse our 2026 calendar templates or monthly templates to download one now.
Replace the dates in the Holidays reference table with the public holidays for your country. The COUNTIF and conditional formatting formulas work identically regardless of which holidays you include — they simply match dates. The formulas don't know or care which country the dates belong to. Good sources for international holiday lists include gov.uk for UK bank holidays, canada.ca for Canadian statutory holidays, and australia.gov.au for Australian public holidays.
Yes — add all holiday dates (public and custom) to the same Holidays reference table. If you want to visually distinguish them with different colors, add a "Type" column (column C) and create separate conditional formatting rules using COUNTIFS instead of COUNTIF. See the color-coding section above for the exact formulas and setup.
The three most common causes are: (1) Date format mismatch — your calendar dates and holiday dates must both be actual Excel date values, not text strings. (2) Wrong cell reference — the conditional formatting formula should reference the first cell in your selection with a relative reference. (3) Absolute vs. relative reference errors — the holiday range should use absolute references ($B:$B), but the calendar cell reference should be relative. See the troubleshooting section for step-by-step fixes.
Fixed holidays fall on the same date every year — Christmas is always December 25, Independence Day is always July 4, Veterans Day is always November 11. Floating holidays fall on a specific weekday pattern instead of a fixed date — Thanksgiving is the 4th Thursday in November (November 26 in 2026), Memorial Day is the last Monday in May (May 25 in 2026), and MLK Day is the 3rd Monday in January (January 19 in 2026). Because floating holidays change their date each year, you need to update your Holidays reference table annually. The formulas themselves don't change — only the dates in the table.
If you have Excel 365 or 2021+, replace the INDEX/MATCH formula with: =XLOOKUP(A7, Holidays!$B:$B, Holidays!$A:$A, ""). XLOOKUP is simpler because: (1) it doesn't require a separate IFERROR wrapper — the fourth argument ("") handles the "not found" case directly, (2) the syntax reads more intuitively — search for A7, look in this column, return from that column, and (3) it defaults to exact match so you don't need the 0 match type argument. Both formulas produce identical results. For more details, see our VLOOKUP & XLOOKUP guide.
Yes — use the NETWORKDAYS function: =NETWORKDAYS(start_date, end_date, Holidays!$B$2:$B$13). This returns the number of workdays between two dates, automatically excluding Saturdays, Sundays, and any dates in your Holidays reference table. To find a future date that's a specific number of working days away, use WORKDAY: =WORKDAY(TODAY(), 10, Holidays!$B$2:$B$13) returns the date 10 business days from now. Both functions are covered in the bonus section above.
There are 11 US federal holidays in 2026: New Year's Day (Jan 1), Martin Luther King Jr. Day (Jan 19), Presidents' Day (Feb 16), Memorial Day (May 25), Juneteenth (Jun 19), Independence Day (Jul 4), Labor Day (Sep 7), Columbus Day (Oct 12), Veterans Day (Nov 11), Thanksgiving Day (Nov 26), and Christmas Day (Dec 25). Since Independence Day falls on Saturday, most federal offices and many businesses observe Friday July 3 as the holiday. The complete table with dates and days is in the 2026 holidays reference section.
Yes — COUNTIF, INDEX/MATCH, XLOOKUP, and conditional formatting all work in Google Sheets with nearly identical syntax. The main difference is the menu path for conditional formatting: in Google Sheets, go to Format → Conditional formatting → Custom formula is (instead of Home → Conditional Formatting → New Rule). The COUNTIF formula, cell references, and holiday table setup are exactly the same. XLOOKUP is also available in Google Sheets.
⬇ Download Complete 2026 Calendar Package
Monthly, yearly, and weekly calendars with all US holidays pre-loaded, print-ready formatting, and fully customizable Holidays worksheets.
Get Free 2026 Templates →