Skip to content

How to Make a Calendar in Excel

Three ways to make a monthly calendar in Excel, from the quickest to the most flexible. The formulas also work in Google Sheets, and the finished workbook is free to download below.

Quick answer: type the year in B1 and the month number in D1. In A5, enter =DATE($B$1,$D$1,1)-WEEKDAY(DATE($B$1,$D$1,1))+1 to get the Sunday that starts the grid, add 1 for each box after it, format the boxes as d, and use conditional formatting to gray out days from the other months.

Download the finished workbook

This is the calendar the steps below build, with every formula already in place. Type a year in B1 and a month in D1, and the dates, weekday names, holidays and shading all update.

  • One month at a time, set up to print on one landscape page
  • U.S. federal holidays and observances for six years, with room to add your own dates
  • No macros. Opens in Excel for Windows, Mac and the web, and in Google Sheets
Week starts on
Paper size

Made in your browser; nothing is uploaded. Want all 12 months ready to type in? Get the editable 2027 calendar.

Which method should you use?

Ways to make a calendar in Excel compared
MethodBest forChange the year later?Works in
Built-in templateA designed calendar in a few clicksDepends on the templateExcel for Windows, Mac and the web
Date formulaYour own layout, holidays and room for notesYes, type a new year or monthAny current version of Excel, and Google Sheets
SEQUENCE formulaThe quickest grid, built with one formulaYesMicrosoft 365, Excel 2021 or later, Excel for the web, and Google Sheets
Ready-made fileTyping or printing right awayPick the year before you downloadExcel, Word, Google Sheets and Google Docs

Method 1: Use a built-in Excel calendar template

Excel comes with ready-made calendar templates. If you like one of the designs, this is the fastest way.

  1. Windows: open Excel and choose File › New. Type calendar in the search box and press Enter.
  2. Mac: choose File › New from Template and search for calendar.
  3. Excel for the web: start from the templates on the Excel home page, or find calendar templates at create.microsoft.com.
  4. Pick a template, select Create, and type your events into the day boxes.

Templates are quick, but you are stuck with their layout, and many are made for a single year. To get a calendar that works for any year, starts on Monday or matches your own design, build it yourself with the formula method below.

Method 2: Make a calendar in Excel from scratch with a formula

This builds a monthly calendar that redraws itself when you type a new year or month. It takes about 10 minutes and uses only the DATE, WEEKDAY and MONTH functions, so it works in any current version of Excel and in Google Sheets. This is what you will end up with:

January 2027

January 2027
SunMonTueWedThuFriSat
27282930311New Year's Day2
3456789
10111213141516
1718Martin Luther King Jr. Day1920212223
24252627282930
31123456
The finished calendar for January 2027, Sunday start. Type another year or month in B1 and D1 and it redraws itself.

Step 1. Type the year and month

In A1 type Year, and in B1 type the year, for example 2027. In C1 type Month, and in D1 type the month as a number from 1 to 12. Every formula below reads these two cells.

Step 2. Add the month title

Click A3 and enter:

=DATE($B$1,$D$1,1)

Press Ctrl+1 (⌘+1 on a Mac), choose Custom, and type mmmm yyyy in the Type box. The cell now shows January 2027. To center the title over the calendar, select A3:G3 and choose Merge & Center.

Step 3. Add the weekday names

Type Sunday in A4 and drag the fill handle (the small square at the corner of the cell) to G4. Excel fills in Monday to Saturday.

Step 4. Find the first date in the grid

The first box of the calendar is the Sunday on or before the 1st of the month. Click A5 and enter:

=DATE($B$1,$D$1,1)-WEEKDAY(DATE($B$1,$D$1,1))+1

WEEKDAY returns 1 for Sunday through 7 for Saturday. January 1, 2027 is a Friday, so WEEKDAY returns 6 and the formula steps back five days to Sunday, December 27, 2026.

For a calendar that starts on Monday, type Monday in A4 instead and add ,2 to WEEKDAY, which makes Monday day 1:

=DATE($B$1,$D$1,1)-WEEKDAY(DATE($B$1,$D$1,1),2)+1

Step 5. Fill in the first week

Click B5, enter the formula below, and drag the fill handle from B5 to G5. Each box is the day before it plus one.

=A5+1

Step 6. Add a row for notes and holidays

Row 6 is the writing space under each date. You can leave it empty, or have it show holiday names automatically. To do that, list holiday dates in column I and their names in column J, starting in row 5. Then enter this formula in A6 and drag it to G6:

=IF(MONTH(A5)<>$D$1,"",IFERROR(VLOOKUP(A5,$I:$J,2,FALSE),""))

It looks up the date above in your list and shows its name, but only for days in the current month. You can type over any of these cells later. For U.S. dates, our 2027 holiday list has every federal holiday and observed day off, and the finished workbook below already includes them.

Step 7. Fill in the other five weeks

Select A5:G6, copy it, and paste it into A7. Then change A7 to the formula below so the second week carries on from Saturday:

=G5+1

Now copy A7:G8 and paste it into A9, A11, A13 and A15. You have six weeks of dates in rows 5 to 15, each with a notes row under it. Some months spread over six weeks, so the grid always has six.

Formula view of the calendar sheet, rows 1 to 8
ABCDEFG
1Year2027Month1
2
3=DATE($B$1,$D$1,1)
4SundayMondayTuesdayWednesdayThursdayFridaySaturday
5=DATE(…)-WEEKDAY(…)+1=A5+1=B5+1=C5+1=D5+1=E5+1=F5+1
6=IF(MONTH(A5)…=IF(MONTH(B5)…=IF(MONTH(C5)…=IF(MONTH(D5)…=IF(MONTH(E5)…=IF(MONTH(F5)…=IF(MONTH(G5)…
7=G5+1=A7+1=B7+1=C7+1=D7+1=E7+1=F7+1
8=IF(MONTH(A7)…=IF(MONTH(B7)…=IF(MONTH(C7)…=IF(MONTH(D7)…=IF(MONTH(E7)…=IF(MONTH(F7)…=IF(MONTH(G7)…
Formula view of the first two weeks (press Ctrl+` in Excel to see it). Rows 9 to 16 repeat rows 7 and 8.

Step 8. Show only the day number

Select A5:G16. Press Ctrl+1 (⌘+1 on a Mac), choose Custom, and type d. The boxes now show 27, 28, 29 and so on instead of full dates. They are still real dates, so the formulas keep working.

Step 9. Gray out days from other months

Keep A5:G16 selected and choose Home › Conditional Formatting › New Rule, then Use a formula to determine which cells to format. Enter the formula below, click Format, choose a light gray font color, and click OK.

=MONTH(A5)<>$D$1

The rule is written for A5, the top-left cell of the selection, and Excel adjusts it for every other cell. To shade weekends too, add a second rule the same way with =AND(ISNUMBER(A5),WEEKDAY(A5,2)>5) and a light fill color. ISNUMBER keeps the rule to the date boxes, so the notes rows stay white.

Step 10. Make it look like a calendar

Select columns A to G and set the column width to about 18. Set the date rows (5, 7, 9, 11, 13 and 15) to a height of about 18 and the notes rows (6, 8, 10, 12, 14 and 16) to about 60. Hold Ctrl (⌘ on a Mac) while you click row numbers to select several rows at once.

Then select A4:G16 and choose Home › Borders › All Borders. For the notes rows, turn on Wrap Text and Top Align so longer notes stay inside their box.

Step 11. Make the other months

Right-click the sheet tab, choose Move or Copy, tick Create a copy, and click OK. On the copy, change D1 to 2 for February. Repeat for the rest of the year. Each sheet updates on its own.

Method 3: Make the whole month with one SEQUENCE formula

If you have Microsoft 365, Excel 2021 or later, or Excel for the web, one formula fills in the whole grid. Set up B1, D1 and the weekday names as in steps 1 to 3, then click A5 and enter:

=SEQUENCE(6,7,DATE($B$1,$D$1,1)-WEEKDAY(DATE($B$1,$D$1,1))+1)

SEQUENCE(6,7,…) spills 42 dates in a row into A5:G10, six rows of seven, starting from the same first date as step 4. Format A5:G10 as d (step 8) and add the gray-out rule from step 9 to A5:G10. For a Monday start, use WEEKDAY(…,2) as in step 4. The same formula works in Google Sheets.

The trade-off is that a spilled range has no notes rows between the weeks, and you can’t type over a single date. If you see #SPILL!, clear any cells inside A5:G10.

How to print your Excel calendar on one page

  1. Select A3:G16 and choose Page Layout › Print Area › Set Print Area. Row 1, with the year and month, stays off the printout.
  2. Choose Page Layout › Orientation › Landscape, and pick Letter or A4 under Page Layout › Size.
  3. In File › Print, change No Scaling to Fit Sheet on One Page.
  4. Excel does not print gridlines unless you turn them on, so the borders from step 10 are what you will see on paper.

The finished workbook from this page already has the print area, landscape orientation and one-page scaling set. For more printing tips, see how to print a calendar at full size.

Does this work in Google Sheets?

Yes. Every formula on this page works in Google Sheets as written. Only the menu names are different:

  • Number format: Format › Number › Custom number format, then type d or mmmm yyyy.
  • Conditional formatting: Format › Conditional formatting, choose Custom formula is, and paste the formula from step 9.
  • The finished workbook: in Google Sheets choose File › Import › Upload and pick the .xlsx file, or upload it to Google Drive and open it with Google Sheets.

Need the calendar in a document instead? See how to make a calendar in Google Docs.

Skip the spreadsheet work

Questions

How do I make a calendar in Excel without a template?

Type the year in B1 and the month number in D1. In the first box, enter =DATE($B$1,$D$1,1)-WEEKDAY(DATE($B$1,$D$1,1))+1 to get the Sunday that starts the grid, add 1 for each box after it, and format the boxes as d. A conditional formatting rule with =MONTH(A5)<>$D$1 grays out days from the other months. The full steps are above, and you can download the finished workbook for free.

What is the formula for a calendar in Excel?

The key formula is =DATE(year,month,1)-WEEKDAY(DATE(year,month,1))+1. It returns the Sunday on or before the 1st of the month, which is the first box of the calendar grid. In Microsoft 365 or Excel 2021 and later, =SEQUENCE(6,7, followed by that formula, fills in all six weeks at once.

How do I make an Excel calendar start on Monday?

Add 2 as the second argument of WEEKDAY: =DATE($B$1,$D$1,1)-WEEKDAY(DATE($B$1,$D$1,1),2)+1, and type Monday as the first weekday name. In the finished workbook, choose Monday in cell F1.

How do I make a 12-month calendar in Excel?

Build one month, then right-click the sheet tab, choose Move or Copy, tick Create a copy, and change the month number on each copy. If you would rather not build it, the editable 2027 calendar has all 12 months on separate sheets, ready to type in. Get the editable 2027 calendar

How do I add holidays to an Excel calendar?

List the dates in one column and the names in the next, then use VLOOKUP in the row under each date: =IF(MONTH(A5)<>$D$1,"",IFERROR(VLOOKUP(A5,$I:$J,2,FALSE),"")). The finished workbook already lists U.S. federal holidays and common observances for six years. See the 2027 federal holidays

Can I make a calendar in Excel for free?

Yes. Every method here uses only built-in Excel features, and the workbook on this page is free with no sign-up. If you don’t have Excel, Google Sheets is free and runs the same formulas.