Excel has no single "auto date" switch, but you can make a date update itself in a few reliable ways: use =TODAY() for a date that always shows today's date, =NOW() for a date and time, or paste a date and press Ctrl+; (Windows) or Cmd+; (Mac) for a fixed date stamp. Which one you need depends on whether you want the date to keep changing or to record the moment something was entered. Note that menu names and button labels can differ slightly between Excel versions, on the web app, and by region, but the core formulas below work the same everywhere.
What You'll Need
- Excel desktop (Microsoft 365, Excel 2019 or newer recommended) or Excel for the web
- A workbook where macros are allowed, if you plan to use the VBA method
- Basic familiarity with typing formulas into cells
Step-by-Step
Method 1: A date that always shows today (TODAY)
- Click the cell where the date should appear.
- Type
=TODAY()and press Enter. The cell shows today's date. - Format it as a date: select the cell, open the Number Format dropdown on the Home tab, and choose Short Date or Long Date.
- To copy it, drag the fill handle. Every cell using
=TODAY()shows the current date whenever the workbook recalculates.
Method 2: A date and time (NOW)
- Select the target cell.
- Type
=NOW()and press Enter. - Apply a date-and-time format if it shows a serial number rather than a readable value.
- Press F9 to force a recalculation if you need the displayed time to refresh immediately.
Method 3: A fixed date stamp that does not change
- Select the cell and press Ctrl+; on Windows or Cmd+; on Mac. This inserts today's date as a static value.
- For date and time together, press Ctrl+;, type a space, then press Ctrl+Shift+; (Mac: Cmd+; for the date, then Cmd+Shift+; for the time).
- Press Enter to confirm. The value stays fixed unless you edit it.
Method 4: Auto-stamp the date when you enter data in another cell (VBA)
Spreadsheet functions cannot write to other cells, so a true auto-stamp needs a short macro.
- Press Alt+F11 to open the VBA editor.
- In the Project pane, double-click the worksheet where the stamp should appear.
- Paste the following code, adjusting the columns to your sheet:
Private Sub Worksheet_Change(ByVal Target As Range) If Not Intersect(Target, Range("B:B")) Is Nothing Then If Target.Cells.Count = 1 And Target.Value <> "" Then Application.EnableEvents = False Target.Offset(0, 1).Value = Date Application.EnableEvents = True End If End If End Sub - Close the editor and type something in column B. The date appears in column C automatically.
- Save the file as .xlsm (Macro-Enabled Workbook), or the code will be lost.
Method 5: Update the date in a header, footer or cell on open
- For a printed date, go to Insert > Header & Footer, choose a section, and select Current Date.
- For a cell that refreshes on open, keep
=TODAY()in it and check that automatic calculation is on: File > Options > Formulas > Workbook Calculation should be set to Automatic.
Common Mistakes
- Typing
TODAYwithout the parentheses. Excel shows the word as text or throws an error; the formula needs=TODAY(). - Pasting a transcript of a date from another program: Excel may store it as text, not a real date. Use Date > Text to Columns or type it in a recognised date format.
- Using
=TODAY()where a permanent record is needed. It changes every day and can drive a stale-looking report once the file is reopened. - Forgetting to save the macro workbook as .xlsm. Saving as .xlsx strips the VBA.
- Turning off
Application.EnableEventsin a macro and never turning it back on, which silently stops the macro and other events from firing. - Letting the date display as a serial number (e.g. 45378) because the cell is formatted as General.
Tips
- Use
=TODAY()-A1to calculate days since a start date; the result updates daily without any manual refresh. - For a fixed "last updated" stamp you control, type the date with Ctrl+; after each edit instead of a formula.
- Format dates consistently with one format code, such as DD/MM/YYYY or MM/DD/YYYY, to avoid confusion across regions.
- Keep
=TODAY()in a single designated cell and reference it elsewhere (e.g.=$D$1) for cleaner formulas. - Test macros on a copy before using them on a working file, and keep a backup.
Troubleshooting
- The date will not recalculate. Check File > Options > Formulas and set Workbook Calculation to Automatic; press F9 to recalc manually.
- The formula shows as text. The cell is probably formatted as Text. Change the format to General or Date, then re-enter the formula.
- TODAY() shows a number like 45378. The cell format is General; apply a Date format from the Home tab.
- The macro does nothing. Ensure macros are enabled (Trust Center settings in File > Options), the code sits in the correct worksheet module, and the file is .xlsm.
- The date is wrong by a day or shifted. Check your system clock and regional date settings, because
TODAY()reads them from Windows or macOS. - Excel for the web behaves differently. Macros do not run in the browser version; open the file in the desktop app for VBA.
If That Did Not Work
If formulas keep recalculating to a stale value, close and reopen the workbook, then check trust centre settings for blocked content. If the macro route is blocked by your organisation's policy, stick to =TODAY() and manual stamping; these need no permissions. When in doubt, duplicate the sheet before testing changes so your original data stays intact.
Frequently Asked Questions
Can Excel insert today's date automatically without a formula?
Not by default in a cell. The keyboard shortcut Ctrl+; inserts a fixed date instantly, but only when you use it; a lifting that keeps updating needs =TODAY().
Why does my TODAY() formula show as a number?
The cell is formatted as General or Number. Apply a Date format from the Number Format dropdown on the Home tab.
Does TODAY() update when the file is closed?
It recalculates when the workbook opens or recalculates, so the displayed date reflects when the file was last opened, not the moment you look at it.
Can I use TODAY() in Excel for the web?
Yes, =TODAY() and =NOW() work in the browser version. Macros, however, do not run there.
How do I stop the date from changing?
Replace the formula with a typed date or use Ctrl+;. Static values never recalculate.
Can a date update in Excel on its own when I type next to it?
Only with a worksheet-change macro, as shown in Method 4. A plain formula cannot write a date into a neighbouring cell.