๐ Excel Basics #29 โ TODAY(), NOW() & Basic Date Functions
Dates are extremely important in Excel, especially when working with sales, invoices, employee data, projects, and deadlines.
Excel provides built-in functions to work with the current date and time.
๐ 1. TODAY() Function
"TODAY()" returns the current date.
Syntax:
=TODAY()
Example:
If today's date is 17-Aug-2026, the formula returns:
17-Aug-2026
The value automatically updates when Excel recalculates on a different day.
๐ 2. NOW() Function
"NOW()" returns the current date and time.
Syntax:
=NOW()
Example:
17-Aug-2026 13:08
The exact displayed format depends on your cell formatting and system settings.
๐ TODAY() vs NOW()
"TODAY()" โ Current date
"NOW()" โ Current date + time
๐ 3. Calculate Days Since a Date
Suppose an employee's joining date is in "A2".
Formula:
=TODAY()-A2
This returns the number of days between the joining date and today.
๐ก Example:
Joining Date โ "01-Jan-2026"
Formula:
=TODAY()-A2
Result โ Number of days since joining.
๐ 4. Check Whether a Date Has Passed
Suppose a project deadline is in "A2".
Formula:
=IF(A2<TODAY(),"Overdue","Not Overdue")
Excel checks whether the deadline is before today's date.
๐ 5. Check Whether a Deadline Is Today
=IF(A2=TODAY(),"Due Today","Other")
This can be useful for task trackers and deadline reports.
๐ 6. Extract Date Components
Excel also provides:
=DAY(A2) โ Extracts the day
=MONTH(A2) โ Extracts the month
=YEAR(A2) โ Extracts the year
Example:
If "A2 = 17-Aug-2026"
=DAY(A2) โ Result: 17
=MONTH(A2) โ Result: 8
=YEAR(A2) โ Result: 2026
๐ Real-World Example
Task Due Date Status
Report 15-Aug-2026 Overdue
Dashboard 17-Aug-2026 Due Today
Presentation 25-Aug-2026 Not Due
Formula in C2:
=IF(B2<TODAY(),"Overdue",IF(B2=TODAY(),"Due Today","Not Due"))
You can copy the formula down for all tasks.
๐ Common Mistakes
โ Treating dates stored as text as real Excel dates.
โ Forgetting that "NOW()" includes both date and time.
โ Assuming "TODAY()" is a fixed valueโit changes as the date changes.
Double Tap โค๏ธ For More
Post #2263
3.53K
- โค 16
- ๐ 2