EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Certification Courses
  • 120+ Courses All in One Bundle
  • Login
Home Excel Excel Resources Excel Tips WEEKDAY Formula in Excel
Secondary Sidebar
Excel Functions
  • Excel Tips
    • Recover Document in Excel
    • Excel Shortcut to Select Row
    • Excel Header Row
    • Excel Insert Button
    • Excel Translate
    • Budget in Excel
    • KPI Dashboard in Excel
    • Blank Invoice Excel Template
    • Write Formula in Excel
    • Auditing Tools in Excel
    • Autofit Row Height in Excel
    • Formatting Text in Excel
    • Add Rows in Excel Shortcut
    • Divide Cell in Excel
    • Compare Two Columns in Excel for Matches
    • Excel Troubleshooting
    • Unprotect Excel Workbook
    • Subtract Date in Excel
    • Carriage Return in Excel
    • Negative Numbers in Excel
    • Worksheets in Excel
    • Excel Match Multiple Criteria
    • Exponential Moving Average Formula
    • Sentence Case in Excel
    • Excel Reverse Order
    • Excel Timesheet Template
    • Weighted Average in Excel
    • CTRL Shift-Enter in Excel
    • Excel Expense Tracker
    • INDEX MATCH Function in Excel
    • Percent Change in Excel
    • Drag and Drop in Excel
    • Shade Alternate Rows in Excel
    • Excel Database Template
    • Inverse Matrix in Excel
    • New Line in Excel Cell
    • Format Cells in Excel
    • Excel Text with Formula
    • Project Management Template in Excel
    • Vlookup vs Index Match
    • Embedded in Excel
    • Count Colored Cells in Excel
    • Excel Hacks
    • Column Header in Excel
    • Database Function in Excel
    • Excel Spell Check
    • Linear Interpolation in Excel
    • Convert Excel to CSV
    • Excel Not Responding
    • Delta Symbol in Excel
    • Excel Mortgage Calculator
    • Excel Show Formula
    • Break Links in Excel
    • VLOOKUP Examples in Excel
    • Alternate Row Color Excel
    • Checklist in Excel
    • Microsoft Office Tips
    • Excel vs Access
    • Excel Change Case
    • Count Characters in Excel
    • Formula Bar in Excel
    • Invoice Template in Excel
    • Find and Replace in Excel
    • PowerPivot in Excel
    • Wildcard in Excel
    • Line Break in Excel
    • NULL in Excel
    • Text Formula in Excel
    • Family Tree in Excel
    • Insert Calendar in Excel
    • Page Setup in Excel
    • Search For Text in Excel
    • Switching Columns in Excel
    • 3D Cell Reference in Excel
    • Roadmap Template in Excel
    • Cell References in Excel
    • Excel Automation
    • Matching Columns in Excel
    • Evaluate Formula in Excel
    • How to Find Mean in Excel
    • How to Add Cells in Excel
    • Project Timeline in Excel
    • TODAY Formula in Excel
    • Poisson Distribution in Excel
    • YEAR Formula in Excel
    • REPLACE Formula in Excel
    • Create Spreadsheet in Excel
    • SEARCH Formula in Excel
    • HYPERLINK Formula in Excel
    • Pivot Table with Multiple Sheets
    • COLUMNS Formula in Excel
    • DAY Formula in Excel
    • RIGHT Formula in Excel
    • INDIRECT Formula in Excel
    • Excel IRR Formula
    • Pivot Table Sort
    • OR Formula in Excel
    • Pivot Table Formula in Excel
    • How to Edit Drop Down List in Excel?
    • WEEKDAY Formula in Excel
    • Chart Wizard in Excel
    • Time Difference in Excel
    • Lookup Table in Excel
    • SUBTOTAL Formula in Excel
    • LOOKUP Formula in Excel
    • Themes in Excel
    • Group Worksheets in Excel
    • Excel ISNUMBER Formula
    • 3D Maps in Excel
    • VLOOKUP Tutorial in Excel
    • Moving Columns in Excel
    • Grouping Columns in Excel
    • Excel Formula of Percentage
    • Excel Leading Zeros
    • Timesheet in Excel
    • Nested IF Formula in Excel
    • SUMIF Formula in Excel
    • Concatenation in Excel
    • Excel Insert Page Break
    • LEN Formula in Excel
    • Insert Comment in Excel
    • Excel Print
    • Fractions in Excel
    • Excel Add a Column
    • Borders in Excel
    • Excel Sum by Color
    • Excel vs Google Sheets
    • Calculate Percentage Increase in Excel
    • Excel Format Phone Numbers
    • Excel Search Box
    • Excel vs CSV
    • Excel vs Numbers
    • Excel Concatenate Date
    • Excel Bullet Points
    • Calculate Compound Interest in Excel
    • Find External Links in Excel
    • Excel Comma Style
    • Excel Remove Leading Spaces
    • Combine First and Last Name in Excel
    • How to Calculate Ratio in Excel
    • SUMPRODUCT Function with Multiple Criteria
    • Create Excel Template
    • Excel Greater than or Equal
    • Excel Keyboard Shortcuts
    • Excel Row vs Excel Column
    • Excel Operators
    • Excel Text Compare
    • Excel Uppercase Function
    • Excel Auto Numbering
    • Watermark in Excel
    • Excel Delete Row Shortcut
    • Excel Word Count
    • Row Count in Excel
    • Excel Grade Formula
    • Excel Percentage Difference
    • Excel Rows and Columns
    • Excel Group
    • Excel Move Columns
    • Excel Row Height
    • Excel Sparklines
    • Excel Drawing a line
    • Multiple IFS in Excel
    • Excel Strikethrough
    • Numbering in Excel
    • Share Excel Workbook
    • Excel Shortcut For Merge Cells
    • Excel OneDrive
    • Excel Track changes
    • Excel Hide Formula
    • Excel Filter Shortcuts
    • Excel 3D Reference
    • Protect Excel Workbook
    • Excel Moving Averages
    • Excel Row Limit
    • Excel Absolute Value
    • Excel Print Area
    • Excel Format Painter
    • Excel Separate text
    • Excel Autofit
    • Excel Columns to Rows
    • Excel Paste Shortcut Option
    • Excel Rows to Columns
    • Excel Insert Row Shortcut
    • Excel Extensions
    • Excel Unmerge Cells
    • Divide in Excel Formula
    • Excel Compare Two Columns
    • Not Equal To Excel
    • Excel Remove Duplicates
    • Excel Remove Spaces
    • Excel Calculate Age
    • Copy Excel Sheet
    • Excel Conditional Formatting Based on Another Cell Value
    • Excel Cell Reference
    • Excel Split Cell
    • Excel Circular Reference
    • Highlight Every Other Row in Excel
    • Errors in Excel
    • Excel Delete Pivot Table
    • Excel Pivot Table
    • Subtraction in Excel
    • Count Unique Values in Excel
    • Excel Highlight Duplicates
    • Excel Data Formatting
    • Random Numbers in Excel
    • Basic Excel Formulas
    • Page Numbers in Excel
    • Excel CAGR Formula
    • Excel Combine cells
    • IFERROR with VLOOKUP in Excel
    • Column Sort in Excel
    • Print Comments in Excel
    • Cheat Sheet of Excel Formulas
    • Remove Hyperlinks in Excel
    • Excel Drop Down List
    • Remove (Delete) Blank Rows in Excel
    • Relative Reference in Excel
    • Subscript in Excel
    • Superscript in Excel
    • Excel Insert Multiple Rows
    • Excel Absolute Reference
    • Unhide Columns in Excel
  • Excel Functions (12+)
  • Excel Tools (114+)
  • Financial Functions in Excel (17+)
  • Logical Functions in Excel (14+)
  • Lookup and Reference Functions in Excel (35+)
  • Maths Function in Excel (47+)
  • TEXT and String Functions in Excel (26+)
  • Date and Time Function in Excel (24+)
  • Statistical Functions in Excel (59+)
  • Information Functions in Excel (4+)
  • Excel Charts (56+)
  • Workplace Productivity (4+)
  • Microsoft Office Tools (15+)
  • Excel Formula and Functions (22+)
  • MS Excel Shortcuts (4+)
Excel Functions Courses
  • EXCEL COURSE
  • Online Excel Data Analysis Course
  • Excel for Finance Course

WEEKDAY Formula in Excel

By Arun GuptaArun Gupta

weekday formula in excel

WEEKDAY Formula in Excel (Table of Contents)

  • WEEKDAY Formula in Excel
  • How to Use WEEKDAY Formula in Excel?

WEEKDAY Formula in Excel

  • MS Excel provides several inbuilt functions; one of them is the Weekday Function, which used to return an integer value from 0 to 7 where 0 will return in return_type 3. It will find out the day of the week from the given date by the user. It belongs to the Date/Time function category in excel. By default, it will return 1 for Sunday as the first day of the week and 7 for Saturday. A user can use this weekday function with other excel function to check the day of the week.
  • As an example, if a user is given a date of 22nd May 2019 as input on the weekday, it will return 4 as output because it will take Sunday as the first day of the week.

Syntax of the WEEKDAY Function:

WEEKDAY() – It will return an integer value from 0 to 7, which represents the day of the week. There are two parameters – serial_number and return _type.

WEEKDAY Formula syntax

Start Your Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

The Argument in the Weekday Function:

  • serial_number: It’s is a mandatory parameter from where a user wants to get the day of the week.
  • return_type: It is an optional parameter; if a user didn’t pass any value for this, then by default, it will take 1, and that will be Sunday.

Following are the value for return_type:

  • 1 – for Sunday as 1 and 7 will be Saturday (it is by default)
  • 2 – for Monday as 1 and 7 will be Sunday
  • 3 – for Monday as 0 and 6 will be Sunday
  • 11 – for Monday as 1 and 7 will be Sunday
  • 12- for Tuesday as 1 and 7 will be Monday
  • 13 – for Wednesday as 1 and 7 will be Tuesday
  • 14 – for Thursday as 1 and 7 will be Wednesday
  • 15 – for Friday as 1 and 7 will be Thursday
  • 16 – for Saturday as 1 and 7 will be Saturday
  • 17 – for Sunday as 1 and 7 will be Saturday

How to Use WEEKDAY Formula in Excel?

WEEKDAY Formula in Excel is very simple and easy. Let’s understand how to use the WEEKDAY Formula in Excel with some examples.

You can download this Weekday Excel Formula Template here – Weekday Excel Formula Template

Example 1

A shopkeeper has some products with an Expiry Date 04/04/2019 (MM/DD/YYYY) on them. He wants to get the day of that week. Let’s see how the Weekday function can solve his problem.

Open MS Excel, go to sheet1, where the user wants to display the day of that week.

All in One Excel VBA Bundle(120+ Courses, 30+ Projects)
Basic ExcelAdvanced ExcelVBA & MacrosExcel Dashboards
Pivot TablesStatistical FunctionsFinancial FunctionsCharts & Graphs
Price
View Courses
120+ Online Courses | 30+ Projects | 500+ Hours | Verifiable Certificates | Lifetime Access
4.9 (64,639 ratings)

WEEKDAY Formula in excel example 1-1

Create one Column Header for the Day of the Week to show the function result in the column.

WEEKDAY Formula in excel example 1-2

Click on cell D2 and apply the WEEKDAY Formula.

WEEKDAY Formula in excel example 1-3

Now it will ask for serial_number; select the Expiry Date from where the shopkeeper wants to see the day of the week, which is available in C2.

WEEKDAY Formula in excel example 1-4

Now it will ask for return_type, here the user wants to use by default value, which is 1, or the user can omit this argument.

WEEKDAY Formula in excel example 1-5

Press on the Enter Button and see the result shown below.

WEEKDAY Formula in excel example 1-6

Apply the same formula to the other cell, Drag cells D2 to D13.

WEEKDAY Formula in excel example 1

Summary of Example 1:

As the shopkeeper wants to find out the week from the Expiry_Date by using the Weekday function, we have achieved the output, which is displayed in column E.

Example 2

A company owner has personal details of his employee where Employee name, Home city and Retirement Date (MM/DD/YYYY) is given. He wants to get the day of that week for the Retirement Date.

Let’s see how the Weekday function can solve his problem.

Open MS Excel, go to sheet2 where the user wants to display the day of that week from the Retirement Date.

WEEKDAY Formula example 2-1

Create one Column Header for the Day of the Week to show the function result in column E.

WEEKDAY Formula example 2-2

Click on cell E2 and apply the WEEKDAY Formula.

WEEKDAY Formula example 2-3

Now it will ask for serial_number, select the retirement date from where a company owner wants to see the day of the week, which is available in cell D2.

WEEKDAY Formula example 2-4

Now it will ask for return_type; here, the user wants to use return type 3, which the user can select from the return type pop-up.

WEEKDAY Formula example 2-5

Press on the Enter Button and see the result shown below.

WEEKDAY Formula example 2-6

Apply the same Formula to the other Cell of the E Column and Drag the cells E2 to E13.

WEEKDAY Formula example 2

Summary of Example 2:

As the company owner wants to find out the day of the week from the Retirement Date by using Weekday Formula, we have achieved the output. Here we can see the result is available between o to 6 in the E column.

Example 3

A company owner has personal details of his employee where Employee name, Home city, and Retirement Date is given. He wants to get the day of that week for the Retirement Date in text format.

Let’s see how the Weekday function can solve his problem.

Open MS Excel, go to sheet3 where the user wants to display the day of that week from the Retirement Date.

WEEKDAY example 3-1

Create One Column Header for the Day of the Week to show the function result in Column E.

WEEKDAY example 3-2

Click on cell E2 cell and apply Text Formula.

WEEKDAY example 3-3

Write the Weekday Formula in cell E2.

WEEKDAY example 3-4

Now it will ask for serial_number and the return type.

WEEKDAY example 3-5

Now it will ask for the format of the text formula, so give “DDDD”.

WEEKDAY example 3-6

Press on the Enter Button.

WEEKDAY example 3-7

Apply the same formula to the other cell of the E column; drag the cells E2 to E13.

WEEKDAY example 3

Summary of Example 3:

As the company owner wants to find out the day in the text format, we have achieved by using text and weekday formula together.

Things to Remember About WEEKDAY Formula in Excel

  • The serial_number in the weekday function must be a date value that can be passed with the data function or any other formula that results come as a date.
  • The weekday function will return an integer value from 0 to 7, where 0 will return in return_type 3.
  • By default, it will return 1 for Sunday as the first day of the week and 7 for Saturday. A user can use this weekday function with other excel function to check the day of the week.
  • In MS Excel, data is used to save as sequential serial numbers so they can be used in calculations; for example, 1st January 1900 saved as serial number 1 and 3rd January 2008 saved as serial number 39,450 in the MS Excel.
  • If the return_type is out of range from the return_type range, then it will go through a #NUM!
  • If the serial_number is out of range from the current date base, then it will go through a #NUM!

Recommended Articles

This has been a guide to WEEKDAY Formula in Excel. Here we discuss How to use WEEKDAY Formula in Excel along with practical examples and a downloadable excel template. You can also go through our other suggested articles –

  1. WORKDAY Excel Function
  2. Date Formula in Excel
  3. TODAY Formula in Excel
  4. WEEKDAY Function Excel
Popular Course in this category
Excel Training (23 Courses, 9+ Projects)
  23 Online Courses |  9 Hands-on Projects |  110+ Hours |  Verifiable Certificate of Completion
4.9
Price

View Course

Related Courses

Excel Data Analysis Training (17 Courses, 8+ Projects)4.9
Excel for Finance Training (18 Courses, 7+ Projects)4.8
0 Shares
Share
Tweet
Share
Primary Sidebar
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Excel Charts
  • Excel Tips
  • All Tutorials
Certification Courses
  • All Courses
  • Excel VBA Course - All in One Bundle
  • VBA Course
  • Excel Data Analysis Course
  • Excel for Marketing Course
  • Excel for Finance Course
  • Excel for HR Training

ISO 10004:2018 & ISO 9001:2015 Certified

© 2022 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

Download Weekday Excel Formula Template

EDUCBA

Download Weekday Excel Formula Template

EDUCBA

डाउनलोड Weekday Excel Formula Template

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more