A date box in an Excel form is created with the form's date field (in Microsoft Forms) or, inside a worksheet, with a cell that has Data Validation set to Date plus a date number format. The validation is what makes it a real box: it rejects impossible or out-of-range entries like 31 Feb, while the format keeps an ISO or local date readable. Do the formatting and validation on the sheet first, then let the form write to that sheet, and the dates arrive as true Excel dates you can sort, filter and subtract.
What You'll Need
- Excel for the web, Microsoft 365, Excel 2021 or 2019, or a Microsoft 365 work or school account for the Forms route.
- A worksheet with a clear column for the date and, ideally, a header row.
- Columns either side left empty for a moment: the date column needs one row reserved for the field.
- For the Forms route, the form linked to the workbook and permission to edit both.
Menu and dialog labels can differ slightly by Excel version, platform and region, and on the Mac they are sometimes worded differently, so look for the closest match to the names below.
Step-by-Step
- Reserve the date column and format it. Select the date column (click the letter at the top), right-click, choose Format Cells, pick Date and choose an unambiguous pattern such as 2019-06-30 or 30-Jun-2019. Clear formats or set the column to General before you type anything, so no stray text formatting sticks.
- Set the validation rule. With the column still selected, go to Data > Data Validation (in some versions Data > Data Validation > Data Validation). In the Settings tab choose Allow: Date.
- Choose the operator and limits. For an open date box pick between and set a wide start and end date, or pick greater than or equal to and enter the earliest acceptable date, such as the start of the financial year. Use less than or equal to with =TODAY() if future dates should not be allowed yet.
- Write the error message. Switch to the Error Alert tab, choose Stop so bad entries cannot be saved, and write a message naming the accepted range, for example "Enter a date between 2024-01-01 and today." A Warning style lets people override it, which defeats the purpose on important sheets.
- Test it like a user. Type 31/02/2025 (an impossible date) and press Enter; nothing should be accepted. Type a date outside your range and check the same. Type a valid date and confirm it right-aligns, which tells you Excel treated it as a number, not text.
- Add a prompt so users know the rule. Back in Data Validation, the Input Message tab shows a tooltip when the cell is selected. Say what format you expect, such as YYYY-MM-DD.
- If you want a picker, build it on the sheet. Excel's worksheet cells have no built-in calendar button. You can type dates directly, or design a small helper form with option buttons or a dropdown of dates in a separate cell via Data > Data Validation > List and let users select from that. Anything resembling a true calendar pop-up requires macros or a third-party add-in, both outside what plain Excel offers.
- For a real form with a date picker, use Microsoft Forms. In Forms, add a question and choose the Date type. That gives respondents a calendar picker in the browser and the mobile app, and you can set whether dates must fall before, after or between limits. Link the form to the workbook (in Forms, the response options include opening results in Excel) and each submission lands as a date value. You cannot edit the generated form response sheet's layout without breaking the link, so keep your validation and formatting on a separate sheet that references the responses.
- Only then let people enter dates. Protect the sheet if the workbook is shared: Review > Protect Sheet, and leave Select locked cells allowed. This keeps the validation and formatting from being stripped by accident.
Common Mistakes
- Typing dates that Excel stores as text. Leading apostrophes, spaces and regional order (03/04/2025 read as April in one locale) are the usual culprits. Left-aligned entries are a warning sign; they are text.
- Applying the format before entering data across merged or already-filled cells. Existing text keeps its text nature. Convert with Data > Text to Columns and pick the date order explicitly.
- Setting validation on one cell only. Select the whole column or a generous range, not the visible cell under the cursor.
- Using two-digit years. 30/06/25 depends on a setting and can land in the wrong century. Enter four digits.
- Sharing the Forms-linked sheet and editing its columns. Deleting or renaming generated columns severs the link and later responses stop arriving.
- Assuming a cell has to have a calendar. No setting adds one to a normal cell; plan for typed entry or a Forms date question.
Tips
- Type =TODAY() in a named cell and reference it in validation limits to keep the range moving without edits.
- Use conditional formatting to highlight dates older than a set number of days, so stale entries stand out.
- Keep one date format across the workbook. A single ISO-style column sorts correctly everywhere and avoids day/month confusion.
- If you need the day of the week or month for grouping, add a helper column with TEXT or the WEEKDAY function rather than changing the date cell's own format.
- Test the workbook in the language and region your users have, not just yours.
Troubleshooting
Start with the simplest checks: reopen the workbook, confirm you are editing the protected or shared version rather than a local copy, and check that the date column still has Data Validation by selecting a cell and opening Data > Data Validation. A rule that is silently missing means someone pasted over it; pasting plain values with Paste Special > Values clears validation on many versions, so reapply it.
If valid dates are rejected, look at the operator and limits: an end date typed as 30/06/2025 in a locale that reads it as June 2030 will fail every realistic entry. Rewrite the limits with four-digit years and test again. If everything is stored as text, select the column, run Data > Text to Columns, choose Delimited with no delimiter, then pick Date with the correct day-month order.
If a Forms-linked sheet stops receiving responses, open the form itself, check it is still accepting responses, and use Forms' own option to reopen the results in Excel rather than relying on the old link. If dates appear shifted by one day between the form and the sheet, that is a time zone difference in how the value is stored; format the column as Date with the right display, and do not try to fix it by adding a day with a formula.
Do not clear app data or reset anything as a first move: it can remove the form's link and any unsent responses. Only recreate the connection as a last resort, after downloading a copy of existing responses.
Frequently Asked Questions
Can I add a calendar pop-up to a normal Excel cell?
Not without macros, add-ins or ActiveX controls that do not exist in every version, and not in Excel for the web. For an actual picker, use a Microsoft Forms date question, or accept typed dates with validation.
Why does Excel refuse a date I know is valid?
Almost always the validation range or a locale mismatch. Check the limits in Data > Data Validation and rewrite them with four-digit years and the day/month order your region uses.
How do I stop people entering future dates?
Set validation to Allow: Date, operator less than or equal to, and use =TODAY() as the maximum. That rule updates as each day passes.
Does a date from Microsoft Forms arrive as a real date in Excel?
Yes, responses land as date values, which sort and calculate correctly. Do not retype them, or they may become text.
Can I keep the date box working on a shared workbook?
Yes, if you protect the sheet with Review > Protect Sheet and allow users to select cells, so the validation rule stays in place.