Smart Systems for Home

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

How to Automatically Populate Date in Excel

· 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

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

  1. Click on the cell where you want the current date to appear. This could be in a column labeled "Date Entered" or "Last Updated."
  2. Type an equals sign (=) to begin a formula.
  3. Type TODAY() exactly as shown—make sure to include the parentheses. Do not add any spaces between the letters and parentheses.
  4. 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).
  5. 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).
  6. 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.
  7. 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).
  8. 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.

Frequently Asked Questions

Can I make the date stay the same after I enter it?

Yes. Instead of using =TODAY(), press Ctrl+; on your keyboard while the cell is selected. This inserts the current date as a static value that won’t change.

Does this work on Excel for Mac?

Yes. The =TODAY() and =NOW() functions work identically on Excel for Mac. Use the same steps as on Windows.

Can I use TODAY() to calculate how many days have passed since a date?

Yes. If your start date is in cell A2, use =TODAY()-A2 in another cell. This returns the number of days between today and that date. Format the result as a number.

Will the date update if I share the file with someone else?

Yes. Anyone who opens the file will see the current date based on their own system clock. This may cause confusion if users are in different time zones.

Why does my date show as a number like 45400?

Excel stores dates as serial numbers. If you see a number instead of a date, your cell is formatted as "General." Select the cell, press Ctrl+1, choose "Date" under Number, and pick a display format.

Can I use TODAY() in a pivot table?

No. Pivot tables cannot directly use volatile functions like TODAY() or NOW() in calculated fields. You must add the date as a static column in your source data first.