How to Automatically Populate Date in Excel
In this article
Excel can automatically populate the current date in a cell using built-in functions, eliminating manual entry and reducing errors. This is useful for logs, time-stamped records, or tracking when data was entered. No add-ins or macros are required—only basic Excel knowledge and a working version of Excel 2010 or later. The method works on Windows and macOS.
What You'll Need
- Microsoft Excel 2010 or later (including Excel for Microsoft 365)
- A worksheet where you want the date to appear
- Basic familiarity with typing formulas in Excel
Step-by-Step
- Click on the cell where you want the current date to appear. This could be in a column labeled "Date Entered" or "Last Updated."
- Type an equals sign (=) to begin a formula.
- Type TODAY() exactly as shown—make sure to include the parentheses. Do not add any spaces between the letters and parentheses.
- Press Enter. The cell will now display today’s date in your system’s default date format (e.g., 4/15/2024 or 15-Apr-2024).
- To apply this to multiple rows, click the cell with the formula, then move your cursor to the bottom-right corner until it turns into a thin black cross (the fill handle).
- Click and drag the fill handle down over the cells where you want the date to appear. Each cell will automatically update to show today’s date when opened or recalculated.
- If you need the date and time together, use =NOW() instead of =TODAY() in Step 3. This will show both date and time (e.g., 4/15/2024 14:30).
- Save your workbook. The date will update automatically every time the file is opened or recalculated.
Common Mistakes
- Typing "today()" in lowercase or with extra spaces—Excel may not recognize it as a function. Always use uppercase "TODAY()" and no spaces.
- Forgetting the parentheses—entering just =TODAY without () will result in an error.
- Using =TODAY() in a cell that’s meant to show a fixed date (like a contract signing date). Since TODAY() updates daily, it will change every time you open the file. Use this only when you need the current date, not a historical one.
- Dragging the fill handle without understanding that all cells will show the same date (today’s date) and not sequential dates. If you need a sequence like 4/1/2024, 4/2/2024, etc., use the Fill Series feature instead.
- Assuming the date will stay static after entering. The TODAY() function is dynamic and recalculates on every open or recalculation cycle.
Tips
- If you want the date to remain static after entry (e.g., for audit trails), type Ctrl+; (semicolon) on your keyboard while the cell is selected. This inserts the current date as a value, not a formula, so it won’t change.
- Combine TODAY() with text using concatenation: ="Updated on: "&TODAY() will display "Updated on: 4/15/2024" without needing a separate cell.
- Use conditional formatting to highlight rows where the date is older than 7 days: select your date column, go to Home > Conditional Formatting > New Rule > Use a formula to determine which cells to format, then enter =TODAY()-A2>7 (assuming dates are in column A), and set a red fill.
- Format the date display by selecting the cell(s), pressing Ctrl+1, choosing "Date" under Number tab, and picking your preferred style (e.g., March 14, 2024).
- Use TODAY() in data validation rules to restrict entries to dates not in the past: select your cell, go to Data > Data Validation, set Allow to "Date," Data to "greater than or equal to," and Value to =TODAY().
- If you’re working in a shared workbook, remember that TODAY() updates for every user based on their system clock, which may cause discrepancies across time zones.
Troubleshooting
- If the cell shows ###### instead of a date, the column is too narrow. Drag the column boundary wider to reveal the date.
- If =TODAY() shows as text instead of a date, your cell format is set to "Text." Select the cell, press Ctrl+1, choose "Date" under the Number tab, and click OK.
- If the date doesn’t update when you open the file, check that Calculation Options is set to Automatic: go to Formulas > Calculation Options > Automatic.
- If you’re in a protected worksheet and can’t edit the cell, unprotect the sheet (Review > Unprotect Sheet) or ensure the cell is unlocked (right-click > Format Cells > Protection > uncheck Locked).
- If you get a #NAME? error, you likely misspelled the function. Double-check for typos like "TODAY" without parentheses or "TODAYS()".
- If using Excel Online and the date doesn’t appear, try reloading the page or switching to the desktop app—some web versions delay function updates.