🎉 CUSTOMIZATION GUIDE

How to Add Holidays to an Excel Calendar (Step-by-Step)

Three methods to add US federal holidays, company holidays, and custom events to any Excel calendar — from one-click template downloads to fully automated conditional formatting.

🎯 What You'll Learn

📋 In This Guide

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.

Method 1

Download Pre-Built Template

Get a calendar with US holidays already marked and color-coded. Zero formula work required.

⏱️ 2 min 📊 Beginner
Method 2

Add Holidays to Any Calendar

Create a holiday reference table and use COUNTIF + INDEX/MATCH to flag and label holidays.

⏱️ 15 min 📊 Intermediate
Method 3

Conditional Formatting

Automatically highlight holiday cells with color. Works dynamically as you change months or years.

⏱️ 10 min 📊 Intermediate

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:

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.

Step 1

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:

ColumnHeader (Row 1)PurposeExample
AHoliday NameThe display name for the holidayNew Year's Day
BDateThe date in a proper Excel date format1/1/2026

Enter all the holidays you want to track. Your completed table should look like this:

AB
1Holiday NameDate
2New Year's Day1/1/2026
3MLK Jr. Day1/19/2026
4Presidents' Day2/16/2026
5Memorial Day5/25/2026
6......

A complete copy-paste-ready list of all 2026 US federal holidays is provided in the reference table below.

💡 Critical step: Format column B as "Date" by selecting the column, right-clicking → Format Cells → Date. If Excel stores your holiday dates as text instead of real date values, the COUNTIF and MATCH formulas in the next steps won't find any matches. You can verify a cell is a date by clicking on it — the formula bar should show a date like 1/1/2026, and the cell should be right-aligned.
Step 2

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:

=COUNTIF(Holidays!$B:$B, A7)

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 sheet
  • A7 — 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)
⚠️ Use absolute references for the holiday range: The dollar signs in $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.
Step 3

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:

All Versions
INDEX/MATCH
=IFERROR(INDEX(Holidays!$A:$A, MATCH(A7, Holidays!$B:$B, 0)), "")

Works in Excel 2007 and later. Requires IFERROR wrapper to show blank on non-holidays.

Excel 365 / 2021+
XLOOKUP
=XLOOKUP(A7, Holidays!$B:$B, Holidays!$A:$A, "")

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 (the 0 means exact match)
  • INDEX(Holidays!$A:$A, ...) — returns the holiday name from column A at that row number
  • IFERROR(..., "") — if no match is found (regular day), display blank instead of a #N/A error

For more on these lookup functions, see our full VLOOKUP & XLOOKUP guide.

📊 Result: How Your Calendar Looks After Steps 1–3

Sun
Mon
Tue
Wed
Thu
Fri
Sat
1New Year's Day
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19MLK Jr. Day
20
21
22
23
24

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.

ℹ️ Working with an auto-updating calendar? If you built a dynamic calendar that changes months, these formulas work perfectly — they'll detect holidays for whatever month is currently displayed, as long as the dates in your Holidays table cover that month and year.

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.

Step 1

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.

Step 2

Open Conditional Formatting — New Rule

HomeConditional FormattingNew RuleUse a formula to determine which cells to format
Step 3

Enter the COUNTIF Formula

In the formula field, enter:

=COUNTIF(Holidays!$B:$B, A7)>0

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.

Step 4

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.

💡 Result: Every date in your calendar that matches a date in the Holidays table is now automatically highlighted. This updates in real-time — edit the Holidays table (add dates, remove dates, change years) and the calendar formatting refreshes instantly.

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.

Step 1

Add a "Type" Column to Your Holidays Table

On your Holidays worksheet, add a third column:

ABC
1Holiday NameDateType
2New Year's Day1/1/2026Federal
3Company Retreat3/20/2026Company
4Spring Break Start4/6/2026School
Step 2

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):

=COUNTIFS(Holidays!$B:$B, A7, Holidays!$C:$C, "Federal")>0

Rule 2 — Company holidays (blue fill):

=COUNTIFS(Holidays!$B:$B, A7, Holidays!$C:$C, "Company")>0

Rule 3 — School closures (green fill):

=COUNTIFS(Holidays!$B:$B, A7, Holidays!$C:$C, "School")>0

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

Sun
Mon
Tue
Wed
Thu
Fri
Sat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20Company Retreat
21
22
23
24
25
26
27
28
29
30
31

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

Holiday Name Date New Year's Day 1/1/2026 Martin Luther King Jr. Day 1/19/2026 Presidents' Day 2/16/2026 Memorial Day 5/25/2026 Juneteenth 6/19/2026 Independence Day (Observed) 7/3/2026 Independence Day 7/4/2026 Labor Day 9/7/2026 Columbus Day 10/12/2026 Veterans Day 11/11/2026 Thanksgiving Day 11/26/2026 Christmas Day 12/25/2026

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

=NETWORKDAYS(start_date, end_date, Holidays!$B$2:$B$13)

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.

Fix 1

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/2026 as 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.

Fix 2

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.

Fix 3

Absolute vs. Relative Reference Confusion

In the COUNTIF formula for conditional formatting, the references work like this:

PartShould BeWhy
Holiday rangeHolidays!$B:$B (absolute)Always look at the same holiday list
Calendar cellA7 (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

How do I highlight holidays in Excel automatically?

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.

Do your free calendar templates include US holidays?

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.

How do I add holidays for a different country (UK, Canada, Australia, etc.)?

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.

Can I add both public holidays and company-specific 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.

Why aren't my holidays highlighting correctly?

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.

What is the difference between fixed and floating holidays?

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.

How do I use XLOOKUP instead of INDEX/MATCH for holiday names?

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.

Can I calculate working days excluding holidays in Excel?

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.

How many US federal holidays are there in 2026?

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.

Does this method work in Google Sheets?

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 →

Related Guides & Templates

Why Adding Holidays to Your Excel Calendar Matters

A calendar without holidays is just a grid of numbers. Adding holidays transforms it into a planning tool that prevents scheduling conflicts, surfaces upcoming days off, and gives your team a shared reference for deadlines and availability. Whether you're using an Excel calendar for personal planning, team scheduling, project management, or academic tracking, holiday awareness is one of the features that separates a useful calendar from a decorative one.

When to Use Each Method

Method 1 (downloading a pre-built template) is the right choice when you want a standard US calendar with federal holidays and don't need custom dates. It takes two minutes and requires no Excel formula knowledge. Method 2 (building a holiday reference table with COUNTIF and INDEX/MATCH) is the right choice when you need to add custom holidays — company events, school breaks, religious observances, or holidays from a different country — to a calendar you've already built or downloaded. Method 3 (conditional formatting) builds on Method 2 by adding automatic color-coding, and is especially valuable when your calendar is dynamic (using formulas from our auto-updating calendar guide) and needs to highlight different holidays as the displayed month changes.

Keeping Your Holiday List Updated Year to Year

The formulas and conditional formatting rules you set up are reusable from year to year — you only need to update the dates in your Holidays reference table. For fixed-date holidays like Christmas and Independence Day, the dates stay the same but the day of the week changes. For floating holidays like Thanksgiving, Memorial Day, and MLK Day, both the date and the day change annually. A good practice is to update your Holidays table at the start of each new year. If you'd rather skip this step entirely, download our pre-built 2026 templates with current-year holidays already entered.