Pinterest Pixel

How to Use Day of Week Formula in Excel

John Michaloudis
The WEEKDAY function can be used to find the specific day of the week for a particular date.
This formula is useful for converting a date into a text string representing the desired day name.

In this article, you will understand how to return the day of the week in Excel.
  • The WEEKDAY function returns a number that represents the day of the week.
  • It treats 1 as Sunday and 7 as Saturday.
  • The TEXT function is used to convert date into the name of the day.
  • Customize day abbreviation using the CHOOSE and WEEKDAY functions.
  • WEEKDAY function is useful in scheduling tasks and filtering weekends.

 

How to Get Day of the Week in Excel

WEEKDAY Function

The WEEKDAY Function is a nifty tool in Excel’s DATE and TIME suite that makes it a breeze to determine the day of week for any given date. What does it do? =WEEKDAY(A2)

Day of Week Formula in Excel

It returns an integer from 1 to 7 that corresponds to a day of week, starting with Sunday. By default, 1 would represent Sunday and 7 would stand for Saturday.

This little function is incredibly handy when it comes to planning, scheduling, or conducting any form of date-related analysis. Whether it’s to identify the busiest weekday to staff your store or to filter out weekends while tracking working days, the WEEKDAY function has got you covered.

Displaying Day Names

You can use the TEXT function to change dates to a day in Excel. The formula will be:

=TEXT(A2. “dddd”)

This will quickly convert the date to the day name.

For example, 23rd June 2024 will return the day name as Sunday.

Day of Week Formula in Excel

You can also use the second argument of the formula as “dd”, to get the abbreviated version of the day name.

=TEXT(A2, “ddd”)

For this formula, Excel will return the value as Sun.

Customize Abbreviations

To get the day name in a abbrevauted form with just two letters, you can use this formula:

=CHOOSE(WEEKDAY(A2), "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa")

Day of Week Formula in Excel

 

Advanced Weekend Analysis Techniques

Identify and Highlight Weekends

Visual cues in Excel can be a real timesaver, and what better way to spot weekends at a glance? You can use conditional formatting combined with the mighty WEEKDAY function to make weekends stand out.

Here’s a bit of Excel magic: by defining a rule with the formula =WEEKDAY($A2, 2)<6 for workdays or =WEEKDAY($A2, 2)<5 for weekends, you’ve essentially created a visual indicator. Apply color to these formatted cells, and voilà, your weekend dates are now distinguishable with ease.

Day of Week Formula in Excel

This particularly shines when juggling project timelines, planning social media content, or managing staffing rotas. Instantly, with colors popping out at you, there’s no mistaking which dates fall on those precious Saturdays and Sundays.

Counting Weekends and Workdays

It is important to know how many workdays you have when working on projects. You can use the SUM and WEEKDAY function to count the number of weekends and workdays in Excel.

Use this formula ot get the number of workdays:

Day of Week Formula in Excel

Use this formula ot get the number of weekends:

Day of Week Formula in Excel

 

Troubleshoot Errors

  • A #NUM! error is usually displayed when the return type argument is outside the permistted range of 1 to 3 or 11 to 17.

Day of Week Formula in Excel

  • A #VALUE! error is displayed when a non numeric data is entered as the date argument.

Encountering a #VALUE! error? This likely indicates a non-numeric value where a numeric one is expected or a date that’s outside of Excel’s acceptable range (January 1, 1900, to December 31, 9999 in the Gregorian calendar).

Day of Week Formula in Excel

  • #VALUE! error can also be displayed when the date entered is outside the acceptable range i.e. January 1, 1900, to December 31, 9999 in the Gregorian calendar.

Tips & Tricks

  • Use the DATE function to enter a date instead of typing it manually.

Day of Week Formula in Excel

  • Check the date format setting on your computer. If the date format in your region is DD/MM/YYYY and you are entering the date in MM/DD/YYYY format, the calculations will be incorrect.
  • Use the DATEVALUE formula to convert text to date in Excel.

 

FAQs

Is there a formula for day of week in Excel?

Yes, you can use the WEEKDAY formula to get the day of the week for a particular date. It will return a number 1 if the value is Sunday and 7 if the value is Saturday.

How to find the day of the week in Excel?

You can use the  TEXT function to find the day of the week in Excel.

=TEXT(date, “dddd”)

How to use the weekday formula in Excel?

To use the WEEKDAY formula in Excel, follow the steps below:

  • Click on the cell.
  • Type the formula: =WEEKDAY(
  • Enter the cell that contains the date: =WEEKDAY(A1)
  • Press Enter

Excel will display the day of the week as a number. This formula treats 1 as Sunday and 7 as Saturday by default.

If you like this Excel tip, please share it


Founder & Chief Inspirational Officer

at

John Michaloudis is a former accountant and finance analyst at General Electric, a Microsoft MVP since 2020, an Amazon #1 bestselling author of 4 Microsoft Excel books and teacher of Microsoft Excel & Office over at his flagship MyExcelOnline Academy Online Course.

See also  How to Calculate How Many Months Between Two Dates in Excel

Star 30 Days - Full Access Star

One Dollar Trial

$1 Trial for 30 days!

Access for $1

Cancel Anytime

One Dollar Trial
  • Get FULL ACCESS to all our Excel & Office courses, bonuses, and support for just USD $1 today! Enjoy 30 days of learning and expert help.
  • You can CANCEL ANYTIME — no strings attached! Even if it’s on day 29, you won’t be charged again.
  • You'll get to keep all our downloadable Excel E-Books, Workbooks, Templates, and Cheat Sheets - yours to enjoy FOREVER!
  • Practice Workbooks
  • Certificates of Completion
  • 5 Amazing Bonuses
Satisfaction Guaranteed
Accepted paymend methods
Secure checkout

Get Video Training

Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

Dramatically Reduce Repetition, Stress, and Overtime!
Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

Learn in as little as 5 minutes a day or on your schedule.

Learn More!

Share to...