Put time on excel

Insert the current date and time in a cell

Excel for Microsoft 365 Excel for Microsoft 365 for Mac Excel for the web Excel 2021 Excel 2021 for Mac Excel 2019 Excel 2019 for Mac Excel 2016 Excel 2016 for Mac Excel 2013 Excel 2010 Excel 2007 Excel for Mac 2011 More…Less

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.

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

  2. 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.

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

  2. Do one of the following:

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

    • To insert the current time, press The Command button.+ ; (semi-colon).

    • To insert the current date and time, press Ctrl+; (semi-colon), then press Space, and then press The Command button.+ ; (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.

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

  2. 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.

For example:

Formula

Description (Result)

=TODAY()

Current date (varies)

=NOW()

Current date and time (varies)

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

  2. 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.

  3. 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.

Need more help?


  • — By
    Sumit Bansal

A timestamp is something you use when you want to track activities.

For example, you may want to track activities such as when was a particular expense incurred, what time did the sale invoice was created, when was the data entry done in a cell, when was the report last updated, etc.

Let’s get started.

Keyboard Shortcut to Insert Date and Timestamp in Excel

If you have to insert the date and timestamp in a few cells in Excel, doing it manually could be faster and more efficient.

Here is the keyboard shortcut to quickly enter the current Date in Excel:

Control + : (hold the control key and press the colon key).

Here is how to use it:

  • Select the cell where you want to insert the timestamp.
  • Use the keyboard shortcut Control + :
    • This would instantly insert the current date in the cell.

Automatically insert Timestamp in Excel - Keyboard shortcut

A couple of important things to know:

  • This shortcut would only insert the current date and not the time.
  • It comes in handy when you want to selectively enter the current date.
  • It picks the current date from your system’s clock.
  • Once you have the date in the cell, you can apply any date format to it. Simply go to the ‘Number Format’ drop-down in the ribbon and select the date format you want.

Note that this is not dynamic, which means that it will not refresh and change the next time you open the workbook. Once inserted, it remains as a static value in the cell.

While this shortcut does not insert the timestamp, you can use the following shortcut to do this:

Control + Shift + :

This would instantly insert the current time in the cell.

Automatically insert date and Timestamp in Excel - shift-control-colon

So if you want to have both date and timestamp, you can use two different cells, one for date and one for the timestamp.

Using TODAY and NOW Functions to Insert Date and Timestamps in Excel

In the above method using shortcuts, the date and timestamp inserted are static values and don’t update with the change in date and time.

If you want to update the current date and time every time a change is done in the workbook, you need to use Excel functions.

This could be the case when you have a report and you want the printed copy to reflect the last update time.

Insert Current Date Using TODAY Function

To insert the current date, simply enter =TODAY() in the cell where you want it.

Automatically insert Timestamp in Excel - Using Today Function

Since all the dates and times are stored as numbers in Excel, make sure that the cell is formatted to display the result of the TODAY function in the date format.

To do this:

Note that this formula is volatile and would recalculate every time there is a change in the workbook.

Insert Date and Timestamp Using NOW Function

If you want the date and timestamp together in a cell, you can use the NOW function.

Automatically insert date and Timestamp in Excel - now function

Again, since all the dates and times are stored as numbers in Excel, it is important to make sure that the cell is formatted to have the result of the NOW function displayed in the format that shows the date as well as time.

To do this:

  • Right-click on the cell and select ‘Format cells’.
  • In the Format Cells dialog box, select ‘Custom’ category in the Number tab.
  • In the Type field, enter dd-mm-yyyy hh:mm:ssinsert-date-and-timestamp-in-excel-custom-format
  • Click OK.

This would ensure that the result shows the date as well as the time.

Note that this formula is volatile and would recalculate every time there is a change in the workbook.

Circular References Trick to Automatically Insert Date and Timestamp in Excel

One of my readers Jim Meyer reached out to me with the below query.

“Is there a way we can automatically Insert Date and Time Stamp in Excel when a data entry is made, such that it does not change every time there is a change or the workbook is saved and opened?”

This can be done using the keyboard shortcuts (as shown above in the tutorial). However, it is not automatic. With shortcuts, you’ll have to manually insert the date and timestamp in Excel.

To automatically insert the timestamp, there is a smart technique using circular references (thanks to Chandoo for this wonderful technique).

Let’s first understand what a circular reference means in Excel.

Suppose you have a value 1 in cell A1 and 2 in cell A2.

Now if you use the formula =A1+A2+A3 in cell A3, it will lead to a circular reference error. You may also see a prompt as shown below:

circular reference prompt in Excel

This happens as you are using the cell reference A3 in the calculation that is happening in A3.

Now, when a circular reference error happens, there is a non-ending loop that starts and would have led to a stalled Excel program. But the smart folks in the Excel development team made sure that when a circular reference is found, it is not calculated and the non-ending loop disaster is averted.

However, there is a mechanism where we can force Excel to at least try for a given number of times before giving up.

Now let’s see how we can use this to automatically get a date and timestamp in Excel (as shown below).

inserting the date and time automatically using circular reference

Note that as soon as I enter something in cells in column A, a timestamp appears in the adjacent cell in column B. However, if I change a value anywhere else, nothing happens.

Here are the steps to get this done:

That’s it!

Now when you enter anything in column A, a timestamp would automatically appear in column B in the cell adjacent to it.

insert-date-and-timestamp-in-excel-timestamp-demo

With the above formula, once the timestamp is inserted, it doesn’t update when you change the contents of the adjacent cell.

If you want the timestamp to update every time the adjacent cell in Column A is updated, use the below formula (use Control + Shift + Enter instead of the Enter key):

=IF(A2<>"",IF(AND(B2<>"",CELL("address")=ADDRESS(ROW(A2),COLUMN(A2))),NOW(),IF(CELL("address")<>ADDRESS(ROW(A2),COLUMN(A2)),B2,NOW())),"")

insert-date-and-timestamp-in-excel-timestamp-update-demo

This formula uses the CELL function to get the reference of the last edited cell, and if it’s the same as the one to the left of it, it updates the timestamp.

Note: When you enable iterative calculations in the workbook once, it will be active until you turn it off. To turn it off, you need to go to Excel Options and uncheck the ‘Enable iterative calculation’ option.

Using VBA to Automatically Insert Timestamp in Excel

If VBA is your weapon of choice, you’ll find it to be a handy way to insert a timestamp in Excel.

VBA gives you a lot of flexibility in assigning conditions in which you want the timestamp to appear.

Below is a code that will insert a timestamp in column B whenever there is any entry/change in the cells in Column A.

'Code by Sumit Bansal from https://trumpexcel.com
Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo Handler
If Target.Column = 1 And Target.Value <> "" Then
Application.EnableEvents = False
Target.Offset(0, 1) = Format(Now(), "dd-mm-yyyy hh:mm:ss")
Application.EnableEvents = True
End If
Handler:
End Sub

This code uses the IF Then construct to check whether the cell that is being edited is in column A. If this is the case, then it inserts the timestamp in the adjacent cell in column B.

Note that this code would overwrite any existing contents of the cells in column B. If you want. You can modify the code to add a message box to show a prompt in case there is any existing content.

Where to Put this Code?

This code needs to be entered as the worksheet change event so that it gets triggered whenever there is a change.

To do this:

Make sure you save the file with .XLS or .XLSM extension as it contains a macro.

Creating a Custom Function to Insert Timestamp

Creating a custom function is a really smart way of inserting a timestamp in Excel.

It combines the power of VBA with functions, and you can use it like any other worksheet function.

Here is the code that will create a custom “Timestamp” function in Excel:

'Code by Sumit Bansal from http://trumpexcel.com
Function Timestamp(Reference As Range)
If Reference.Value <> "" Then
Timestamp = Format(Now, "dd-mm-yyy hh:mm:ss")
Else
Timestamp = ""
End If
End Function

Where to Put this Code?

This code needs to be placed in a module in the VB Editor. Once you do that, the Timestamp function becomes available in the worksheet (just like any other regular function).

Here are the steps to place this code in a module:

Now you can use the function in the worksheet. It will evaluate the cell to its left and insert the timestamp accordingly.

insert-date-and-timestamp-in-excel-timestamp-formula

It also updates the timestamp whenever the entry is updated.

Make sure you save the file with .XLS or .XLSM extension as it contains VB code.

Hope you’ve found this tutorial useful.

Let me know your thoughts in the comments section.

You May Also Like the Following Excel Tutorials and Resources:

  • How to Run a Macro in Excel.
  • How to Create and Use an Excel Add-ins.
  • Select Multiple Items from a Drop Down List in Excel.
  • Inserting Date and Timestamp in Google Sheets.
  • A Collection of FREE Excel Templates.
  • Excel Timesheet Template.
  • Excel Calendar Template.
  • Convert Time to Decimal Number in Excel (Hours, Minutes, Seconds)
  • How to Autofill Only Weekday Dates in Excel (Formula)
  • Make VBA Code Pause or Delay (Using Sleep / Wait Commands)

Excel Ebook Subscribe

Get 51 Excel Tips Ebook to skyrocket your productivity and get work done faster

61 thoughts on “How to Quickly Insert Date and Timestamp in Excel”

  1. so amazing

  2. All of this is very clever and I even got it all to work using VBA to insert a time in a column to the right of where I entered some data. Perfect but .. How can you protect your code, as you can see it and edit it by doing View Code, even if the sheet and/or workbook is protected? Also when I saved it and then re-opened the worksheet it stopped working – what have I done wrong? Wonderful stuff!! Thank you.

  3. Thank you awesome work i know its hard to get these formulas running how you like and i just wanted to thank you for letting people like me steal them off the web 🙂

  4. Doesn’t work in Online Excel ?

  5. What if I want to check a range of cells B2 – G2 and if any are updated, update the date and timestamp?

  6. Thank you for all the instructions, I used this option

    =IF(A2″”,IF(AND(B2″”,CELL(“address”)=ADDRESS(ROW(A2),COLUMN(A2))),NOW(),IF(CELL(“address”)ADDRESS(ROW(A2),COLUMN(A2)),B2,NOW())),””)

    Works fine, but after keeping the sheet open for a few hours, while updating it, the timestamp gives an #N/A error and can’t get it back.

    I use the VBA timestamp function to get over this, seems to be working fine…

    Any ideas?

    Thank you

  7. For Timestamp Update Formula:

    =IF(B4″”,IF(AND(F4″”,CELL(“address”)=ADDRESS(ROW(B4),COLUMN(F4))),NOW(),IF(CELL(“address”)ADDRESS(ROW(B4),COLUMN(B4)),F4,NOW())),””)

    Works fine when it is on the same sheet, but its not working for different sheet even after changing the reference all B4 into Sheet1!B4 and looking output in the Sheet 2 in F4 Cell

  8. This has worked perfect for what I was trying to create. I now have the problem of the timestamp resetting each time I reopen the file. Is there a way for the timestamp to stay the same from when the data was put in?

    • Disregard…

  9. Hi

    I need a timestamp on “C” that updates the time when either “A” or “B” is updated. I can’t use a macro as I need my file in Sharepoint and to be accessible by many people at the same time.

    How can I use the circular reference or the Custom Function for this purpose?

    Thanks!

  10. it working fine with me, however i have issue when using auto-filter or Auto-clear-filter function for designated table, it will keep updating the timestamp in all timestamp reference cells…

    below sub :
    ——————————————————————–
    Sub Access_Filter()

    Dim WeekS As String
    Dim WeekE As String

    WeekS = “>=” & Application.InputBox(Prompt:=”Enter Start Date”, Default:=Format(Date, “dd mmm yyyy”), Type:=2)
    WeekE = “<=» & Application.InputBox(Prompt:=»Enter End Date», Default:=Format(Date, «dd mmm yyyy»), Type:=2)

    ActiveSheet.ListObjects(«ACCESS»).Range.AutoFilter Field:=3, Criteria1:=WeekS, Operator:=xlAnd, Criteria2:=WeekE

    End Sub
    ———————————————————————————-
    Sub Access_Clear_All_Filters_Range()

    ‘To Clear All Fitlers use the ShowAllData method for
    ‘for the sheet. Add error handling to bypass error if
    ‘no filters are applied. Does not work for Tables.
    On Error Resume Next
    ActiveSheet.ListObjects(«ACCESS»).Range.AutoFilter Field:=3
    On Error GoTo 0
    ActiveSheet.ListObjects(«ACCESS»).Range.End(xlDown).Select

    End Sub

    • I am having this issue too. I am using it in a table and every time i change filters, it updates to the current time.

  11. Great job thanks!

  12. How to put an start date and time with end date and time? Same as above with duration.

  13. Hi guys, I tried to apply the formula below. It works and i saved my macro excel. But when I opened my file (1st time after the file created) the macro was put to disable. when i enable it then the timestamp reset. It also happened when the file was opened from other user which using the same network folder. any idea how to prevent the timestamp reset?

    Function Timestamp(Reference As Range)
    If Reference.Value “” Then
    Timestamp = Format(Now, “dd-mm-yyy hh:mm:ss”)
    Else
    Timestamp = “”
    End If
    End Function

    • Same issue not sure if anyone found a solution.

  14. For the formula
    =IF(A2″”,IF(AND(B2″”,CELL(“address”)=ADDRESS(ROW(A2),COLUMN(A2))),NOW(),IF(CELL(“address”)ADDRESS(ROW(A2),COLUMN(A2)),B2,NOW())),””)

    is it possible to change “A2” to a range of cells?

    • I agree is it possible to add a list of cells that are changed and record the dates the they were changed??

  15. For the formula
    =IF(A2″”,IF(AND(B2″”,CELL(“address”)=ADDRESS(ROW(A2),COLUMN(A2))),NOW(),IF(CELL(“address”)ADDRESS(ROW(A2),COLUMN(A2)),B2,NOW())),””)

    is it possible to change “A2” to a range of cells?
    I would like to use “A2:M2” as the affected cells, so the timestamp updates when any one of that range of cells is modified. I tried to change it but it would not work.
    I added another set of parentheses to each A2:M2 range, still no luck.

    • H i Ron, I had the same problem and fixed it by adding an OR within the AND expression like:

      In an example field C2 is also ‘monitored’ for change.
      It is a formula mess but it works.

      =IF(A2″”,IF(AND(B2″”,OR(CELL(“address”)=ADDRESS(ROW(A2),COLUMN(A2)),CELL(“address”)=ADDRESS(ROW(C2),COLUMN(C2)))),NOW(),IF(CELL(“address”)ADDRESS(ROW(A2),COLUMN(A2)),B2,NOW())),””)

  16. Hi Guys i’m looking for something similar the point of difference is as follows … eg There is a column A which is part of a table where it records a series of values based on a formula. values are “text 1″,”text2″ text3” etc . What i want is in column b, should the value in corresponding Acell reaches “text3” then it records the date when the cell reached “Text 3” else blank. Can anyone help…

  17. excellent!

  18. Hi, Sumit.Greetings!!
    I’m preparing a worksheet to enter all the received purchase orders & associated details viz. customer name, item type, item drawing no., drawing revision no. in po, etc. Say BOOK1
    When all the relevant data is entered then I get ” found-clear” in column O & now all the data related to that entry is to be extracted to another book, say BOOK-2.
    Also extracted data should appear in BOOK-2 in a sequential manner, without blank rows & as any entry is cleared in BOOK-1(PO entry workbook), it should appear in BOOK-2 below all the previously extracted entries.

    To solve this, I thought of getting :
    1) Fixed, non-volatile timestamps as soon as ” found-clear” appears in column O for any PO entry.
    2) To give Rank to these timestamps, using Rank Function.
    3) Then use Index, Match, Rows to extract data in a sequential sorted manner.

    To get fixed( non-volatile) timestamps I applied two approaches as shown by you:
    1) Circular reference with NOW()
    2) UDF

    I’ve attached an excel file with two sheets:
    1) Examples
    2) Application

    Problem 1) with circular reference & NOW()

    1A) Also if I change conditions so that “found-clear” is removed & then recreate the conditions to get “found-clear” back, timestamp disappears.

    Problem 2) with UDF; refer sheet” examples”, SAMPLE-3
    2A) It is showing the year as 1989 in place of 2019.
    2B) If I make any changes to the worksheet, like add or remove cells anywhere in the worksheet, all the timestamps change to current time & date.
    2C) Rank function not working.

  19. Guys,

    I have a different requirement and this is for stock market.

    Let us say I have Columns A to G in the excel sheet and the columns heading reading as below for stock market :

    Symbol, Lot Size, Open, High, Low, LTP and the Signal Column (which gives Buy or Sell based on a strategy).

    The last column which is the Signal Column (and which happens to be Column G) contains the “Buy”or “Sell” or Ëmpty when there is no signal. This column is dynamic, in the sense, as and when the data across A-F changes, I get new signals like Buy or Sell or Empty, depending upon the strategy.

    My expectation is, as and when I get a Buy or a Sell or an empty in Column G (in the event of a Buy and Sell that has changed to an empty cell), I want to timestamp, let us say, Column H with the exact time the change happened (regardless of Buy or Sell or empty (post a buy or sell). And this timestamp should not change the time, unless any change happens in Column G. For e.g. a buy changing to a sell or a sell changing to a buy or a buy/sell changing to an empty cell.

    Let me know if the above explanation helps.

    • The challenge I have with the available solution on the net is, my Excel sheet refreshes every 1 minute pulling data off the net, and as and when it does, the timestamp changes to the current time as against the time the signal came.
      For e.g. a BUY or SELL that came at say 11:15 AM, should remain static unless the signal changes from a buy to sell or a sell to buy, but everytime my excel refreshes it updates with the current time in this column. What I am looking for is to understand what time a buy or sell came.

  20. I used this formula yesterday on 5th March and it worked perfect =IF(A2″”,IF(B2″”,B2,NOW()),””) my dates registered as 5th March timestamp. However I’ve now come into the same spreadsheet the very next day on 6th March but when i enter data into column A new rows, the formula in column B remains blank no result. Is there another step I’ve missed so it recognises a new day?

  21. Super easy directions – thankyou 🙂

  22. This has been really helpful! thank you! I was wondering if we’re able to input in multiple cells (e.g. A2, B2, D2) and still get and updated timestamp in “F2” when ever the multiple cells (A2, B2, D2) are updated.

  23. It worked on one Excel Spreadsheet but when I tried it again on another Spreadsheet (totally different workbook), it just shows a blank cell. I have it formatted for date.

  24. In the example, “Using VBA to Automatically Insert Timestamp in Excel” I have a condition where a process is running and I want to ‘time stamp’ when it began in one column and ‘time stamp’ (date and time) when the process ended, a few columns to the right…meaning a start and stop time stamp. Can this formula accommodate this requirement?

  25. Hi,

    Thanks Sumit, very nice contribution 🙂

    To add to your article for those, who like to have a static value for Date or Time Stamp and need a specific date / time format but without going through VBA, you may consider this option:

    1. Choose one Reference Cell, e.g. [A1]. It can be on a separate worksheet.

    Put in the formula
    =today()
    or
    =now()

    2. Give that cell the name “Time” or “Date”

    3. Now, if you want to enter current Date or Time in any cell in your workbook, just type

    =Date
    or
    =Time

    The target cell can be formatted according to your preferences, e.g. “YYYY-MM-DD” or “hh:mm:ss”. The advantage is that you can also catch the seconds which is not possible with the keyboard shortcut [CTRL] + [SHIFT] + [:].

    4. You can also incorporate this in any formulas you are using in your worksheet.

    Example:

    Every time you enter the word “ok” in Row [C], Row [B] will automatically register the current time. To do this format Row [B] as “hh:mm:ss”.
    Now, in cell [B1] you enter the formula

    if(C1=”ok”,Time,””)

    Then you copy this formula to the range you will be using.

    Now, every time you enter “ok” in a cell on Row [C], you will get an automatic (and static) time stamp in the adjacent cell in Row [B].

  26. NICE great article style and super helpful

  27. I’m trying to create a timestamp based on a dropdown value, however leveraging the macro is providing a validation error. Is there a workaround? If I use in a blank (no validation field) the vba/macro works correctly.

  28. Function Timestamp(Reference As Range)
    If Reference.Value “” Then
    Timestamp = Format(Now, “dd-mm-yyy hh:mm:ss”)
    Else
    Timestamp = “”
    End If
    End Function

    is not worjking ???

    • there is a typo in the formula,
      replace -yyy by -yyyy (4 letters) and it will work.

  29. Hi there – this is FABULOUS! Really saved me a lot of pain!

    Can you assist with one thing?

    I need to be able to create the timestamp, on a separate row, each time a (custom function) button is pressed?

    We will be using this to create a basic “footfall counter” to count the time/date and number of people passing into our IT support area.

    If you can assist, this would be amazing…

  30. Thank you for your tips! I am an italian Excel Professionist and often i read your blog. Good work 😉 Marck

  31. Is it possible to write a code that take effect of Cell A or Cell B for the timestamp?

    using below code:
    Function Timestamp(Reference As Range)
    If Reference.Value <> “” Then
    Timestamp = Format(Now, “dd-mm-yyy hh:mm:ss”)
    Else
    Timestamp = “”
    End If
    End Function

    In cell C, should I use =timestamp(A1:B2)

  32. This is just what I needed. You rock!
    Thank you!

  33. =IF($A12<>“”,IF(AND($I12<>“”,CELL(“address”)=ADDRESS(ROW($A12),COLUMN($A12))),NOW(),IF(CELL(“address”)<>ADDRESS(ROW($A12),COLUMN($A12)),$I12,NOW())),””)

    i CHECKED FOR ITERATION ALSO.. EVEN ITS NOT WORKING KINDLY HELP ON THIS

  34. NOT WORKING SECOND FORMULA

  35. I use the following formula (=IF(A2″”,IF(B2″”,B2,NOW()),””)
    But whenever i type in other cells, the time updated.
    or when i save and close, then reopen the date and time updated automatically.

  36. Superb Job.Thanks

  37. Can the custom function be modified to display hh:mm then am or pm?

  38. Wowww This is what I am looking for!!!

    THANK YOU SO MUCHHH!!!!

  39. One issue: keeping the formula options for iterations to prevent the cirucular reference error. The options are not saved with the sheet. They are saved on the computer and those saved options change with each workbook you open. For a timestamp with a circular reference you need to set the options as the workbook opens. Use this macro:

    Private Sub Workbook_Open()
    Application.Calculation = xlCalculationAutomatic
    Application.Iteration = True
    Application.MaxIterations = 1
    End Sub

    That solves the problem and the formula works fine every time.

  40. Why =IF($A$1″”,NOW()) does not work here.

  41. grate! just you should say that it works mailny or totaly only on ENG versions.
    I have Excel in italian and many of this stuff does not work like that

  42. I have checked ‘enable iterative calculation’ option and I have put the formula =IF(A2””,IF(B2””,B2,NOW()),””) in cell B2 but I am getting error #Name? when I enter any text in A2.

    • Hello Sajid.. Your double quotes are not in the right format (it happens sometimes when copied directly from the webpage). Just delete the double quotes and enter it manually. It would work then.

      • Yes, Now it’s working. Thank you so much Sumit.

  43. I like the automated timestamp, I have users who have asked for similar things, it gives ideas on how to implement.

  44. Thanks Sumit……..I was searching this for more over decade.

    • Glad you found this useful Anand!

  45. When I tried to use the formulas to insert the timestamp, it returned 1/0/1900. It sounds like some setting that needs to changed but I couldn’t figure out where or what to change.

    • Hello Terry.. You need to check the ‘enable iterative calculation’ option for this to work

      • How to make it work for an online excel sheet shared with multiple people?

  46. Good one! thanks

    • Thanks Ashesh!

  47. Excellent tip! Thank you!

    • Thanks for commenting.. Glad you liked it 🙂

Comments are closed.

The easiest and fastest way to enter into the cell current date or time — is to click the hotkey combination CTRL + «;» (today’s date) and CTRL + SHIFT + «;» (the current time).

To use the TODAY () function is much better. It not only states but also automatically updates the information of the cell every day without user intervention.



How to put the current date in Excel

To insert the current date in Excel a person should use the function TODAY (). To do this, select the tool «FORMULAS»-«Date & Time»-«TODAY». This function has no arguments, so you can just type in a cell «=TODAY()» and press ENTER.

The current date in a cell:

TODAY.

If it is necessary to update automatically not only the current date, but the time in the cell, you’d better use the function «=NOW()».

NOW.

The current date and time in a cell.



The way to set the current date into the running title in Excel

Inserting the current date in Excel is implemented in several ways:

  1. By setting the parameters of the running title. The advantage of this method is that the current date and time are put on all the pages at once simultaneously.
  2. Using the function TODAY ().
  3. Using the hotkey combination CTRL +; — To set the current date and CTRL + SHIFT +; — To set the current time. The disadvantage in this process is that it will not be automatically updated to the current value of the cell parameters, the document is opened. But in some cases, lack of data is an advantage.
  4. With the help of VBA macros using the function code of the program: Date();Time();Now();.

The running title allows you to set the current date and time in the top or bottom of pages in the document to be output to the printer. In addition, the header allows us to enumerate all the pages of the document.

To make the current date in Excel and enumerate the pages with the help of the running page you should:

  1. Open the «PAGE LAYOUT»-«Page Setup» tab and select «Header/Footer».
  2. Page Setup.

  3. Click on the button to create «Custom Footer».
  4. Custom Footer.

  5. In the window that appears, click on the field «Center section:». On the panel, click the second button, «Insert Number of Pages». Then select the first button «Format Text» and set the format to display the page number (for example, bold and font size of 14 points).
  6. To set the current date and time, click on the field «Right section:» and then click «Insert Date» (if necessary, click on the «Insert Time»). Click OK in both dialog boxes. In these fields you can enter your text.
  7. Insert Time.

  8. Click OK, and look at the preliminary results display header. Below dropdown list «Footer:»
  9. Footer.

  10. «VIEW»-«Page Layout» menu, go to the preview of headers and footers. You can edit them there.

Edit them there.

Running titles allow us not only to set the date and page number. You can also add a space for the signature of the responsible person for the report. For example, the edit is now the lower left part of the page in the running titles:

Running titles.

Thus, it is possible to create documents with a comfortable place for signatures and seals on each page automatically.

Вставка текущих даты и времени в ячейку

​Смотрите также​​ Excel»​ минутах.​Данный факт лучше усвоить​ макрос.​ шрифт, а размер​ тогда лучше использовать​В1​ Эта функция находится​ будем устанавливать дату.​23:59:59​Принимает три обязательных аргумента​ категории​Числовой формат​.​ копирование и вставку​ запятой).​Примечание:​protofessor​Примечание. С помощью формата​ на конкретном примере:​

​Можно и без​ шрифта 14 пунктов).​ функцию «=ТДАТА()».​попробуем отразить фразу:​ на закладке «Формулы»​ На закладке «Формулы»​. При достижении этого​ (год, месяц и​Дата и время​>​Примечание:​

Вставка фиксированного значения даты или времени в ячейку Excel

​ для каждой ячейки​(Mac) Чтобы вставить текущее​ Мы стараемся как можно​: для каждого города​ ячеек мы настраиваем​Заполните диапазон ячеек A1:A3​ макроса.​Для установки текущей даты​Текущая дата и время​ «Сейчас 10:35». Для​ в разделе «Вычисления».​ в разделе «Библиотека​ значения функция обнуляется.​ день) и возвращает​в Excel. Если​Время​

  1. ​Мы стараемся как​ из примера.​ время, нажмите клавиши​ оперативнее обеспечивать вас​

  2. ​ подтянуть пояс в​ способ отображения их​

    • ​ числовыми значениями: 0,25​Напр.​ и времени щелкните​

    • ​ в ячейке.​ этого в​Нажимаем на кнопку​ функций» выбираем функцию​

    • ​Функции​ порядковый номер даты.​COMMAND​ Вы не читали​.​

    • ​ можно оперативнее обеспечивать​Важно:​+ ; (точка​ актуальными справочными материалами​ которм он находится,​ значений. Например, например​ (четверть дня); 0,5(полдень);​

    • ​A1-ячейка ввода​ по полю «Справа:»,​​B1​ функции «Пересчет» (калькулятор​ «Дата и время»​COMMAND​ДАТА​ Если до ввода​

Вставка обновляемых значений даты или времени

​ наш прошлый урок​Дата и время, обновляемые​ вас актуальными справочными​ Чтобы пример заработал должным​ с запятой).​ на вашем языке.​ а потом уже​ можно добавить или​ 0,75 (3/4 дня).​В1 =ЕСЛИ (ТДАТА​

​ а затем щелкните​Вставка текущей даты в​пишем формулу: =»Сейчас​​ нарисован). Или нажимаем​​ . Нажимаем​​и​​ этой функции ячейка​ по функциям, советуем​ при пересчете листа​ материалами на вашем​ образом, его необходимо​(Windows) Чтобы вставить текущие​ Эта страница переведена​

Пример

​ через функцию =ТДАТА()​

​ убрать время из​

​Выделите A1:A3 и с​

​ ()»»;B1;»»)​ по кнопке «Вставить​

​ Excel реализуется несколькими​

​ «&A1. В результате​ на кнопку функции​функцию Excel «Сегодня»​

  1. ​ВРЕМЯ​ имела формат​ к нему обратиться.​

  2. ​ или открытии книги,​ языке. Эта страница​ вставить в ячейку​ дату и время,​ автоматически, поэтому ее​ прибавить или отнять​ даты в Excel.​ помощью диалогового окна​

    ​но в этом​​ дату» (при необходимости​ способами:​ получим: «Сейчас 0,440972222222222».​ «Параметры вычислений» ->​

  3. ​, затем, нажимаем​можно использовать совместно:​Общий​ В этом уроке​ считаются динамическими, а​ переведена автоматически, поэтому​​ A1 листа.​​ нажмите клавиши CTRL+;​​ текст может содержать​​ соответствующее количество часов,​​На следующем примере посчитаем,​​ «Формат ячеек» (CTRL+1)​

​ случае надо включить​ щелкните на кнопку​Задав параметры колонтитулов. Преимущество​ EXCEL подставил вместо​

​ «Автоматически».​​ «ОК».​​В данном примере к​​, то результат будет​​ мы познакомимся с​​ не статическими. Чаще​ ее текст может​Чтобы переключиться между просмотром​ (точка с запятой),​ неточности и грамматические​ которая составляет разница​ какая часть суток​ задайте формат «Время»,​ интерацию (чтобы не​ «Вставить время»). И​

Изменение формата даты и времени

​ данного способа в​ 10:35 соответствующее времени​А проще всего​В ячейке появилась​​ ячейке D1 применен​​ отформатирован как дата.​ 4-мя очень полезными​​ всего для получения​​ содержать неточности и​​ результатов и просмотром​​ затем ПРОБЕЛ, а​​ ошибки. Для нас​​ между Вашим городом​​ прошла от полночи​​ как показано на​​ было циклической ссылки)​​ нажмите ОК на​​ том, что текущая​​ число 0,440972222222222. (см.​ обновить данные даты​​ сегодняшняя дата, которая​​ формат даты и​

support.office.com

Вставка текущих даты и времени в ячейку

​Значение аргумента​​ функциями, которые позволяют​ динамической даты или​ грамматические ошибки. Для​ формул, возвращающих эти​ после этого — CTRL+SHIFT+;​ важно, чтобы эта​ и интересующим городом(один​ до 9:45.​ рисунке:​Марина​ обоих диалоговых окнах.​ дата и время​ файл примера).​ и времени, нажав​ будет меняться каждый​ времени.​День​ не просто отображать,​ времени в ячейке​ нас важно, чтобы​ результаты, нажмите клавиши​

​ (точка с запятой).​ статья была вам​ час=1/24, два часа=2/24​В ячейки A1:A3 введите​Чтобы сложить время в​: Нет​ В данных полях​ проставляются сразу на​Для отображения времени в​ на клавишу «F9».​ день, при открытии​На этом наш урок​(или Месяц) может​

Вставка статических значений даты или времени

​ но и создавать​ на листе используются​ эта статья была​

  1. ​ Ctrl+` (знак ударения)​(Mac) Чтобы вставить текущие​ полезна. Просим вас​ и т.д).​

  2. ​ 9:45.​

    • ​ Excel по формуле​T-cat​​ можно вводить свой​​ все страницы одновременно.​​ нужном нам формате​​Как посчитать возраст​​ книги Excel.​​ окончен. Сегодня мы​​ быть, как положительным,​​ даты и время​​ функции.​​ вам полезна. Просим​

    • ​ или на вкладке​ дату и время,​​ уделить пару секунд​​Это по крайней​​Перейтите на A1 и​​ или с помощью​​: Есть функция ТДАТА​​ текст.​

Вставка обновляемых значений даты или времени

​Используя функцию СЕГОДНЯ().​ используем функцию ТЕКСТ():​ на текущую дату,​Можно быстро установить сегодняшнюю​ разобрали несколько полезных​ так и отрицательным​ в Excel.​Чтобы вставить текущую дату​ вас уделить пару​Формулы​

  • ​ нажмите клавиши CTRL+;​ и сообщить, помогла​ мере мое видение-начинающего​ вызовите окно «Формат​​ функции:=СУММ() нужно использовать​​Функция ТДАТА применяется​​Нажмите на кнопку ОК​​Используя комбинацию горячих клавиш​=»Сейчас «&ТЕКСТ(A1;»ч:мм»)​ смотрите в статье​ дату сочетанием клавиш​ функций из категории​ числом. Если величина​

​Не имеет аргументов и​ ​ или время, чтобы​ ​ секунд и сообщить,​

​в группе​

​ (точка с запятой),​

​ ли она вам,​ и юного специалиста​

​ ячеек» (CTRL+1). На​

​ специальный формат.​ в случаях, когда​ и обратите на​

​ CTRL+; – для​​Получим желаемое — «Сейчас​​ «Как посчитать возраст​​ «Shift» + «Ctrl»​​Дата и время​​ аргумента превышает количество​ возвращает порядковое число​ он является обновляемым,​ помогла ли она​Зависимости формул​ затем ПРОБЕЛ, а​ с помощью кнопок​ по делам экселевским))​ закладке «Число», из​В ячейку А4 введите:=СУММ(A1:A3).​

support.office.com

Функции для создания и отображения дат и времени в Excel

​ на листе требуется​ предварительный результат отображения​ установки текущей даты​ 10:35». Обратите внимание,​​ в Excel».​​ + «4» или​

​, которые Вам обязательно​ дней в текущем​​ текущей даты, которая​​ с помощью функции​ вам, с помощью​нажмите кнопку​ после этого —​ внизу страницы. Для​vikttur​ списка «Числовые форматы»​ Как видно вместо​ отображать текущую дату​ колонтитула. Ниже выпадающего​ и CTRL+SHIFT+; –​ что мм (минуты)​Можно настроить формат​

СЕГОДНЯ()

​ «Ctrl» +»Ж». О​ пригодятся. Надеюсь, что​ месяце (количество месяцев​ берется из системного​сегодня​ кнопок внизу страницы.​Показывать формулы​+; (точка с​​ удобства также приводим​​: Я, видимо, не​ выберите «Дробный».​​ 36 часов мы​​ и время или​

Функции даты и времени в Excel

ТДАТА()

​ списка «Нижний колонтитул».​ для установки текущего​ записаны строчными буквами,​ ячейки, чтобы были​ других сочетаниях клавиш​ данный урок Вам​ в году), то​ времени Вашего компьютера.​​и​​ Для удобства также​.​ запятой).​

Функции даты и времени в Excel

​ ссылку на оригинал​​ так понял задачу.​​Перейдите на A2 и​​ видим только 12​​ вычислять значение на​Для предварительного просмотра колонтитулов​ времени. Недостаток –​

​ чтобы отличить их​ видны одни часы.​ смотрите в статье​ понравился. В следующем​

​ происходит увеличение даты:​​ Если функция применяется​ТДАТА​ приводим ссылку на​Скопировав пример на пустой​Дата или время обновляемые​ (на английском языке).​Если вариант​ задайте таким же​

Функции даты и времени в Excel

ДАТА()

​ – это время​ основании текущей даты​ перейдите в меню​ в данном способе​ от Месяца (ММ).​Подробнее о форматах ячейки​ «Горячие клавиши Excel»​​ уроке разберем последнюю​​Если же величина аргумента​ к ячейке с​

Функции даты и времени в Excel

​, как показано​​ оригинал (на английском​​ лист, его можно​ при пересчете листа​Предположим, что требуется легко​protofessor​ способом «Процентный» формат​ следующего дня. А​ и времени, чтобы​ «Вид»-«Разметка страницы». Там​ не будет автоматически​

Функции даты и времени в Excel

​СОВЕТ:​ читайте в статье​ тут.​ тему, касаемо работы​

Функции даты и времени в Excel

​ является отрицательным числом,​​ форматом​​ в таблице ниже.​ языке) .​ настроить в соответствии​ или открытии книги,​ указывать текущие дату​’а применим, то лучше​ (или просто нажмите​ чтобы отобразить сумму​ при этом значение​

Функции даты и времени в Excel

​ же можно их​ обновляться значение ячейки​Подробнее о пользовательских​

Функции даты и времени в Excel

ВРЕМЯ()

​ «Число Excel. Формат»​Как с помощью​ с датами и​ то происходит уменьшение​Общий​ Просмотреть дополнительные сведения​Предположим, что вы хотите​​ со своими потребностями.​​ считаются «динамическими», а​ и время при​

Функции даты и времени в Excel

​ обновление времени поручить​​ комбинацию горячих клавиш​​ часов меняем формат​​ обновлялось при каждом​​ редактировать.​ на текущие показатели,​ форматах дат и​

​ здесь.​​ функции «СЕГОДНЯ» настроить​​ временем в Excel,​ даты:​​, то к результату​​ о том, как​ быстро вводить текущие​

Функции даты и времени в Excel

​Примечание:​​ не статическими. Наиболее​​ записи действий в​​ макросу.​​ CTRL+SHIFT+5).​

Функции даты и времени в Excel

​ ячейки.​ открытии листа.​Колонтитулы позволяют нам не​ при открытии документа.​

​ времени читайте в​Даты можно складывать,​ таблицу, чтобы никто​ а поговорим мы​​Аргументы функции​​ будет применен формат​ использовать эти функции​ дату и время​ Функции​ распространенным способом получения​ журнал или автоматически​Дело в том,что​Перейдите на A3 и​Открываетм окно «Формат ячеек»-«Число»-«Числовые​Вы ее найдете​ только устанавливать даты​ Но в некоторых​ одноименной статье Пользовательский​ вычитать, прибавлить к​

​ не смог исправить​

office-guru.ru

Текущая дата в Excel.

​ о различных вычислениях​​ДАТА​Дата​​ сегодня и ТДАТА.​ при записи действий​​СЕГОДНЯ​ динамической даты или​ отображать их в​​ ТДАТА — летучая​​ удалите формат ячейки.​ форматы»-«Все форматы». В​
​ в разделе фукнкций​ и нумерации страниц.​ случаях данных недостаток​ формат даты и​ ним дни, месяцы,​ данные в таблице,​ с использованием функций.​могут содержать математические​.​
​Какие​
​ в журнал или​и​ времени в ячейке​ ячейке при каждом​
​ функция и пересчитывается​
​ А из предыдущих​ поле «Тип:» вводим:​ «Дата и время»​ Так же можно​ является преимуществом.​ времени.​ т.д. Как работать​ смотрите в статье​​ Всего Вам доброго​​ операции, а также​Не имеет аргументов и​
​Чтобы добавить​ сделать так, чтобы​ТДАТА​ на листе является​ пересчете формул. Вставить​
​ при любом изменении​ уроков вы знаете,​ [ч]:мм:сс. И нажимаем​Мы проверили на предыдущем​ добавить место для​С помощью VBA макросов​Самый простой и быстрый​ с датами, смотрите​ «Чтобы не исправляли​
​ и успехов в​ другие функции Excel.​ возвращает порядковое число​Ячейка​ они автоматически выводились​меняют свои значения​ использование функции листа.​ текущие дату и​ на листе, а​
​ что удалить формат​
​ ОК.​ уроке, что дата​ подписи ответственного лица​ используя в коде​ способ ввести в​ в статье «Работа​ данные в таблице​ изучении Excel.​ Например, чтобы прибавить​ текущих даты и​Результат​ в ячейке при​ только при расчете​Для вставки обновляемой текущей​ время в ячейку​
​ это может вызвать​ это присвоить формат​Теперь отображается количество суммированных​
​ в Excel –​ за отчет. Например,​ программы функции: Date();Time();Now().​ ячейку текущую дату​ с датами в​ Excel задним числом».​Автор: Антон Андронов​ к определенной дате​ времени, которые берутся​=СЕГОДНЯ()​ каждом пересчете формул.​ листа или при​
​ даты или времени​ можно несколькими способами.​ подтормаживания при изменениях​ по умолчанию «Общий».​ часов и минут.​ это число количества​
​ отредактируем теперь левую​Колонтитулы позволяют установить текущую​ или время –​ Excel».​
​Текущая дата в Excel.​Рассмотрим​ 1 год 5​ из системных настроек​Текущая дата (значения могут​
​ Вы можете вставить​ выполнении макроса, содержащего​ используются функции​
​Статические значения на листе​ листа.​ Для этого можно​​
​ дней прошедших от​ нижнюю часть страницы​ дату и время​ это нажать комбинацию​Часы и дату​Если нужно установить​функции «Сегодня»»Текушая дата» в​ месяцев и 17​
​ Вашего компьютера. Если​ быть разными)​ значения, которые не​ эту функцию. Непрерывного​СЕГОДНЯ​ — изменяются при​Функция не пересчитывается​ нажать комбинацию CTRL+SHIFT+`​

excel-office.ru

Отображение формата ВРЕМЯ в ТЕКСТовой строке в MS EXCEL

​Данный метод отображения времени​ 01.01.1900г. А сейчас​ в области колонтитулов:​ в верхних или​ горячих клавиш CTRL+«;»​ можно установить в​ не только сегодняшнее​ Excel​ дней, можно воспользоваться​ функция применяется к​

​=ТДАТА()​ будут изменяться, или​ их обновления не​и​ пересчете или открытии​ автоматически, т.е. для​

​ или использовать выше​​ весьма полезный. Допустим​​ убедимся что время​Таким образом, можно создавать​​ нижних частях страниц​​ (текущая дата) и​ колонтитул (это отдельное​ число, но и​​Функция Excel «Текущая​​ следующей формулой:​ ячейке с форматом​Текущие дата и время​ же обновлять их.​ происходит. В качестве​ТДАТА​ листа. При нажатии​

​ обновления данных лист​ описанный способ.​ нам нужно узнать​
​ в Excel –​

​ документы с удобным​ документа, который будет​ CTRL+SHIFT+«;» (текущее время).​ поле на странице).​ время, то вместо​ дата»​

​А чтобы преобразовать текстовую​
​Общий​ (значения могут быть​Статические значения не изменяются​ значений даты и​, как показано в​ клавиши сочетание клавиш,​

excel2.ru

Вставка текущей даты в Excel разными способами

​ нужно принудительно пересчитать​Как видите 9:45 –​ разницу между временем​ это дробная часть​ местом для подписей​ выводиться на принтер.​Гораздо эффективнее использовать функцию​ Смотрите статью о​

​ функции «Сегодня» выберем​устанавливает в ячейке​ строку в дату,​, то к результату​ разными)​ при пересчете или​ времени используются показания​

Как поставить текущую дату в Excel

​ приведенном ниже примере.​ такие как Ctrl​ (F9).​ это 2/5 частей​ в минутах. В​ числа, которая представляет​ или печатей на​ Кроме того, колонтитул​ СЕГОДНЯ(). Ведь она​ колонтитулах «Как создать​ – «ТДата». В​

​ текущее число и​

СЕГОДНЯ.

​ воспользуемся этой формулой:​ будет применен формат​Примечание:​ открытии листа.​ системных часов компьютера.​ Дополнительные сведения об​ +; Чтобы вставить​

ТДАТА.

​Если без макросов,​ суток. Проще говоря,​

​ ячейку B2 введите​

Как установить текущую дату в Excel на колонтитулах

​ собой период суток.​ каждой странице в​ позволяет нам пронумеровать​

  1. ​ не только устанавливает,​ фирменный бланк. Колонтитулы​ ячейке будет стоять​ время.​Принимает три обязательных аргумента​ даты и времени.​
  2. ​ Результаты, возвращаемые функцией​
  3. ​Выделите на листе ячейку,​Чтобы изменить формат даты​ использовании этих функций​ текущую дату в​ можно оптимизировать.​ прошло пока 40,63%​ формулу:=A2-A1. Установите теперь​Работать с временем приходиться​ полностью автоматическом режиме.​ все страницы документа.​ но и автоматически​ в Excel».​ и текущая дата,​Функция Excel «Сегодня»​
  4. ​ (часы, минуты, секунды)​Результаты функций​СЕГОДНЯ​

​ в которую вы​ или времени, щелкните​ см. в статьях​ ячейку Excel «принимает​ТДАТА​ суток.​ для ячейки «Все​ не редко. Например​Необходимо что бы реальное​

​Чтобы сделать текущую дату​ обновляет значение ячейки​При составлении формул для​ и текущее время,​устанавливает в ячейке​

  1. ​ и возвращает десятичное​СЕГОДНЯ()​или​Параметры страницы.
  2. ​ хотите вставить текущую​ ячейку правой кнопкой​Нижний колонтитул.
  3. ​ Функция СЕГОДНЯ и​ в виде снимка»​вынести в отдельную​Автоматический ввод текущего времени​ форматы» и на​ когда нужно отделу​ время отображалось автоматически.​ в Excel и​ каждый день без​ отображения в ячейке​ получились электронные часы​ текущую дату.​
  4. ​ число, т.е. долю​и​ТДАТА​ дату или время.​ мыши и выберите​ Функция ТДАТА​ текущую дату и​ ячейку, в формулах​ в Excel выполняется​ этот раз в​ кадров сформировать отчет​ Так чтобы затем​ нумерацию страниц с​Нижний колонтитул.
  5. ​ участия пользователя.​ фразы содержащей текст​ с календарем. Дата​Эти функции применяются​ суток. Если до​Результат1.
  6. ​ТДАТА​, изменяются только при​Сделайте одно из следующего:​Формат ячеек​Формула​

Слева.

​ вставляет дату в​ — ссылка.​ комбинацией горячих клавиш​ поле «Тип:» вводим:​ по балансу рабочего​ из него вычитались​ помощью колонтитулов сделайте​Чтобы вставить текущую дату​ и время, например,​ и часы в​

Слева. Результат2.

​ в Excel, чтобы​ ввода этой функции​изменяются при каждом​ пересчете листа или​Чтобы вставить дату, введите​. Затем в диалоговом​

exceltable.com

Можно ли ввести в ячейку Эксель реальное время?

​Описание (результат)​ ячейку. Так как​Разницу (столбец В)​ CTRL+SHIFT+;. Автоматическая вставка​ [мм]. И нажимаем​ времени сотрудников предприятия.​

​ реальные затраты времени.​​ так:​
​ в Excel воспользуйтесь​
​ «Сейчас 10:35», могут​ таблице Excel стоят​ установить текущюю дату​ ячейка имела формат​ пересчете рабочего листа​
​ выполнении макроса, содержащего​ дату (например,​ окне​
​=СЕГОДНЯ()​ значение этой ячейки​ правильнее писать числовыми​ текущей даты и​
​ ОК.​ Или производственному отделу​
​ Для тайм-менеджмента.​
​Откройте окно «Параметры страницы»​
​ функцией СЕГОДНЯ(). Для​ возникнуть сложности с​
​ такие же, как​ в таблице, которая​Общий​ Excel.​

​ ее. Постоянного обновления​​2.2​

​Формат ячеек​​Текущая дата (значения могут​
​ не изменится, он​ данными, чтобы избежать​ времени в Excel​Так нам удалось перевести​ нужно посчитать сколько​Inga zayonts​ и выберите закладку​ этого выберите инструмент​ правильным отображением времени.​ на ноутбуке (ПК).​ будет обновляться при​
​, то результат будет​В качестве примера можно​ ячеек, содержащих эти​

Учет времени в Excel: суммирование вычитание разницы часов и минут

​) и нажмите​на вкладке​ быть разными)​ считается статические.​ лишних преобразований. А​ отличается использованием клавиши​ время в минуты.​ потребуется работо-часов фрезерному​: правильно ответил T_Cat​ «Колонтитулы».​ «Формулы»-«Дата и время»-«СЕГОДНЯ».​

​ Решим задачу путем​Как обновить текущую дату​ открытии таблицы, или​ отформатирован как время.​ привести формулу, которая​ функции, не происходит.​Главная​Число​=ТДАТА()​Выделите на листе ячейку,​ плюсик можно добавить​ SHIFT.​ Если мы в​ станку на изготовления​=ТДАТА ()​

Как посчитать сумму времени в Excel?

​Нажмите на кнопку создать​ Данная функция не​ предварительного преобразования времени​ и время в​ для расчета дат,​Функция​

​ вычисляет текущее время​ В качестве значений​

  1. ​>​в группе​Текущие дата и время​ в которую требуется​
  2. ​ форматом ячейки, например:​Олег_​ эту же ячейку​ деталей мелкосерийного производства.​но эта формула​ нижний колонтитул.​

Часть дня в формате время.

​ имеет аргументов, поэтому​ в текстовое значение.​ Excel.​ стажа, возраста, других​ВРЕМЯ​

  1. ​ в Excel:​ даты и времени​Числовой формат​Числовые форматы​ (значения могут быть​ вставить текущую дату​»+» Основной​: Добрый день. Есть​ введем число 1​
  2. ​ Время нужно считать​ будет постоянно обновлять​В появившемся окне щелкните​ вы можете просто​По аналогии с примером​

Суммирование времени.

​В Excel дата​ настроек таблицы.​

​очень похожа на​

Как посчитать разницу во времени в Excel?

​=ТДАТА()-СЕГОДНЯ()​ используются показания системных​>​, нажмите​ разными)​ или время.​И вычисления ускорятся,​ список городов, многие​ (или время 24:00​ инженерам для анализа​ время (при открытии​ по полю «В​ ввести в ячейку:​

Перевести время в минуты.

​ из статьи Отображение​ и время автоматически​Внимание!​ДАТА​— в данном​ часов компьютера.​Краткий формат даты​Дата​Выделите текст в таблице,​Выполните одно из следующих​ и формулы сократятся:​ из них находятся​ что по сути​ производительности оборудования при​ или вводе новых​

​ центре:». На панели​ «=СЕГОДНЯ()» и нажать​ формата Даты в​ обновляется только при​Эти функции не​, поэтому заострять на​ случае формула вернет​

Учет времени на протяжении суток

​Весь курс: урок 1​или​или​ приведенной выше, и​

  1. ​ действий.​=$E$1+B2/24​
  2. ​ в разных часовых​ одно и то​ определенных количествах операций.​ даных)​ выберите вторую кнопку​ ВВОД.​
  3. ​ ТЕКСТовой строке, рассмотрим,​ открытии книги. Если​ подходят при заполнении​ ней особого внимания​ десятичное число (долю​ | урок 2​
  4. ​Длинный формат даты​Время​ нажмите клавиши CTRL+C.​Чтобы вставить текущую дату,​Юрий М​ поясах. Можно ли​ же), то мы​Каждая дробная часть чисел​И, как результат,​ ««Вставить номер страницы»».​Текущая дата в ячейке:​

Часть суток.

​ как преобразовать Время​ нужно обновить дату​ таблицы, когда даты​ мы не будем.​ суток). Чтобы увидеть​

Как поставить текущее время в Excel?

​ | урок 3​.​и в списке​На пустом листе щелкните​ нажмите клавиши CTRL+;​: Вить, думаю, что​ как то прикрутить​ узнаем что в​

exceltable.com

Точное время online в ячейках excel

​ в Excel может​​ будут меняться ваши​ Потом выберите первую​Если же необходимо чтобы​ в текстовый формат.​ или время в​ не должны меняться.​Важно отметить, что функция​ результат, как на​

​ |​​Чтобы вставить время, введите​Тип​

​ ячейку A1 и​​ (точка с запятой).​ ты правильно понял:​ отображение реального времени​ сутках 1440 минут.​ отображаться в часах​ расчеты реального времени.​ кнопку «Формат текста»​ в ячейке автоматически​Введем в ячейку​ течение дня, то​Функция «СЕГОДНЯ» в Excel.​ВРЕМЯ​
​ рисунке ниже, необходимо​урок 4​ его и щелкните​выберите тип, после​

​ нажмите клавиши CTRL+V.​​(Windows) Чтобы вставить текущее​ нужно иметь реальное​
​ в этих городах?​​ Так фактически можно​​ и минутах (в​Можно «зафиксировать» время​ и задайте формат​
​ обновлялось значение не​А1​ нужно нажать кнопку​Устанавливаем курсор в​не может возвращать​ к ячейке A1​| урок 5​Главная​
​ чего нажмите​ При работе в​ время, нажмите клавиши​текущее​vikttur​
​ в Excel посчитать​ зависимости от выбранного​
​ ввода информации. Для​​ для отображения номеров​ только текущей даты,​время 10:35. В​
​ функции пересчета книги.​ ячейку, в которой​ значение, превышающее​ применить формат времени.​Мы продолжаем изучать функции​>​
​ОК​
​ Excel Online повторите​ CTRL+SHIFT+; (точка с​
​время.​

​: Ищите «Часы в​​ любое время в​ формата отображения).​ этого надо писать​​ страниц (например, полужирный​​ но и времени​

planetaexcel.ru

​ ячейке​

There are many ways to enter the latest date or time into Excel, depending on exactly what you need.  A fixed date/time at the moment you type into the cell or a date/time which Excel updates automatically.

This works on Excel for Windows or Excel for Mac.  There are combinations to enter either date, time or date and time.

If you want to skip ahead, here’s a summary of the options:

Fixed or Static date/time

There are long-standing shortcuts to type in the current date/time.  They put into the Excel cell the date/time as you type it.  Once typed, the date/time does NOT change.

It’s useful for ‘live’ data entry when you’re updating a worksheet with the today’s sale figures, attendance or whatever.

Excel enters the current Excel date/time value (ie counting from 1900) see THE TRUTH BEHIND EXCEL DATES, TIME AND DURATION and the table above.

Windows shortcuts:

Ctrl + ;   insert current date

Ctrl + Shift + ; insert current time

You can combine the two to insert both date and time:

Ctrl + ; then a space, Ctrl + Shift + ;   the space is required.

Mac shortcuts:

As with most Office for Mac shortcuts, they are the same as Office for Windows except you use the Command key ⌘ instead of Control.

Command ⌘ + ;   insert current date

Command ⌘ + Shift + ; insert current time

You can combine the two to insert both date and time:

Command ⌘ + ; then a space, Command ⌘ + Shift + ;   the space is required.

Dynamic Date/Time

Other times you want Excel to use the date or time right now.  It’s a dynamic date/time that changes every time Excel refreshes the worksheet.

Again, there are three options. Date, Time or Date and Time.  There are Excel functions for two of these and a simple formula to create the third.

Each time the worksheet refreshes, it changes the current Excel date/time value (ie counting from 1900) see THE TRUTH BEHIND EXCEL DATES, TIME AND DURATION and the table above.

Today() = Date only

The Today() function returns the current date only.

It inserts the current date as an Excel date value, how it appears in the cell depends on the cell formatting or Windows regional setting.  See the ‘Real Cell Value’ in the above table to see Today() as both a date and it’s underlying cell value.

Now() = Date and Time

The Now() function returns both date and time.

In other words, it enters an Excel date value with both numbers (day) and fraction (time) component. See the ‘Real Cell Value’ in the above table to see Now() as both a date/time and it’s underlying cell value.

Now()-Today() = Time only

There’s no Excel function to show just the current time, without the date. But it’s easy enough to do:

=Now()-Today()  returns the time only.  In other words, it subtracts the current date/time (Excel date with fraction) from the current date only (Excel date, no fraction).  Have a look at the table above.

Static and Dynamic dates combined

A worksheet can tell you the difference between the time you entered some information (using the Date/Time shortcuts) and the current time.   Excel can do it down to the second!

Subtract the current time (Now()) from the original date/time then format the result as a time duration.

Dates, time and duration, the truth in Excel
Beware the date calculation trap in Excel
Converting Text with month and year into Excel dates
Five ways to turn text into Excel dates
Text to Excel Date conversion by adding Zero with Paste Special

Понравилась статья? Поделить с друзьями:
  • Put this word combinations into the sentences
  • Put these words and word combination
  • Put these sentences in the correct word order
  • Put the world in the following sentences in order the first word in each
  • Put the words in the following sentences in order the first word in each sentence