Excel Insert Current Date Line? Quick Fix
In this article
To insert a line with the current date in Excel, use the keyboard shortcut Ctrl + ; (Windows) or Cmd + ; (Mac) to enter a static date, or use the formula =TODAY() for a date that updates automatically. For a line break within a cell (like a date above text), press Alt + Enter (Windows) or Ctrl + Option + Enter (Mac) after typing the date.
What the Calculator Does
This page includes a small calculator to help you convert between a finish time and distance to average pace and speed. Enter your finish time in minutes and the distance in kilometers; the calculator returns your average pace in minutes per kilometer and average speed in kilometers per hour. It is useful for runners, cyclists, and walkers who want a quick pace check without manual math.
in t | Finish time | min | 50 | 0 in d | Distance | km | 10 | 0 out pace | Average pace | min/km | t / d | 2 out speed | Average speed | km/h | d / (t / 60) | 2
Formula
The average pace is the total time divided by the distance:
Pace (min/km) = Time (minutes) / Distance (km)
The average speed is the distance divided by the time in hours:
Speed (km/h) = Distance (km) / (Time (minutes) / 60)
Where Time is in minutes, Distance is in kilometers, Pace is in minutes per kilometer, and Speed is in kilometers per hour.
Worked Example
Using the default values: Time = 50 minutes, Distance = 10 km.
Step 1: Calculate pace: 50 / 10 = 5.00 min/km.
Step 2: Convert time to hours: 50 / 60 = 0.8333 hours.
Step 3: Calculate speed: 10 / 0.8333 = 12.00 km/h.
So the average pace is 5:00 per kilometer, and the average speed is 12.0 km/h.
How to Insert a Current Date Line in Excel
There are two main ways to add a current date in Excel, and the right one depends on whether you want the date to stay fixed or update automatically.
- Static date (does not change): Press Ctrl + ; (Windows) or Cmd + ; (Mac). This inserts today’s date as a fixed value. It will not change tomorrow or when the file is reopened.
- Dynamic date (updates every day): Type
=TODAY()in a cell and press Enter. This formula returns the current date and recalculates each time the worksheet opens or changes. Use=NOW()if you also want the current time.
If you want the date and text on separate lines within the same cell, type the date, then press Alt + Enter (Windows) or Ctrl + Option + Enter (Mac) to start a new line, then type your text. The cell will show the date above the text, and you can adjust row height or enable wrap text to see both lines.
Choosing the Right Method
Which method should you use? It depends on your goal.
- Use a static date for logs, invoices, or records where the date should reflect when the entry was made and never change. This prevents accidental changes when the file is opened later.
- Use =TODAY() for dashboards, schedules, or formulas that need to always show today’s date, such as calculating days overdue or age.
- Use =NOW() when you need both the current date and time, for example in a timestamp that updates.
A common misconception is that =TODAY() is volatile and slows down large workbooks. It does recalculate on every change, but for typical spreadsheets the impact is negligible. If you have thousands of formulas, consider using static dates instead.
Common Problems and Fixes
Here are typical issues people run into when inserting dates in Excel.
- Date shows as a number like 45123: This happens when the cell is formatted as General. Select the cell, press Ctrl + 1, go to the Number tab, choose Date, and pick a format.
- Shortcut not working: On some keyboards, especially laptops, you may need to press Ctrl + Shift + ; for the time, or use the Fn key. Also check if the Num Lock is interfering.
- =TODAY() returns a date that doesn’t update: If the workbook calculation is set to Manual, the formula won’t recalculate. Go to Formulas > Calculation Options and select Automatic.
- Date appears as ####: The column is too narrow. Widen the column or change the date format to a shorter one.
Excel Date Functions vs. Keyboard Shortcuts
Keyboard shortcuts are fast for one-off entries, but Excel also has a full set of date functions for more control.
=TODAY()– returns the current date.=NOW()– returns the current date and time.=DATE(year, month, day)– creates a date from separate numbers.=EDATE(start_date, months)– adds a number of months to a date.=EOMONTH(start_date, months)– returns the last day of a month.
For example, to get the first day of the next month, you could use =EOMONTH(TODAY(),0)+1. These functions are useful for dynamic reports and financial models.
Frequently Asked Questions
How do I insert the current date and time together?
Press Ctrl + ; then press Space, then Ctrl + Shift + ; to insert a static date and time. For a dynamic version, use =NOW().
Why does my date change when I reopen the file?
If you used =TODAY() or =NOW(), the formula recalculates to the current date each time the file opens. To keep a fixed date, use the keyboard shortcut instead.
Can I auto-fill a column with today’s date?
Yes. Enter =TODAY() in the first cell, then drag the fill handle down. However, all cells will show the same date. If you want each row to have a different date, you’ll need to enter them manually or use a formula like =TODAY()+ROW().
How do I insert a line break in a cell?
Click where you want the break, then press Alt + Enter (Windows) or Ctrl + Option + Enter (Mac). Make sure Wrap Text is enabled to see the break.
What is the difference between =TODAY() and =NOW()?
=TODAY() returns only the date (time is 00:00). =NOW() returns the full date and time. Use =NOW() when you need a timestamp that updates.
How do I stop Excel from auto-converting my date entry?
If you type a date like 01-02, Excel may interpret it as January 2. To keep it as text, format the cell as Text before typing, or type an apostrophe before the entry like '01-02.