π TODAY Function β Automatically Insert the Current Date in Google Sheets
Have you been typing today’s date manually every time you open your spreadsheet?
When creating reports or managing logs, it’s easy to forget to update the dateβor worse, type it incorrectly.
Manual input not only slows you down but also increases the risk of errors in routine tasks.
Fortunately, Google Sheets provides a simple way to automate this with the TODAY()
function.
With just one line of code, the current date is inserted automatically and updates every day you open the sheet.
Itβs one of the most practical and beginner-friendly functions in all spreadsheet workflows.
In this guide, weβll show you exactly how to use TODAY()
in real-world situationsβwith clear examples and visual layouts.
β Function Summary
Item | Details |
---|---|
Function Name | TODAY |
Purpose | Automatically insert the current date |
Syntax | =TODAY() |
Arguments | None |
Return Value | The current date (format: YYYY-MM-DD) |
β Example 1: Insert todayβs date in a cell
Formula
=TODAY()
π Spreadsheet Layout Example
A | B | |
---|---|---|
1 | =TODAY() | |
2 | 2025-08-01 |
β‘οΈ The current date appears automatically in cell A1 and refreshes daily.
β Example 2: Calculate a date 7 days ago
Formula
=TODAY() - 7
π Spreadsheet Layout Example
A | B | |
---|---|---|
1 | =TODAY()-7 | |
2 | 2025-07-25 |
β‘οΈ Automatically shows the date from one week prior.
β Example 3: Days remaining until a future date
Formula
=DATEDIF(TODAY(), DATE(2025, 12, 31), "D")
π Spreadsheet Layout Example
A | B | |
---|---|---|
1 | =DATEDIF(TODAY(), DATE(2025,12,31), “D”) | |
2 | 152 |
β‘οΈ Calculates the number of days left until a specific deadline.
β Example 4: Highlight overdue dates using conditional formatting
Conditional formatting formula
=A1 < TODAY()
π Spreadsheet Layout Example
A | B | |
---|---|---|
1 | 2025-07-30 | |
2 | 2025-08-01 |
β‘οΈ Automatically highlights overdue dates in red or other styles.
πΌ Real-World Scenarios
- Auto-fill attendance sheets
- Auto-record issue/report dates
- Automate expiration calculations
- Use in dynamic templates for daily logs or reports
β Final Thoughts
The TODAY
function is small but powerful.
It saves time, ensures accuracy, and becomes even more useful when combined with IF
, EDATE
, DATEDIF
, or conditional formatting.