Sheets Formula for Today's Date
In this article
You can instantly insert today’s date into any cell in Google Sheets using the TODAY function, which automatically updates every time you open or refresh the spreadsheet. This function requires no installation or external add-ons; it is built directly into the application. To use it, simply select a cell and type =TODAY() and press Enter. The cell will display the current date, and if you change the number format of that cell, you can display it as a number, month name, or full date string.
What You'll Need
- A computer or mobile device with a web browser (Google Chrome, Safari, Firefox, Edge) to access Google Sheets.
- A Google account to create or open a spreadsheet.
- A keyboard to type the formula or a mobile keyboard with number and punctuation support.
- A stable internet connection for the formula to calculate and update correctly.
Step-by-Step
- Open the Spreadsheet: Navigate to sheets.google.com and open the existing document or create a new blank spreadsheet. Ensure you are logged in to your Google account.
- Select the Target Cell: Click on any empty cell where you want the current date to appear. This cell acts as the display area for the result.
- Start the Formula: Type the equal sign (
=) into the selected cell. This tells the system that you are entering a formula rather than plain text. - Enter the Function Name: Immediately after the equal sign, type the word TODAY. The function name is case-insensitive, so typing
tOdAyalso works. The cell text will change color to match the rest of your formula. - Open Parentheses: Type an opening parenthesis (
() after the function name. The formula should now look like=TODAY(. - Close Parentheses: Type a closing parenthesis (
)and press the Enter key on your keyboard. Alternatively, you can tap the checkmark or tick icon on the mobile interface. - Verify the Result: The cell will now display the current date (e.g., 11/20/2023 or 20-Nov-2023 depending on your locale settings). If the cell shows a number (like 45234) instead of a date, you need to format the cell.
- Format the Date (Optional): To change how the date looks, select the cell with the date. Go to the top menu and click Format > Number. Choose Date, Short date, Long date, or Custom date and time from the dropdown menu. This allows you to display it as Nov 20, 2023 or Sunday, November 20, 2023.
Common Mistakes
One of the most common errors is simply typing the word TODAY without the equal sign (=). If you type TODAY() into a cell, Google Sheets will treat it as plain text and will not calculate it as a date. The cell will simply display the letters. To fix this, you must place the equal sign at the very beginning of the text.
Another frequent issue arises from the initial display of a serial number rather than a readable date. Google Sheets stores dates internally as serial numbers (where 1 represents Jan 1, 1900). If your cell is formatted as Number or General, you will see a long integer like 45234. This is not a mistake in the data; it is a display issue. You must apply a Date format to see the actual calendar date.
Users often try to type the date manually (e.g., typing 11/20/2023) hoping the sheet will recognize it, but functions like TODAY or NOW are strictly dynamic. They will not update if you type a static date into the cell; you must use the function to get the live date.
Tips
To make the date more useful, you can combine the TODAY function with other functions to perform calculations. For example, if you have a column of "Due Dates" and you want to highlight cells that are overdue, you can use conditional formatting. However, a simple formula to calculate the number of days remaining can be written as =DueDate - TODAY(). This will return a negative number if the date is in the past and a positive number if it is in the future.
Keep in mind that the TODAY function updates automatically every time you open the spreadsheet or when you make a change to any cell in the document. If you are collaborating with others, the date will update for everyone when the file is refreshed. This feature is excellent for tracking time-sensitive data, but be aware that it means the value in the cell is not static; it will change tomorrow to reflect the new date.
Troubleshooting
If the =TODAY() formula returns a #NAME? error, it usually means that the function name was misspelled. Double-check that you have typed TODAY exactly and that the opening parenthesis ( is present. The error might also occur if you are using a very old or corrupted version of the spreadsheet file that does not support standard Google Sheets functions.
If the cell displays a number instead of a date, refer back to the formatting step. Ensure you have not accidentally formatted the cell as Number or Text. Select the cell again, go to Format > Number, and choose Date. If the date still shows as a number, you can right-click the cell, select Format cells, and manually choose the Date category from the menu.
Finally, if the date does not seem to update when you expect it to, check your computer's system clock. Google Sheets relies on the system time of the device or browser to determine the current date. If your computer is set to the wrong time or the automatic time sync is disabled, the spreadsheet will display an incorrect date. Ensure your operating system is set to automatically adjust for daylight saving time and that the time zone is correct.
Frequently Asked Questions
Does the TODAY function work in offline mode?
No, the TODAY function requires an internet connection to function. It pulls the current date from the server. If you are working in offline mode, the function will return the error #ERROR! until you reconnect to the internet and refresh the spreadsheet.
Can I lock the date so it doesn't change tomorrow?
Yes, you can convert the dynamic date into a static value. Once the date appears in the cell, you can copy the cell and paste it back into the same cell using Paste special > Values only. This will replace the formula with the text of the date, which will no longer update.
Why do I see a different date than my colleague?
Dates are typically formatted based on your computer's regional settings (locale). If you are in the United States, you will likely see MM/DD/YYYY, while users in the UK or Europe might see DD/MM/YYYY. The underlying data is the same, but the visual representation differs. You can change the format in the top menu under Format > Number to match your preference.
How do I calculate a date 30 days from today?
You can use the EOMONTH function combined with TODAY to find the end of the month, or the addition operator. For a simple addition, you can use =TODAY() + 30. This adds 30 days to the serial number of today's date.
What is the difference between TODAY and NOW?
The TODAY function returns only the current date without the time. The NOW function returns both the current date and the current time. Both functions update every time the spreadsheet is refreshed.