How to Enter Dates in Excel: A Step-by-Step Guide
In this article
Entering dates correctly in Excel is essential for sorting, filtering, calculating durations, and creating timelines. This guide shows you the proper formats, shortcuts, and settings to ensure Excel recognizes your entries as dates, not text, so all date-based functions work as expected.
What You'll Need
- Microsoft Excel (2016, 2019, 2021, or Microsoft 365) installed on your computer.
- A worksheet open where you want to enter dates.
- Basic familiarity with selecting cells and typing in Excel.
Step-by-Step
- Select the cell where you want the date to appear. Click on it once.
- Type the date using a recognized format. The most common formats are:
MM/DD/YYYY(e.g.,12/25/2025) – default for US locale.YYYY-MM-DD(e.g.,2025-12-25) – ISO standard, unambiguous.DD-MMM-YYYY(e.g.,25-Dec-2025) – readable and avoids confusion.
- Press Enter or Tab to confirm. Excel will automatically convert the typed text to a date serial number and display it according to the cell's number format.
- To enter today's date quickly, select a cell and press
Ctrl + ;(semicolon) on Windows orCtrl + ;on Mac. This inserts the current date as a static value. - To enter the current date and time, press
Ctrl + Shift + ;(semicolon) on Windows orCmd + ;on Mac. This inserts the current date and time as a static value. - To enter a date that updates automatically, use the formula
=TODAY()for the current date or=NOW()for the current date and time. These are volatile and recalculate when the workbook opens. - To fill a series of dates (e.g., every day, every weekday, every month), type the first date in a cell, then drag the fill handle (the small square at the bottom-right corner of the cell) down or across. Release the mouse and choose the appropriate option from the Auto Fill menu if you need weekday or month increments.
- To change the display format, right-click the cell, select Format Cells, go to the Number tab, choose Date under Category, and pick a format from the list. You can also create a custom format like
dddd, mmmm d, yyyyto show the full weekday and month name. - To enter dates in a specific locale, adjust your system's regional settings or use the
TEXTfunction to convert a date to a text string in a particular format, e.g.,=TEXT(A1, "DD-MMM-YYYY").
Common Mistakes
- Typing dates with periods or spaces like
12.25.2025orDec 25, 2025– Excel may not recognize these as dates, treating them as text. Use slashes or hyphens. - Using two-digit years like
12/25/25– Excel interprets 00-29 as 2000-2029 and 30-99 as 1930-1999. This can cause errors in calculations. Always use four-digit years. - Entering dates as text – If a cell is formatted as Text before you type, the date remains text and cannot be used in calculations. Check the cell format and change it to Date if needed.
- Mixing date formats – If you type some dates as
MM/DD/YYYYand others asDD/MM/YYYY, sorting and filtering will be inconsistent. Stick to one format. - Forgetting that dates are numbers – Excel stores dates as serial numbers (e.g., 1/1/1900 = 1). This is normal, but if you see a number like 46000, it means the cell is formatted as General, not Date. Apply a date format.
Tips
- Use the Date Picker – In Excel, when a cell is formatted as Date, you can click the drop-down arrow in the cell (if Data Validation is set to allow a list) to pick a date from a calendar. To enable this, go to Data > Data Validation > Allow: List, and enter a range of dates or use a formula.
- Keyboard shortcuts save time –
Ctrl + ;for today's date andCtrl + Shift + ;for current time are the fastest ways to insert static timestamps. - Use the Fill Handle wisely – Drag down with the right mouse button to see a context menu with options like Fill Weekdays, Fill Months, or Fill Years.
- Check your regional settings – If Excel is interpreting dates differently than you expect, go to File > Options > Advanced and review the “When calculating this workbook” section, or adjust your Windows regional format.
- Use the DATE function – For complex dates, use
=DATE(year, month, day)to avoid ambiguity. For example,=DATE(2025, 12, 25)always returns December 25, 2025.
Troubleshooting
- Excel shows a number instead of a date – This means the cell is formatted as General or Number. Right-click the cell, select Format Cells, choose Date, and pick a format.
- Dates are left-aligned (text) instead of right-aligned (date) – Text aligns left; dates align right. If your entry is left-aligned, Excel did not recognize it as a date. Re-type using a valid format like
MM/DD/YYYYorYYYY-MM-DD. - Date appears with a green triangle – This is an error indicator. Click the cell, then the warning icon, and choose “Convert to Number” or “Ignore Error” if the date is correct.
- Sorting dates gives wrong order – This happens when some dates are text. Select the column, go to Data > Text to Columns, and choose Delimited > Next > Next > Date (MDY) to convert text to dates.
- Formulas like DATEDIF return errors – Ensure both cells contain real dates, not text. Use the ISDATE function (if available) or check the cell format.
- Date picker doesn’t appear – The date picker is only available when Data Validation is set to “List” with a date range. It is not a default feature in Excel. Use the fill handle or type manually.
Frequently Asked Questions
- Why does Excel change my date format? – Excel uses your system’s regional settings to display dates. If you type
12/25/2025and it shows25/12/2025, your locale uses DD/MM/YYYY. Change the cell format or your system settings to override. - How do I enter a date without the year? – Type
12/25and Excel will use the current year. To display only month and day, format the cell asMM/DD. - Can I enter dates in Excel using a calendar? – Not by default. Excel does not have a built-in date picker for regular cells. You can use Data Validation with a list of dates or install an add-in.
- What is the difference between =TODAY() and =NOW()? –
=TODAY()returns the current date with no time (midnight).=NOW()returns the current date and time. Both update when the workbook recalculates. - How do I enter a date as text so it doesn’t change? – Precede the date with an apostrophe, e.g.,
'12/25/2025. This forces Excel to treat it as text, but you lose date functionality. - Why does Excel show ##### for a date? – The column is too narrow to display the full date. Widen the column by double-clicking the header boundary, or change the date format to a shorter one.