Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Put Dates into Excel: A Simple Step-by-Step Guide

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To put a date into Excel, click a cell and type the date using a forward slash (/) or hyphen (-) as a separator (e.g., 12/05/2026), then press Enter. Excel automatically recognizes these patterns as date values, allowing you to sort them chronologically and use them in formulas. This guide covers everything from basic manual entry to advanced formatting and shortcuts.

What You'll Need

  • A computer with Microsoft Excel installed (Windows or macOS) or access to Excel for the Web.
  • A keyboard for data entry.

Step-by-Step

  1. Select Your Cell: Use your mouse to click on the specific cell where you want the date to appear, or use the arrow keys on your keyboard to navigate to the cell.
  2. Enter the Date: Type the date using a recognized separator. For example:
    • Type 12/05/2026 for December 5th, 2026.
    • Type 5-Dec-2026 for a more explicit month entry.
    • Type 2026/12/05 for an ISO-style date.
  3. Confirm the Entry: Press the Enter key. Excel will usually right-align the text; this is a visual cue that Excel has successfully recognized the entry as a "Date" value rather than plain text.
  4. Use a Keyboard Shortcut (Optional): If you want to enter today's date instantly, select the cell and press Ctrl + ; (Windows) or Command + ; (MacOS). This inserts a static date that will not change when you reopen the file tomorrow.
  5. Fill a Series of Dates: If you need a sequence of dates (e.g., every day in a month), enter the first date in a cell. Hover your mouse over the bottom-right corner of that cell until the cursor turns into a small black cross (the Fill Handle). Click and drag the handle down or across the neighboring cells to automatically populate the sequence.
  6. Change the Date Format: If the date appears as a number (like 46370) or in a format you don't like:
    • Right-click the cell (or range of cells).
    • Select Format Cells.
    • In the Category list on the left, select Date.
    • Choose your preferred format from the Type list on the right (e.g., "March 14, 2012" or "14-Mar-12") and click OK.

Common Mistakes

  • Using Periods as Separators: Typing 12.05.2026 is often treated as text or a decimal number depending on your region, meaning you cannot use it in date calculations. Stick to slashes or hyphens.
  • Mixing Date Formats: Entering some dates as MM/DD/YYYY and others as DD/MM/YYYY in the same column confuses Excel and leads to incorrect sorting.
  • Typing "Today" or "Yesterday": Excel does not recognize words as dates. You must use numbers or specific functions like =TODAY().
  • Incorrect Year Entry: Typing a two-digit year (e.g., 12/05/26) can sometimes lead to ambiguity. It is safer to use the full four-digit year (2026).

Tips

  • Dynamic Dates: If you want a cell to always show the current date whenever you open the spreadsheet, type =TODAY() and press Enter. This is a formula, so it updates automatically.
  • Quick Month Entry: You can type the first three letters of a month to save time (e.g., 5-Dec-26). Excel will automatically convert this to a standard date format.
  • Sorting Dates: Once your dates are entered correctly, you can sort your data by selecting the column, going to the Data tab, and selecting Sort A to Z (Oldest to Newest) or Sort Z to A (Newest to Oldest).
  • Custom Formatting: In the Format Cells menu, you can select Custom and type dddd to display only the day of the week (e.g., "Saturday").

Troubleshooting

If your date does not go to plan, try these solutions in order:

  • The date looks like a five-digit number: This is normal. Excel stores dates as sequential numbers (e.g., Jan 1, 1900, is number 1). To fix this, go to the Home tab, find the Number dropdown menu in the ribbon, and change "General" or "Number" to Short Date.
  • The date is aligned to the left: If a date is left-aligned, Excel thinks it is text. Check for typos, such as using a period instead of a slash, or ensure there are no leading spaces before the date.
  • The day and month are swapped: This is usually caused by your computer's Regional Settings. Excel follows the date format of your operating system. To change this, you must adjust the region/language settings in your Windows or macOS Control Panel/System Settings.
  • The cell shows #######: This means the column is too narrow to display the date. Hover your mouse over the line between the column letters at the top and double-click to auto-fit the width.

Frequently Asked Questions

How do I enter a date that doesn't change?

Use the shortcut Ctrl + ; (Windows) or Command + ; (MacOS). This creates a "static" date. Avoid using the =TODAY() formula if you want the date to remain fixed.

Can I enter dates in a different language?

Excel recognizes month names based on the language settings of your installed version of Office and your OS. If your system is set to English, you must use English month names.

How do I subtract two dates to find the number of days between them?

Simply subtract the earlier date cell from the later date cell (e.g., =B1-A1). Ensure the result cell is formatted as a Number, not a Date, to see the total count of days.

Why does my date change when I share the file with someone in another country?

Excel stores dates as numbers, but displays them based on the user's local system settings. A date entered as MM/DD/YYYY in the US may appear as DD/MM/YYYY to a user in the UK. To prevent this, use a "Long Date" format (e.g., 5 December 2026) which is universally understood.

How can I quickly enter the same date into multiple cells?

Highlight all the cells you want to fill, type the date, and then press Ctrl + Enter. This will populate all selected cells with that specific date instantly.