docs / articles / Add Drop-Down Calendar to Excel Cell

Add Drop-Down Calendar to Excel Cell

Eric Jul 09, 2026 2026-07-09 04:40:47

Ever found yourself in need of a quick date picker within your Excel spreadsheet? Inserting a dropdown calendar into a cell can significantly streamline your data entry process. Here's a step-by-step guide on how to achieve this using Excel's built-in tools and a simple VBA (Visual Basic for Applications) script.

How to Insert a Calendar in Excel (the Simplest Way)
How to Insert a Calendar in Excel (the Simplest Way)

Before we dive in, ensure you're using Excel 2010 or later, as the Data Validation feature we'll use has been enhanced in these versions. Let's get started!

How to create a drop down list calendar (date picker) in Excel?
How to create a drop down list calendar (date picker) in Excel?

Using Data Validation for a Simple Drop-Down List

While not a calendar, Excel's Data Validation tool allows you to create a drop-down list within a cell. This can be a useful starting point before we delve into creating a calendar.

How to Make a Calendar Template in Excel
How to Make a Calendar Template in Excel

Here's how to create a simple drop-down list:

Creating the Drop-Down List

How to insert dates from a Popup Calendar (date picker) in Excel – user guide | XLTools
How to insert dates from a Popup Calendar (date picker) in Excel – user guide | XLTools

1. Select the cell where you want the drop-down list to appear.

2. Click on the 'Data' tab in the ribbon, then click on 'Data Validation'.

3. In the 'Settings' tab, under 'Allow', select 'List'.

How to Make a Calendar in Excel [Complete Guide + Free Templates] - GeeksforGeeks
How to Make a Calendar in Excel [Complete Guide + Free Templates] - GeeksforGeeks

4. In the 'Source' field, enter the range of cells containing the list of items (e.g., A1:A10).

5. Click 'OK'. Now, when you click on the cell, you'll see a drop-down list of the items you've specified.

Limiting Selection to Dates

How to Add Date Picker Calendar Drop Down in MS Excel (Easy)
How to Add Date Picker Calendar Drop Down in MS Excel (Easy)

To limit the drop-down list to dates, you'll need to use a trick involving named ranges and a simple VBA script. Here's how:

1. In a separate worksheet, list the dates you want to include in your drop-down calendar. For example, in cells A1:A31, list dates from today to one month from today.

How to insert calendar in Excel (Date Picker & printable calendar template)
How to insert calendar in Excel (Date Picker & printable calendar template)
Create a Calendar in Excel - Tutorial
Create a Calendar in Excel - Tutorial
Free Excel Calendar Template
Free Excel Calendar Template
Perfect Inserting A Dropdown Calendar In Excel
Perfect Inserting A Dropdown Calendar In Excel
an image of a calendar in excel
an image of a calendar in excel
Calender in Excel ‼️ Amazing Excel trick using data validation and conditional formatting ✅ #Excel
Calender in Excel ‼️ Amazing Excel trick using data validation and conditional formatting ✅ #Excel
How to make a dynamic calendar in excel
How to make a dynamic calendar in excel
an image of a calendar in microsoft office 365 with the date and time tab open
an image of a calendar in microsoft office 365 with the date and time tab open
How to Make an Interactive Calendar in Excel? (2026 Template)
How to Make an Interactive Calendar in Excel? (2026 Template)
Calendar in Excel: Make Dynamic, Interactive Calendar in Excel with Formula + Conditional Formatting
Calendar in Excel: Make Dynamic, Interactive Calendar in Excel with Formula + Conditional Formatting
Create a Calendar in Microsoft Excel or Insert a Reference Calendar
Create a Calendar in Microsoft Excel or Insert a Reference Calendar
🧾 Create Professional Invoice Templates in Excel with Tips and Tricks
🧾 Create Professional Invoice Templates in Excel with Tips and Tricks
Create a Calendar in Microsoft Excel or Insert a Reference Calendar
Create a Calendar in Microsoft Excel or Insert a Reference Calendar
How to add a Calendar into a cell in Google Sheets #googlesheets #tutorial #spreadsheet
How to add a Calendar into a cell in Google Sheets #googlesheets #tutorial #spreadsheet
How to Make & Format a Calendar in Excel - Tutorials
How to Make & Format a Calendar in Excel - Tutorials
How to Make & Format a Calendar in Excel - Tutorials
How to Make & Format a Calendar in Excel - Tutorials
How to Create a Month Calendar in Excel - Tutorial 📆
How to Create a Month Calendar in Excel - Tutorial 📆
the calendar dashboard in excel with text overlaying it that reads, calendar dashboard in excel
the calendar dashboard in excel with text overlaying it that reads, calendar dashboard in excel
How to Make a Calendar in Excel that Reveals a Picture - Tutorial  📆
How to Make a Calendar in Excel that Reveals a Picture - Tutorial 📆
Ready to kick off 2025 with organisation and style?
Ready to kick off 2025 with organisation and style?

2. Select the range of dates (e.g., A1:A31), click on the 'Formulas' tab, then 'Define Name'. Name this range 'DateList'.

3. Press 'Alt + F11' to open the Visual Basic Editor. Click 'Insert', then 'Module' to insert a new module.

4. Paste the following VBA script into the module:

Sub CreateCalendar() Dim ws As Worksheet Set ws = ThisWorkbook.Sheets("YourSheetName") 'Replace "YourSheetName" with the name of your sheet With ws.Range("A1") 'Replace "A1" with the cell where you want the calendar to appear .DataValidation.Delete .DataValidation.Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:= _ xlBetween, Formula1:="=DateList" End With ThisWorkbook.Save End Sub

5. Close the Visual Basic Editor by clicking the 'X' in the upper-right corner or pressing 'Alt + Q'.

6. Now, whenever you want to create a drop-down calendar in a cell, simply run the 'CreateCalendar' macro. To do this, press 'Alt + F8', select 'CreateCalendar', and click 'Run'.

Creating a More Advanced Drop-Down Calendar

For a more advanced drop-down calendar, you can use a combination of Excel's built-in tools and a more complex VBA script. This will allow you to filter data based on the selected date, create a mini-calendar, and more.

However, creating such a calendar is beyond the scope of this article and requires a good understanding of VBA and Excel's object model. I recommend searching for tutorials or hiring a professional if you need this level of customization.

And there you have it! You now know how to insert a drop-down calendar into a cell in Excel. Happy data entry!