How to use WEEKDAY Function in Excel

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.
Syntax:

=WEEKDAY(Serial number, [Return Ttype])
Return Type Result Weekday Start Weekday End
- 1-7 Sunday Saturday
1 1-7 Sunday Saturday
2 1-7 Monday Sunday
3 0-6 Monday Sunday
11 1-7 Monday Sunday
12 1-7 Tuesday Monday
13 1-7 Wednesday Tuesday
14 1-7 Thursday Wednesday
15 1-7 Friday Thursday
16 1-7 Saturday Friday
17 1-7 Sunday Saturday

163
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.
164
Here we have Dates and Return Types as arguments for the Function
Use the Formula in C2 cell

=WEEKDAY(A1,B2)

165
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.
166
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

=TEXT(A2,”dddd”)

167
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.

Related Articles:

Excel TIME function

How to use the NOW Function in Excel

How to Use TODAY Function in Excel

How to use the MONTH Function in Excel

How to Use the YEAR Function in Excel

Popular Articles:

The VLOOKUP Function in Excel

COUNTIF in Excel 2016

How to Use SUMIF Function in Excel

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Terms and Conditions of use

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.

Visit Us On TwitterVisit Us On FacebookVisit Us On Google PlusVisit Us On Youtube