Smart Systems for Home

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

How to Insert Time into Excel: Shortcuts and Formulas

· 6 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 insert the current time into Excel as a static value, press Ctrl + Shift + ; (semicolon). To insert the current time as a dynamic value that updates automatically, use the formula =NOW() and format the cell to show time only. These methods allow you to timestamp entries, track project durations, or create automated schedules within your spreadsheets.

What You'll Need

  • A computer with Microsoft Excel installed (Windows or macOS).
  • A keyboard with a numeric keypad or standard function keys.
  • A basic understanding of how to select cells in a worksheet.

Step-by-Step

Depending on whether you want the time to stay the same (static) or change every time the sheet recalculates (dynamic), you will use different methods. Note that menu labels may differ slightly depending on your version of Excel or region.

Method 1: Inserting Static Time (Timestamping)

Use this method when you need to record the exact moment an event occurred, such as a clock-in time or a task completion time. This value will not change once entered.

  1. Click on the cell where you want the time to appear.
  2. Press and hold the Ctrl and Shift keys simultaneously.
  3. While holding those keys, press the ; (semicolon) key.
  4. Press Enter to finalize the entry.
  5. If the time appears in a format you do not like (e.g., showing seconds when you only want hours and minutes), right-click the cell and select Format Cells.
  6. In the Number tab, select Time from the Category list on the left.
  7. Choose your preferred time format from the list on the right and click OK.

Method 2: Inserting Dynamic Time (Auto-Updating)

Use this method when you want the spreadsheet to always display the current time whenever the file is opened or a change is made to the sheet.

  1. Select the cell where you want the live time to be displayed.
  2. Type =NOW() into the cell and press Enter.
  3. By default, Excel will display both the current date and the current time (e.g., 10/25/2023 14:30). To remove the date, right-click the cell and select Format Cells.
  4. Go to the Number tab and select Time.
  5. Pick a time-only format (such as 13:30) and click OK.
  6. To force the time to update manually without changing data, press F9 on your keyboard.

Method 3: Manually Entering Specific Times

When you are entering a schedule or a log of past events, you must enter the time in a format Excel recognizes to ensure you can perform calculations with that data later.

  1. Select the target cell.
  2. Type the time using a colon (:) to separate hours, minutes, and seconds. For example, type 14:30 for 2:30 PM or 2:30 PM.
  3. Press Enter.
  4. If you enter 2:30 without the PM/AM designation, Excel defaults to a 24-hour clock. To change this, use the Format Cells menu as described in Method 1.

Method 4: Creating Custom Time Formats

Sometimes the standard time options are not sufficient, such as when you need to show milliseconds or a specific regional style.

  1. Select the cells containing your time data.
  2. Right-click and choose Format Cells (or press Ctrl + 1).
  3. In the Number tab, click Custom at the bottom of the Category list.
  4. In the Type box, enter a custom code. For example:
    • hh:mm AM/PM for a standard 12-hour clock.
    • HH:mm for a 24-hour clock.
    • hh:mm:ss to include seconds.
    • [h]:mm:ss to display elapsed time that exceeds 24 hours (essential for timesheets).
  5. Click OK to apply the custom format.

Common Mistakes

One of the most frequent errors is entering time as text. If you type "2 o'clock" or "2pm" (without a space), Excel treats the entry as a text string rather than a numerical value. This means you cannot subtract one time from another to calculate duration. Always use the colon (:) separator.

Another common mistake is forgetting the difference between =NOW() and =TIME(). The =NOW() function provides the current date and time, whereas the =TIME(hour, minute, second) function is used to construct a specific time based on three separate numerical values. Using =NOW() when you intended to create a static timestamp will result in your "timestamp" changing every time you edit the workbook, which can ruin data integrity in logs.

Users also frequently struggle with the "24-hour wrap-around." By default, if you add 10 hours to 10:00 PM, Excel may show 8:00 AM the next day, but if you are summing total hours for a payroll sheet, it might show 8 hours instead of 34 hours because it resets every 24 hours. This is solved by using the [h] custom format mentioned in the previous section.

Tips

To quickly fill a column with a sequence of times, enter the first two times (e.g., 8:00 AM in cell A1 and 8:30 AM in cell A2). Select both cells, click the small green square (fill handle) in the bottom-right corner of the selection, and drag it down. Excel will recognize the 30-minute interval and populate the rest of the column automatically.

If you need to calculate the difference between two times, simply subtract the start time from the end time (=B2-A2). If the result looks like a decimal (e.g., 0.25), it is because Excel stores time as a fraction of a 24-hour day. To see this as hours, multiply the result by 24 and format the cell as General or Number.

For those working across different time zones, remember that Excel uses your computer's system clock. If you are collaborating on a cloud-based sheet with people in different regions, it is helpful to explicitly label the time zone (e.g., "14:00 EST") in a header cell to avoid confusion.

Troubleshooting

If you press Ctrl + Shift + ; and nothing happens, check if your keyboard layout is set to a language other than English, as the semicolon key may be mapped to a different physical button. Try using the on-screen keyboard to verify the shortcut.

If your time appears as a series of pound signs (#######), the cell is not wide enough to display the formatted time. Hover your mouse over the boundary between the column letters at the top and double-click to auto-fit the column width.

If =NOW() is not updating, check your calculation settings. Go to the Formulas tab, click Calculation Options, and ensure that Automatic is selected. If it is set to Manual, formulas only update when you press F9 or save the file.

If you enter a time and it automatically converts to a date (e.g., you type 12:00 and it shows 1/0/1900), the cell was likely pre-formatted as a Date. Change the cell format back to Time or General via the Home tab's number format dropdown.

Frequently Asked Questions

How do I enter time without the date appearing?

Enter the time using the HH:MM format. If the date still appears, right-click the cell, select Format Cells, choose Time, and pick a format that does not include the date.

Can I make a timestamp that doesn't change?

Yes, use the keyboard shortcut Ctrl + Shift + ;. This inserts the current time as a hard-coded value that will never update.

Why does my total time reset after 24 hours?

Excel defaults to a 24-hour clock. To show cumulative hours (e.g., 45 hours), go to Format Cells > Custom and enter [h]:mm:ss. The square brackets tell Excel not to reset at 24.

How do I subtract time in Excel?

Use a simple subtraction formula: =End_Time - Start_Time. Ensure both cells are formatted as Time. If the result is a decimal, multiply by 24 to get the total hours as a number.

What is the difference between NOW() and TIME()?

=NOW() returns the current system date and time. =TIME(hour, minute, second) allows you to create a specific time value by entering the hour, minute, and second as separate arguments.

Can I insert time using a dropdown menu?

Excel does not have a built-in time picker. However, you can create a list of times in a separate column and use Data Validation > List to create a dropdown menu for users to select from.