=DATE(year, month, day)One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
Need more than a single DATE formula? Try our free AI for Excel — it reads your entire spreadsheet, answers questions in plain English, and builds charts and analysis in the same chat.
year:
A number representing the year of the date you want to create. It can be a four-digit number (e.g., 2023) or a two-digit number (e.g., 23 for the year 2023).
month:
A number representing the month of the date you want to create. It can be an integer from 1 (January) to 12 (December). If the month is greater than 12, Excel will adjust the year accordingly.
day:
A number representing the day of the month for the date you want to create. It can be an integer from 1 to 31, depending on the month and year specified.
The DATE function in Excel is a useful tool that allows you to create a date value from individual year, month, and day components. It helps in constructing dates that can be used in calculations, comparisons, and data analysis.
In simpler terms, the DATE function enables you to combine separate year, month, and day values into a single date format, making it easier to work with dates in your spreadsheets.
Imagine you are managing a project timeline, and you have the following data in an Excel spreadsheet:
| Task | Year | Month | Day |
|---|---|---|---|
| Task A | 2023 | 10 | 15 |
| Task B | 2023 | 11 | 20 |
| Task C | 2024 | 1 | 5 |
| Task D | 2024 | 2 | 10 |
You want to create a complete date for each task based on the year, month, and day provided.
To create a date for Task A, you would use the DATE formula as follows:
=DATE(B2, C2, D2)When you apply the formula, it combines the year, month, and day for Task A into a single date value. The output would be:
| Task A Date |
|---|
| 15/10/2023 |
Here, the date is constructed as October 15, 2023.
The DATE function is particularly useful when you need to create date values from separate components, especially when dealing with data imports or when your date information is not in a standard format. It allows you to ensure that your dates are valid and can be used for further calculations.
Understanding how to use the DATE function can significantly enhance your ability to manage and analyze date-related data in Excel, enabling you to keep your projects on track.
Happy date creating!
You have a table where Column A contains order dates and Column B contains the corresponding order amounts. You can use the DATE function to create a specific date for comparison, allowing you to filter or analyze sales data within a certain timeframe. This helps in tracking sales performance over specific periods, such as monthly or quarterly reviews, without the need for complex date calculations.
Beyond the DATE function: Better Analyst is a full Excel AI that goes well past individual formulas. Upload any spreadsheet and ask questions in plain English — you'll get formulas, data analysis, and charts back in seconds. It's a free AI Excel assistant that works with any .xlsx, .xls, or .csv file — no plugins, no Microsoft 365 required.
Don't have a spreadsheet yet? Use our free AI spreadsheet generator to turn a text prompt into a downloadable Excel file — a full AI Excel sheet maker that builds headers, columns, and formulas from your description.
Create a free account for formula help, explanations, and spreadsheet analysis. Usage limits depend on your plan.
Browse our complete library of Excel formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.