To insert the current date and time press excel mac os

Insert the current date and time in a cell

Let’s say that you want to easily enter the current date and time while making a time log of activities. Or perhaps you want to display the current date and time automatically in a cell every time formulas are recalculated. There are several ways to insert the current date and time in a cell.

Insert a static date or time into an Excel cell

A static value in a worksheet is one that doesn’t change when the worksheet is recalculated or opened. When you press a key combination such as Ctrl+; to insert the current date in a cell, Excel “takes a snapshot” of the current date and then inserts the date in the cell. Because that cell’s value doesn’t change, it’s considered static.

On a worksheet, select the cell into which you want to insert the current date or time.

Do one of the following:

To insert the current date, press Ctrl+; (semi-colon).

To insert the current time, press Ctrl+Shift+; (semi-colon).

To insert the current date and time, press Ctrl+; (semi-colon), then press Space, and then press Ctrl+Shift+; (semi-colon).

Change the date or time format

To change the date or time format, right-click on a cell, and select Format Cells. Then, on the Format Cells dialog box, in the Number tab, under Category, click Date or Time and in the Type list, select a type, and click OK.

Insert a static date or time into an Excel cell

A static value in a worksheet is one that doesn’t change when the worksheet is recalculated or opened. When you press a key combination such as Ctrl+; to insert the current date in a cell, Excel “takes a snapshot” of the current date and then inserts the date in the cell. Because that cell’s value doesn’t change, it’s considered static.

On a worksheet, select the cell into which you want to insert the current date or time.

Do one of the following:

To insert the current date, press Ctrl+; (semi-colon).

To insert the current time, press + ; (semi-colon).

To insert the current date and time, press Ctrl+; (semi-colon), then press Space, and then press + ; (semi-colon).

Change the date or time format

To change the date or time format, right-click on a cell, and select Format Cells. Then, on the Format Cells dialog box, in the Number tab, under Category, click Date or Time and in the Type list, select a type, and click OK.

Insert a static date or time into an Excel cell

A static value in a worksheet is one that doesn’t change when the worksheet is recalculated or opened. When you press a key combination such as Ctrl+; to insert the current date in a cell, Excel “takes a snapshot” of the current date and then inserts the date in the cell. Because that cell’s value doesn’t change, it’s considered static.

On a worksheet, select the cell into which you want to insert the current date or time.

Do one of the following:

To insert the date, type the date (like 2/2), and then click Home > Number Format dropdown (in the Number tab) > Short Date or Long Date.

Читайте также:  Не удается обновить конфигурацию загрузки при установке windows

To insert the time, type the time, and then click Home > Number Format dropdown (in the Number tab) > Time.

Change the date or time format

To change the date or time format, right-click on a cell, and select Number Format. Then, on the Number Format dialog box, under Category, click Date or Time and in the Type list, select a type, and click OK.

Insert a date or time whose value is updated

A date or time that updates when the worksheet is recalculated or the workbook is opened is considered “dynamic” instead of static. In a worksheet, the most common way to return a dynamic date or time in a cell is by using a worksheet function.

To insert the current date or time so that it is updatable, use the TODAY and NOW functions, as shown in the following example. For more information about how to use these functions, see TODAY function and NOW function.

Current date (varies)

Current date and time (varies)

Select the text in the table shown above, and then press Ctrl+C.

In the blank worksheet, click once in cell A1, and then press Ctrl+V. If you are working in Excel for the web, repeat copying and pasting for each cell in the example.

Important: For the example to work properly, you must paste it into cell A1 of the worksheet.

To switch between viewing the results and viewing the formulas that return the results, press Ctrl+` (grave accent), or on the Formulas tab, in the Formula Auditing group, click the Show Formulas button.

After you copy the example to a blank worksheet, you can adapt it to suit your needs.

Note: The results of the TODAY and NOW functions change only when the worksheet is calculated or when a macro that contains the function is run. Cells that contain these functions are not updated continuously. The date and time that are used are taken from the computer’s system clock.

Need more help?

You can always ask an expert in the Excel Tech Community or get support in the Answers community.

Источник

Insert the current date and time in a cell

Let’s say that you want to easily enter the current date and time while making a time log of activities. Or perhaps you want to display the current date and time automatically in a cell every time formulas are recalculated. There are several ways to insert the current date and time in a cell.

Insert a static date or time into an Excel cell

A static value in a worksheet is one that doesn’t change when the worksheet is recalculated or opened. When you press a key combination such as Ctrl+; to insert the current date in a cell, Excel “takes a snapshot” of the current date and then inserts the date in the cell. Because that cell’s value doesn’t change, it’s considered static.

On a worksheet, select the cell into which you want to insert the current date or time.

Do one of the following:

To insert the current date, press Ctrl+; (semi-colon).

To insert the current time, press Ctrl+Shift+; (semi-colon).

To insert the current date and time, press Ctrl+; (semi-colon), then press Space, and then press Ctrl+Shift+; (semi-colon).

Change the date or time format

To change the date or time format, right-click on a cell, and select Format Cells. Then, on the Format Cells dialog box, in the Number tab, under Category, click Date or Time and in the Type list, select a type, and click OK.

Insert a static date or time into an Excel cell

A static value in a worksheet is one that doesn’t change when the worksheet is recalculated or opened. When you press a key combination such as Ctrl+; to insert the current date in a cell, Excel “takes a snapshot” of the current date and then inserts the date in the cell. Because that cell’s value doesn’t change, it’s considered static.

On a worksheet, select the cell into which you want to insert the current date or time.

Do one of the following:

To insert the current date, press Ctrl+; (semi-colon).

To insert the current time, press + ; (semi-colon).

To insert the current date and time, press Ctrl+; (semi-colon), then press Space, and then press + ; (semi-colon).

Читайте также:  Восстановление исходного состояния компьютера windows 10 с сохранением файлов

Change the date or time format

To change the date or time format, right-click on a cell, and select Format Cells. Then, on the Format Cells dialog box, in the Number tab, under Category, click Date or Time and in the Type list, select a type, and click OK.

Insert a static date or time into an Excel cell

A static value in a worksheet is one that doesn’t change when the worksheet is recalculated or opened. When you press a key combination such as Ctrl+; to insert the current date in a cell, Excel “takes a snapshot” of the current date and then inserts the date in the cell. Because that cell’s value doesn’t change, it’s considered static.

On a worksheet, select the cell into which you want to insert the current date or time.

Do one of the following:

To insert the date, type the date (like 2/2), and then click Home > Number Format dropdown (in the Number tab) > Short Date or Long Date.

To insert the time, type the time, and then click Home > Number Format dropdown (in the Number tab) > Time.

Change the date or time format

To change the date or time format, right-click on a cell, and select Number Format. Then, on the Number Format dialog box, under Category, click Date or Time and in the Type list, select a type, and click OK.

Insert a date or time whose value is updated

A date or time that updates when the worksheet is recalculated or the workbook is opened is considered “dynamic” instead of static. In a worksheet, the most common way to return a dynamic date or time in a cell is by using a worksheet function.

To insert the current date or time so that it is updatable, use the TODAY and NOW functions, as shown in the following example. For more information about how to use these functions, see TODAY function and NOW function.

Current date (varies)

Current date and time (varies)

Select the text in the table shown above, and then press Ctrl+C.

In the blank worksheet, click once in cell A1, and then press Ctrl+V. If you are working in Excel for the web, repeat copying and pasting for each cell in the example.

Important: For the example to work properly, you must paste it into cell A1 of the worksheet.

To switch between viewing the results and viewing the formulas that return the results, press Ctrl+` (grave accent), or on the Formulas tab, in the Formula Auditing group, click the Show Formulas button.

After you copy the example to a blank worksheet, you can adapt it to suit your needs.

Note: The results of the TODAY and NOW functions change only when the worksheet is calculated or when a macro that contains the function is run. Cells that contain these functions are not updated continuously. The date and time that are used are taken from the computer’s system clock.

Need more help?

You can always ask an expert in the Excel Tech Community or get support in the Answers community.

Источник

Use Shortcut Keys to Add the Current Date/Time in Excel

No recalculations needed!

You can quickly add the current date to Excel using shortcut keys on the keyboard. In addition to being fast, when the date is added using this method, it does not change every time the worksheet is opened as it does with some of Excel’s date functions.

The information in this article applies to Excel versions 2019, 2016, 2013, 2010, 2007, and Excel for Mac. The shortcuts may vary between Excel for Windows and Excel for Mac.

Adding the Current Date in Excel Using Shortcut Keys

You can quickly add the current date to any cell in an Excel worksheet using a keyboard shortcut.

The key combination for adding the date in Excel is:

To add the current date to a worksheet using just the keyboard:

  1. Select the cell where you want the date to appear.
  2. Press and hold the Ctrl key on the keyboard.
  3. Press and release the semi-colon key ( ; ) on the keyboard without releasing the Ctrl key.
  4. Release the Ctrl key.

The current date appears in the worksheet in the selected cell.

Читайте также:  Настроить hotspot windows 10

The default format for the date entered is the short date format as shown in the image above. Use another keyboard shortcut to change the format to the day-month-year format.

Update the Date

To have the date update every time the worksheet is opened, use the TODAY function.

Formatting Dates in Excel With Shortcut Keys

This Excel tip shows you how to quickly format dates using the day-month-year format (such as 01-Jan-14) in an Excel worksheet using shortcut keys on the keyboard.

The key combination for adding the date is:

To format a date using shortcut keys:

  1. Add the date to a cell in a worksheet.
  2. If necessary, click on the cell to make it the active cell.
  3. Press and hold both the Ctrl and Shift keys on the keyboard.
  4. Press and release the hashtag key ( # ) on the keyboard without releasing the Ctrl and Shift keys.
  5. Release the Ctrl and Shift keys.

The date is formatted in the day-month-year format as shown in the image above.

Add the Current Time Using Shortcut Keys

Although not as commonly used as dates in spreadsheets, adding the current time with a keyboard shortcut can be used, among other things, as a timestamp. The time does not change once entered.

The key combination for adding the time in Excel 2019, 2016, 2013, 2010, and 2007 is:

To add the current time to a worksheet using just the keyboard:

  1. Select the cell where you want the time to appear.
  2. Press and hold both the Ctrl and the Shift keys on the keyboard.
  3. Press and release the colon key ( : ) on the keyboard without releasing the Ctrl and Shift keys.
  4. Release the Ctrl and Shift keys.

The current time is added to the worksheet.

The key combination for adding the date in Excel 2016 for Mac and Excel for Mac 2011 is:

To add the current time to a worksheet using just the keyboard:

  1. Select the cell where you want the time to appear.
  2. Press and hold the Command key on the keyboard.
  3. Press and release the semi-colon key ( ; ) on the keyboard without releasing Command key.
  4. Release the Command key.

The current time is added to the worksheet.

Update the Time

If you want the time updated every time the worksheet is opened, use the NOW function.

Formatting Times in Excel With Shortcut Keys

This Excel tip shows you how to quickly format times in an Excel worksheet using shortcut keys on the keyboard. By default, times in Excel are formatted with the hour: minute and AM/PM format (such as 10:33 AM).

The key combination for formatting times is:

To format the time using shortcut keys:

  1. Manually add the time to a cell in a worksheet.
  2. If necessary, select the cell to make it the active cell.
  3. Press and hold the Ctrl and Shift keys on the keyboard.
  4. Press and release the at symbol key ( @ ) on the keyboard — located above the number 2 — without releasing the Ctrl and Shift keys.
  5. Release the Ctrl and Shift keys.
  6. The time will be formatted to show the current time in the hour: minute and AM/PM format as seen in the image above.

Enter the Date and Time Into a Single Cell

You can enter both the date and time in a cell using the keyboard shortcuts together.

  • Press Ctrl+; (semi-colon)
  • Press Space
  • Press Ctrl+Shift+; (semi-colon)

The date and time will both appear in the selected cell.

Custom Date and Time Formats Using Shortcut Keys

If you would like to change the format of a date or time entered in an Excel cell, you can use a keyboard shortcut to open the formatting dialog box.

The key combination for accessing the Format Cells dialog is

  1. Select the cell you want to format.
  2. Press and hold the Ctrl key (Windows) or the Command key (Mac).
  3. Press and release the 1 key on the keyboard without releasing the Ctrl or Command key.
  4. Release the Ctrl or Command key. The Format Cells dialog box opens.
  5. Make sure you have the Number tab selected.
  6. Choose the format you want to use from the Date or Time category and select OK.

Источник

Оцените статью