Excel Calendar Formula

This guide treats “excel calendar formula” the way busy spreadsheet users actually want it: answer first, then the reasoning. It is written for Excel but calls out every place Google Sheets differs, and the platform toggle at the top switches all shortcuts between Windows and Mac so nothing here assumes the keyboard you are not on.

Exact answer

In Excel: start from File ▸ New and search the Calendar templates, or build one from formulas: put =DATE($B$1,$B$2,1) in the first cell and add 1 across the row.

On this page7
Annotated stepsExcel
1

For a ready-made one: File ▸ New, search "calendar", pick a template and change the year cell it exposes.

2

For a reusable grid: put the year and the month in two named input cells.

3

Compute the first visible cell with =DATE(year,month,1)-WEEKDAY(DATE(year,month,1),2)+1 so the grid starts on a Monday.

4

Fill the rest of the row with +1 from the cell to its left, and start each new row from the last cell of the previous one.

5

Apply the custom number format d so each cell shows only the day number.

6

Add conditional formatting to grey out days from the neighbouring months and to highlight =A4=TODAY().

7

For anything you will filter or report on, use one date per row instead of a grid.

=DATE(YEAR(TODAY()),MONTH(TODAY()),1)
Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

Need it as an auditable file?

Ships inside the linked template — formula-driven, unlocked, audit-ready.

View template

What this does

Three approaches, in increasing effort. Microsoft ships ready-made calendar templates under File ▸ New — search "calendar" and pick a yearly, monthly or academic layout. A formula-driven calendar is better when it has to be reusable: one cell holds the year, another the month, and every date cell derives from those, so changing the month redraws the grid. And a simple date list — one date per row down a column — is what you actually want for a schedule or a booking sheet, since it filters, sorts and pivots, which a grid layout does not. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “excel calendar formula”. Start on a copy or a tiny sample, keep the affected formula visible, and compare the result with the tool above before you touch the real workbook. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. The point is a calculation you can defend to a CFO or an auditor, but the practical win is that someone else can open the file and understand what happened without asking you.

A worked example

A reusable monthly grid: B1 = 2026, B2 = 8. In A4 put =DATE($B$1,$B$2,1)-WEEKDAY(DATE($B$1,$B$2,1),2)+1 to land on the Monday of the first week, then B4 = A4+1 filled across to G4, and A5 = G4+1 to start the next row. Format the range with the custom number format d so only the day number shows, and add a conditional-formatting rule =MONTH(A4)<>$B$2 with grey text to fade the leading and trailing days. Changing B2 to 9 redraws the whole month. A calendar built from formulas is reusable for every month and every year, while a typed one is thrown away in four weeks — and knowing when to use a date list instead saves rebuilding the whole thing once someone asks for a report. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.

In Google Sheets

Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. Keep this page bookmarked for the next time the same question comes up. Better still, repeat the steps once in your own workbook — doing it yourself is what turns a copied answer into something you remember. Treat “excel calendar formula” as a small building block rather than a chore. Once the inputs sit in their own cells and the formula reads from them, the same setup answers a dozen related questions with a tweak, and Excel keeps every dependent figure current as the data changes. The tool above is there so you can rehearse and verify before committing anything to a real workbook; the steps and worked example are there so the logic sticks. Get it right once and it stops costing you time — it starts saving it, every time the question comes back around.

Common mistakes

  • Typing the dates by hand, which makes the calendar single-use and guarantees a wrong weekday somewhere.
  • Using TODAY() inside the grid formulas, so the calendar shifts every day instead of staying on the chosen month.
  • Building a grid when the real need is a schedule — a grid cannot be filtered, sorted or pivoted.
  • Forgetting WEEKDAY's second argument; the default counts Sunday as day 1, which shifts a Monday-start calendar by one.
  • Formatting the cells as text so the dates stop being real date serials.

Frequently asked questions

Does Excel have calendar templates?

Yes — File ▸ New and search "calendar". Microsoft ships yearly, monthly, academic and planner layouts that you can edit like any workbook.

How do I make a calendar that updates when I change the month?

Put the year and month in two cells and derive every date from them, starting with =DATE(year,month,1)-WEEKDAY(DATE(year,month,1),2)+1. Changing the month cell then redraws the grid.

How do I show only the day number?

Select the date cells, press Ctrl+1Number ▸ Custom and enter d as the format code. The cell still holds a full date, which is what the conditional formatting needs.

How do I highlight today?

Add a conditional-formatting rule with the formula =A4=TODAY() over the calendar range and give it a fill colour.

Other ways people ask this

People reach this page typing “formula for calendar in excel”, “excel calendar with formulas”, “free excel calendar” and “calendar excel spreadsheet”, among other phrasings; whichever wording you used, the fix above is the one you want.

Why do people search for this in so many different ways?

Because the same task has many names. “formula for calendar in excel”, “excel calendar with formulas”, “free excel calendar” all point at the one operation explained on this page, which is why they all lead here.