In this article, we will learn about how to use WEEKDAY function in Excel to get the weekday of the week from the date.
WEEKDAY function takes a date as an argument and return number corresponding to the weekday.
|Return Type||Result||Weekday Start||Weekday End|
Note: the WEEKDAY function will return a value even when the date is empty. Take care to trap this result if blank dates are possible.
Let’s understand this function using it an example.
Here we have Dates and Return Types as arguments for the Function
Use the Formula in C2 cell
The formula returned 3. Tuesday is for 3 when return type is 1 i.e. Sunday – Saturday
Copy the formula in other cells using Shortcutkey Ctrl + D.
Weekday number 1 when the return type is 3. The number represent Tuesday.
Weekday number 6 when the return type is 14. The number represent Tuesday.
Now If you wish to get the name of the weekday using TEXT function.
Use the Formula
Here TEXT function returns the weekday name.
Hope you understood how to use WEEKDAY function in Excel. Explore more articles on Excel Date & Time function here. Please feel free to state your query or feedback for the above article.
How to use the NOW Function in Excel
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.