DATE Function in Google Sheets: Formula, Examples & Troubleshooting
Learn the DATE formula in Google Sheets: build a real date from numeric components, with reproducible examples, expected answers and compatibility cautions.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: DATE(year,month,day) builds a numeric Google Sheets date from three numeric components. =DATE(2026,10,11) displays 11 Oct 2026 when date-formatted. The function can normalize an invalid month or day, so a returned date is not proof that the submitted components were valid.
Availability and version history
- Introduced: Introduction version not established by the official history reviewed.
- Availability: Documented in the rolling Google Sheets service; examples use the web spreadsheet workflow.
- Checked: October 14, 2026; official DATE reference. Documentation check, not a new native test; existing example-verification notes retain their scope.
Syntax and input setup
=DATE(year, month, day)
All three arguments are required numbers. Google documents #VALUE! for a string argument or a referenced cell containing a string. Enter the components as numbers rather than assuming a column of numeric-looking text has been converted.
Examples use English function names, comma separators and decimal points. In the Sheets web interface, inspect File → Settings → Locale before comparing punctuation or date displays. The locale setting affects the whole spreadsheet, including other collaborators.
Worked example: construct an ordinary date
=DATE(2026,10,11)
Expected displayed date: 11 Oct 2026. DATE returns a numeric value, not those characters as a text string. A different date format can show the same value as 2026-10-11 without changing the date.
=DATE(2024,2,29)
Expected displayed date: 29 Feb 2024. This second original control uses a valid leap day. Keep both formulas in separate unused cells before substituting imported components.
Normalization is different from validation
Google documents silent month/day rollover and truncation of decimal inputs. These independently calculated controls follow those stated rules:
| Formula | Expected calendar date |
|---|---|
| =DATE(2026,13,5) | 2027-01-05 |
| =DATE(2026,10,32) | 2026-11-01 |
| =DATE(2026,2,29) | 2026-03-01 |
| =DATE(2026,12.75,5.9) | 2026-12-05 |
February 29 is not a valid date in 2026. A March 1 result means the excess day was carried forward, rather than rejected. Decimal truncation also does not establish that the original entry was an intended whole number.
Advanced example: validate a numeric component row
Enter 2026, 2, 29 in A2:C2 and =DATE(A2,B2,C2) in D2. For inputs already established as integers within the documented year range:
=AND(YEAR(D2)=A2,MONTH(D2)=B2,DAY(D2)=C2)
Expected flag: FALSE, because the components of March 1 are 2026, 3 and 1. Changing A2 to 2024 gives February 29 and TRUE.
The comparison validates preservation of the supplied components. It does not catch every type error before DATE is evaluated. Retain original imported values and handle invalid types separately rather than replacing every error with a plausible date.
Advanced example: create a complete monthly interval
=DATE(2026,10,1)
=DATE(2026,11,1)
Expected boundaries are 2026-10-01 and 2026-11-01, 31 days apart. A record date at least the first boundary and strictly before the second belongs to October. The exclusive next-month boundary also leaves room for a timestamp late on the final day.
For December, =DATE(2026,13,1) produces 2027-01-01. The same boundary pattern crosses the year without parsing a slash-formatted text date. Use these numeric boundaries with SUMIFS or COUNTIFS when counting or totaling dated records.
Advanced check: understand a leap-day anniversary rule
With A5 containing =DATE(2024,2,29):
=DATE(YEAR(A5)+1,MONTH(A5),DAY(A5))
The documented normalization model gives 2025-03-01. A policy requiring the last day of February is a different rule and must be stated explicitly. For the ordinary anchor October 11, 2026, the same year-plus-one construction gives October 11, 2027.
Sheets date base, small years and unresolved endpoint
Google documents its base as December 30, 1899, with subsequent days counted numerically. For example, the independent serial for DATE(2026,10,11) is 46306. A number format chooses how that value is displayed.
For numeric year inputs from 0 through 1899, Google adds 1900: =DATE(26,10,11) therefore means 1926-10-11. Use four-digit contemporary years. The source states that years 1900–9999 are used directly and that values below zero or greater than 10000 produce #NUM!. Those two statements do not settle exactly 10000, which remains unverified here.
Do not assume an imported workbook’s historical date serials have identical meaning in another program. The date base is documented, but no complete historical-date or file-conversion matrix was executed.
Related guides and verification
Related guides already published for this function: Microsoft Excel | LibreOffice Calc | Apache OpenOffice Calc | Gnumeric | ONLYOFFICE Spreadsheet Editor
A guide in another program is a separate documented reference, not a guarantee of identical parsing, historical serials or native error displays. Use the function comparison tool to inspect guide coverage.
The complete guide and original examples were reviewed on October 14, 2026 against direct Google documentation. Expected calendar and numeric outputs were independently calculated; no native Google Sheets execution, mobile-client certification or complete input-conversion test was performed.