The NOW function in Excel returns the current date and time based on your computer’s system clock. The NOW function will update every time the worksheet recalculates or when the file is opened. It can be useful for the following scenarios:
=NOW() // Returns the current date and time from your device clock.
Objective |
Value Returned by the function |
---|---|
Aim to return the date and time. |
NOW Function in Excel will return the date and time based on your device’s clock, and it varies real-time, whenever the file is opened. |
The NOW function was introduced in Excel 1.0 and is a built-in function. If you want to recreate the working of the NOW function using formulas, you will need to manually combine functions as shown below.
=TODAY() + (HOUR(NOW())/24 + MINUTE(NOW())/1440)
By combining functions like TODAY, HOUR, NOW, and MINUTE with mathematical operations, you can get the current date and time based on your system clock. However, this type of formula is static. Once it returns a result, it does not update automatically every time you reopen the file, unlike the NOW function, which refreshes with the current date and time whenever the sheet is opened or recalculated.
By default, a formula may show only the date or only the time in a cell. To display both date and time, right-click the cell and choose the Format Cells option. In the Number tab, choose Custom, then in the Type field, select the dd-mm-yyyy hh:mm, and click the OK button.
Now, the content in the cell will be updated with the date and time value as shown in the image below.
Formatting cells will display both date and time.
In the example below, I’ve included 13 different scenarios showing how to use the NOW function together with other nested functions. Each case includes the formula, the output, and a brief explanation for clarity.
Example’s Explanation:
Function |
Used for |
---|---|
NOW |
Returns the current system date and time |
IF |
Performs logical checks to return different values based on a condition |
HOUR |
Extracts the hour portion from a time value |
MINUTE |
Extracts the minute portion from a time value |
SECOND |
Extracts the second portion from a time value |
TEXT |
Formats numbers/dates as text in a specified format |
EOMONTH |
Returns the last day of the month, x months before or after a given date |
TODAY |
Returns the current date without time |
WEEKDAY |
Returns a number representing the day of the week |
AND |
Checks if multiple conditions are TRUE |
TIME |
Creates a time value from hours, minutes, and seconds |
FLOOR |
Rounds a number down toward zero to the nearest multiple |
That’s it. This tutorial was originally published on How to Use Excel NOW Function?