Yes, you can insert the current date and time into an Excel cell using the NOW function. This function requires no special software or hardware; it generates a dynamic value based on your computer's system clock. It is useful for creating timestamps, tracking when data was entered, or recording the exact moment a report was generated. To do this, you simply type =NOW() into a cell and press Enter. Excel will display the current date and time. If you want the date and time to stay fixed when you open the spreadsheet later, you will need to convert the dynamic result into a permanent value using a specific shortcut.
What You'll Need
- A computer with Microsoft Excel installed (Excel for Microsoft 365, Excel 2019, Excel 2016, or Excel 2013 are all supported).
- Access to the internet is not required for the basic function to work, but it is necessary if you need to download or update the software.
- A spreadsheet file (either a new blank workbook or an existing one where you wish to add the timestamp).
Step-by-Step
- Select the Cell: Click on the specific cell in your spreadsheet where you want the current date and time to appear. This could be the last cell of a data entry list or a dedicated column for timestamps.
- Open the Formula Bar: At the top of the window, you will see a long bar next to the formula symbol (
=). Click inside this bar. Alternatively, you can simply type directly into the selected cell; both methods achieve the same result. - Enter the Function: Type the equals sign (
=) followed by the wordNOW. It is important to use the capital letters as shown, though Excel is case-insensitive and will correct it automatically. Close the function with an opening and closing parenthesis,(). The cell should now contain the text=NOW(). - Execute the Command: Press the Enter key on your keyboard. Excel will process the command and replace the text with the current date and time based on your computer's system settings.
- Verify the Result: Look at your cell. You should see a date formatted as a number followed by a time formatted as a decimal. For example, you might see
44562.542. This represents the serial number for the date and the fraction of the day that has passed for the time. - Make it Permanent (Optional): The NOW function is dynamic. If you close the workbook and reopen it tomorrow, the cell will automatically update to show today’s date and time. If you need the timestamp to remain exactly as it appears today (e.g., for a legal record or a log of when a specific event occurred), you must convert the dynamic value into a static text value. To do this, click on the cell containing the NOW function, press Ctrl + C to copy it, then right-click the same cell and choose Values (or press Alt + E, S, V on Windows). This replaces the formula with the current text, preventing it from changing in the future.
Common Mistakes
One of the most frequent errors users encounter is forgetting to include the parentheses. If you type =NOW without the brackets, Excel will not recognize it as a function and will display an error. Another mistake is misunderstanding the difference between the NOW function and the TODAY function. The TODAY function only returns the current date, while NOW returns both the date and the time. If you only need the date, using TODAY is more efficient.
Tips
To make the data easier to read, you can format the cell to display only the time or only the date. Right-click the cell, select Format Cells, and under the Number tab, choose Date or Time from the list on the left. This allows you to present the information in a way that is most useful for your audience. When working with large datasets, ensure your timestamps are in a single column so you can easily sort the data chronologically.
Troubleshooting
If the NOW function does not update, it is usually because the automatic calculation settings in Excel have been changed. By default, Excel recalculates formulas every time you make a change in the workbook. If this feature is disabled, the cell will not update even if you change the system clock. To fix this, go to the File tab, select Options, and click on Formulas in the left sidebar. Ensure that the radio button next to Automatic is selected under the Calculation options section. If you are using a very old version of Excel, you may need to manually trigger a recalculation by pressing Ctrl + Alt + F9.
Frequently Asked Questions
Does the NOW function update if I change my computer's clock?
No. The NOW function pulls data from your computer's internal clock at the moment the formula is entered or recalculated. If you manually change the date and time on your computer, the NOW function will reflect that change only if you press Ctrl + Alt + F9 to force a recalculation.
How do I insert the current time only?
You can use the TIME function combined with the NOW function to extract just the time component. Type =TEXT(NOW(), "h:mm AM/PM") to get a formatted time string, or =NOW()-TODAY() to get the decimal value representing the time portion of the date serial number.
Why is my NOW function showing a date in the future?
This is a common issue with daylight saving time changes. If you set your computer's clock forward or backward and do not restart Excel, the software may lock onto the old time zone offset. Simply restarting your computer or forcing a recalculation should resolve this.
Can I use the NOW function in conditional formatting?
Yes, you can use the NOW function in conditional formatting rules to highlight cells based on time. For example, you can create a rule that turns a cell red if the current time is after a specific deadline, using a formula like =AND(TODAY()=A1, NOW()>TIME(17,0,0)).
Is the NOW function available in Excel for the web?
Yes, the NOW function is fully supported in Excel for the web. The steps are identical: select a cell, type =NOW(), and press Enter. The dynamic calculation works the same way across all supported platforms.