How to Use the WEEKDAY Function in Excel (video in khmer)
Learn how to get the day number from a date in Excel using WEEKDAY formula step by step with easy examples.
Hello everyone! Today i will show you how to use WEEKDAY formula in Microsoft Excel step by step.

If you have date in your spreadsheet (example: 2026-09-04) and you want to know what day number of week it is (1 for Sunday, 2 for Monday, etc.), the WEEKDAY formula help you very fast and easy!
📚 Related Tutorial: Want to extract day, month, and year separately? Check out How to Use DAY, MONTH, and YEAR in Excel!
🛠️ Formula Syntax
=WEEKDAY(serial_number, [return_type])
serial_number: The date cell you want to check (example:A2).return_type(Optional):1(Default): Sunday = 1, Monday = 2 ... Saturday = 72: Monday = 1, Tuesday = 2 ... Sunday = 73: Monday = 0, Tuesday = 1 ... Sunday = 6
📊 Simple Example
If cell A2 contain date 2026-09-04 (which is Friday):
=WEEKDAY(A2, 1)
- Result:
6(because Friday is day 6 when Sunday is 1)
=WEEKDAY(A2, 2)
- Result:
5(because Friday is day 5 when Monday is 1)
💡 Pro Tips for WEEKDAY Formula
- Get Day Name Text (Monday, Tuesday): If you don't want number and want day name text instead, use
=TEXT(A2, "dddd")(example:"Friday"). - Check Weekend or Workday: You can combine
WEEKDAYwithIFto check if date is weekend!=IF(WEEKDAY(A2, 2) > 5, "Weekend", "Workday") - Fix Error
#VALUE!: If formula return#VALUE!error, check if your date cell is stored as text. Convert cell format to Short Date first.
📚 Related Tutorials
Related Tutorials
Opens in new tab ↗How to Use the WEEKNUM Function in Excel (video in khmer)
Learn how to get the week number of the year from a date in Excel using WEEKNUM formula step by step with simple examples.
How to Use the VALUE Function in Excel (video in khmer) + Tips
Learn how to convert text numbers to real numbers in Excel using VALUE formula step by step with easy examples.
How to Use the NUMBERVALUE Formula in Excel (video in khmer) + Tips
Learn how to convert text numbers to real numbers in Excel using NUMBERVALUE formula step by step with easy examples.