DAY(date)One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
date:
The date from which you want to extract the day. This can be a date value, a cell reference containing a date, or a formula that returns a date.
The DAY function in Google Sheets is a simple yet essential tool used to extract the day of the month from a given date. This function returns an integer value representing the day, which can be particularly useful for data analysis, reporting, and organizing information based on specific days.
In simpler terms, the DAY function allows you to pull out the day component from a date, making it easier to work with dates in your spreadsheets.
Imagine you are managing a project timeline with various deadlines stored in a Google Sheets document:
| Task | Deadline |
|---|---|
| Task A | 2023-10-01 |
| Task B | 2023-10-15 |
| Task C | 2023-10-20 |
You want to extract the day of the month for each deadline to analyze the tasks due on specific days.
To achieve this, you would use the DAY function as follows:
=DAY(B2)In this formula:
B2 is the cell containing the Deadline date from the Project Deadlines Table.When you apply the DAY formula to the Deadline column, the output would look like this:
| Task | Deadline | Day |
|---|---|---|
| Task A | 2023-10-01 | 1 |
| Task B | 2023-10-15 | 15 |
| Task C | 2023-10-20 | 20 |
As you can see, the DAY function extracts the day of the month from each deadline date, allowing for easy reference and analysis.
The DAY function is beneficial because it simplifies the process of working with dates in Google Sheets. It allows you to quickly isolate the day component, which can be useful for sorting, filtering, and performing calculations based on specific days.
The DAY function is an essential tool for anyone working with dates in Google Sheets, providing a quick and efficient way to enhance data analysis and reporting capabilities.
Happy spreadsheeting!
You have a table with dates in Column A and sales figures in Column B. Use the DAY formula to extract the day from each date in Column A, allowing you to analyze daily sales trends and easily summarize performance by specific days of the month.
Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.
Browse our complete library of Google Sheets 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.