ExcelCSE.com

Menu
  • Excel 101
  • Excel Functions
  • Excel Formula
  • Contact Us
How to Use Excel > Excel Functions > Excel WEEKDAY Function

Excel WEEKDAY Function

How to Use Excel WEEKDAY Function
Table of contents :
  • What is the Excel WEEKDAY Function?
  • WEEKDAY Syntax
  • How to Use WEEKDAY Function in Excel
  • WEEKDAY Example

Excel Weekday Function

What is the Excel WEEKDAY Function?

Excel WEEKDAY function returns an integer number between 1-7 representing the day of the week corresponding to a date. By default, WEEKDAY function returns 1 for Sunday and 7 for Saturday.

Usually, the WEEKDAY function is used in other excel formulas to check the day of the week and use the results.

WEEKDAY Syntax

WEEKDAY(serial_number,[return_type])

serial_number, the date for which you are trying to find the day of the week.

return_type, optional, a number that determines the day of the week mapping scheme (see the image below)

Excel WEEKDAY

Note:

  • The serial_number argument must use the date from January 1, 1900, to December 31, 9999 if outside the range return a #VALUE! error.

How to Use WEEKDAY Function in Excel

The image below is an example of using the WEEKDAY function for several dates

Weekday Formula Excel

WEEKDAY Function #1

=WEEKDAY(A2)

July 4, 1776, is American Independence Day. Excel only handle dates from January 1, 1900, to December 31, 9999. That’s why the WEEKDAY function returns a #VALUE! error. By default, Excel unable to know what day American Independence Day happens.

WEEKDAY Function #2

=WEEKDAY(A3)

The WEEKDAY function returns 2, meaning that on Monday America dropped a “Little Boy” an atomic bomb on Hiroshima.

WEEKDAY Function #3

=WEEKDAY(A4)

The WEEKDAY function returns 1.

Neil Armstrong stepped into history by leaving the first human footprint on the moon surface; this happened on Sunday. July 20, 1969, is the date Apollo 11 landed on the moon.

WEEKDAY Function #4

=WEEKDAY(A5)

The WEEKDAY function returns 6.

Richard Nixon resigned on Friday, making him the only president to resign from the position.

WEEKDAY Function #5

=WEEKDAY(A6)

The WEEKDAY function returns 5.

Bill Gates introduced Windows 95 on Thursday. Windows 95 was Microsoft’s first graphical user interface operating system.

WEEKDAY Function #6

=WEEKDAY(A7)

The WEEKDAY function returns 3.

Elon Musk founded TESLA on Tuesday

WEEKDAY Function #7

=WEEKDAY(A8)

The WEEKDAY function returns 4.

Facebook acquired Whatsapp on Wednesday.

The WEEKDAY function only returns a number instead of day names, to returns the day names you can use the excel TEXT function or you can use the excel CHOOSE function for more flexible day names.

WEEKDAY Example

Another article using or explain about WEEKDAY Function
  • Excel CHOOSE Function

Another Date/Time Function

Another article about Date/Time Function
  • Excel WEEKDAY Function
  • Excel TIMEVALUE Function
  • Excel TIME Function
  • Excel HOUR Function
  • Excel MINUTE Function
  • Excel SECOND Function
  • Excel DATE Function
  • Excel YEAR Function
  • Excel MONTH Function
  • Excel DAY Function
Usefull links
  • Microsoft WEEKDAY function documentation
Share
Tweet
Google+
Email
Prev Article
Next Article

Related Articles

How to Use SUM Function in Excel
What is the Excel SUM Function? Excel SUM function is …

Excel SUM Function

Excel AVERAGEA Function
What is the Excel AVERAGEA Function? The excel AVERAGEA function …

Excel AVERAGEA Function

How to Use IF Function in Excel
What is the Excel IF Function? The IF function is …

Excel IF Statement

Excel AVERAGE Function
What is the Excel AVERAGE Function? The Excel AVERAGE function …

Excel AVERAGE Function

Excel YEAR Function
What is the Excel YEAR Function? The Excel YEAR function …

Excel YEAR Function

Tags:Date/Time Function Excel Date Functions Excel Get Weekday From Date Excel Weekday Extract Weekday From Date in Excel How to Use Weekday Function in Excel Weekday Formula Weekday Formula Excel

Categories

  • Excel 101
  • Excel Formula
  • Excel Functions

Recent Posts

  • Get the Original Price from Percentage Increase/Decrease
  • How to Add/Subtract Percentage in Excel
  • How to Extract Day, Month and Year from Date in Excel
  • How to Add Seconds, Minutes and Hours to a Time in Excel
  • How to Add Days, Weeks, Months and Years to a Date in Excel
  • How to Calculate Time Difference in Excel
  • Calculate Number of Days, Weeks, Months and Years Between Two Dates in Excel
  • Flash Fill Excel
  • Paste Special Excel
  • Excel TEXTJOIN Function
  • Excel CONCAT Function
  • Excel CONCATENATE Function
  • Excel REPLACE Function
  • Excel SUBSTITUTE Function
  • Excel REPT Function
  • Excel FIND Function
  • Excel SEARCH Function
  • Excel MID Function
  • Excel RIGHT Function
  • Excel LEFT Function

ExcelCSE.com

The Ultimate Guide How to Use Excel Better
Copyright © 2024 ExcelCSE.com
Contact Us - Privacy Policy - Sitemap | Theme by MyThemeShop.com

Ad Blocker Detected

Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker.

Refresh