Enhancing Your Excel Skills with the WEEKDAY Function

In this session, we explore the WEEKDAY function within Excel, which helps identify the exact day of the week for a given date. This function is not only useful for organizing dates but also crucial for data analysis and scheduling. We delve into how to utilize the function, discuss the various return types, and demonstrate its application through practical examples.

What will you learn

  • How to use the WEEKDAY function in Excel.
  • The significance of the "return type" argument in the function.
  • Different ways to configure the WEEKDAY function according to week start preferences.
  • Practical examples of applying the WEEKDAY function to identify days of the week.

Takeaway notes

  • The WEEKDAY function in Excel returns a number corresponding to the day of the week for a given date.
  • Syntax: WEEKDAY(serial_number, [return_type])
  • The serial_number is the date for which you want to find the weekday.
  • The return_type defines the starting day of the week and the numbering system, with multiple options (e.g., 1 for Sunday-start week, 2 for Monday-start week).
  • Understanding the default and custom return types is crucial for accurate day identification.

Practice questions

  1. Write the formula to find the weekday of December 25, 2020, using the default return type.
  2. Modify the formula to find the weekday of December 25, 2020, assuming the week starts on Monday.
  3. Using the WEEKDAY function, determine the weekday for July 4, 2021, and use a return type where the week starts from Wednesday.
  4. Explain what the following formula would return: =WEEKDAY("2021-10-10", 1)
  5. If a user wants the week to start on Tuesday, what return type value should they use in the WEEKDAY function?
  6. Create an Excel formula using WEEKDAY to determine if a given date (cell A1) falls on a weekend.
  7. Using the WEEKDAY function, generate a list of weekdays from a series of dates in column A.
  8. Explain how you would adjust the WEEKDAY function to return a value where 0 corresponds to Monday.
  9. Find out the weekday number for March 15, 2022, when the week starts on Saturday.
  10. If today is a Saturday, what number will the WEEKDAY function return with the default setting?
  11. Write a formula to use the WEEKDAY function to find out the day of the week for the last day of the current year.
  12. Use a combination of WEEKDAY and TEXT functions to return the name of the weekday for a date in cell B5.
  13. Explain the difference in output between WEEKDAY(DATE(2021, 5, 17), 1) and WEEKDAY(DATE(2021, 5, 17), 2).
  14. How would you use WEEKDAY in conjunction with conditional formatting to highlight all Mondays in a date column?
  15. Create a formula to check if the first day of the next month is a Sunday.

Mark Lesson Complete (Enhancing Your Excel Skills with the WEEKDAY Function)