=WEEKDAY(serial_number, [return_type])One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
Need more than a single WEEKDAY 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.
serial_number:
A date value that you want to find the corresponding day of the week for. This can be a date entered directly, a cell reference containing a date, or a formula that returns a date.
return_type:
An optional parameter that specifies the type of return value for the day of the week. It determines how the days are numbered, with different values representing different numbering systems. If omitted, the default value is 1, which means Sunday = 1, Monday = 2, and so on.
The WEEKDAY function in Excel is a useful tool that allows you to determine the day of the week for a given date. It returns a number representing the day of the week, making it easier to analyze and categorize dates based on their corresponding weekdays.
In simpler terms, the WEEKDAY function helps you identify whether a date falls on a weekend, weekday, or any specific day, which can be particularly useful for scheduling and planning.
Imagine you are managing a project timeline, and you have the following data in an Excel spreadsheet:
| Task | Start Date |
|---|---|
| Task 1 | 2023-10-01 |
| Task 2 | 2023-10-02 |
| Task 3 | 2023-10-03 |
| Task 4 | 2023-10-04 |
| Task 5 | 2023-10-05 |
You want to find out which tasks start on a weekend.
To determine the day of the week for each task's start date, you would use the WEEKDAY formula as follows:
=WEEKDAY(B2)When you apply the formula to each start date, it will return a number from 1 to 7, where 1 represents Sunday and 7 represents Saturday. For example:
| Task | Start Date | WEEKDAY Result |
|---|---|---|
| Task 1 | 2023-10-01 | 1 |
| Task 2 | 2023-10-02 | 2 |
| Task 3 | 2023-10-03 | 3 |
| Task 4 | 2023-10-04 | 4 |
| Task 5 | 2023-10-05 | 5 |
Here, Task 1 starts on a Sunday (1), while the other tasks start on weekdays.
The WEEKDAY function is particularly useful when you need to analyze data based on the day of the week. It allows you to quickly identify weekends, weekdays, or specific days, which can aid in scheduling, resource allocation, and project management.
Understanding how to use the WEEKDAY function can significantly enhance your date analysis capabilities in Excel, enabling you to make informed decisions based on the timing of events.
Happy analyzing!
You have a table where Column A contains dates of transactions and Column B contains the corresponding transaction amounts. You can use the WEEKDAY function to determine the day of the week for each transaction date. This allows you to analyze sales patterns based on specific days, helping to identify peak sales days and optimize staffing and inventory management accordingly, without the need for more complex date analysis tools.
Beyond the WEEKDAY 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.