Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Do Weekdays in Excel: A Step-by-Step Guide

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To get the weekday from a date in Excel, use the WEEKDAY function (returns a number from 1 to 7) or the TEXT function with a format code like "dddd" to return the day name. For example, =WEEKDAY(A1) gives 1 for Sunday by default, and =TEXT(A1,"dddd") gives "Sunday". If you need to calculate a future or past weekday, use WORKDAY or WORKDAY.INTL. This guide walks through each method, plus common pitfalls and troubleshooting.

What You'll Need

  • Microsoft Excel (any recent version; the functions work in Excel for Microsoft 365, Excel 2019, 2021, and Excel for Mac).
  • A worksheet with at least one date value (or a cell where you will type a date).
  • Basic familiarity with entering formulas (starting with =).

Step-by-Step

  1. Enter a date in a cell. Click cell A1 and type a date, for example 5/15/2025, then press Enter. Excel may format it as a date automatically. If it shows as text, re-enter using a recognized date format (e.g., 2025-05-15).
  2. Get the weekday number with WEEKDAY. In cell B1, type =WEEKDAY(A1) and press Enter. The result is 1 (Sunday) through 7 (Saturday). To make Monday = 1, use =WEEKDAY(A1,2). The second argument (return_type) controls the numbering: 1 or omitted = Sunday=1; 2 = Monday=1; 3 = Monday=0. Check Excel's documentation for other return types.
  3. Get the weekday name with TEXT. In cell C1, type =TEXT(A1,"dddd") to get the full name (e.g., "Thursday"). Use "ddd" for the abbreviated name ("Thu"). This works regardless of your system's long date settings.
  4. Fill the formula down. If you have a list of dates in column A, select B1 (or C1), grab the fill handle (small square at the bottom-right of the cell), and drag down to apply the formula to the other rows. Alternatively, double-click the fill handle to auto-fill down to the last adjacent row.
  5. Calculate a future weekday with WORKDAY. To find the date that is a certain number of workdays from a start date, use =WORKDAY(start_date, days, [holidays]). For example, =WORKDAY(A1,10) returns the date 10 workdays after A1, excluding weekends (Saturday and Sunday). Add a range of holiday dates as the third argument to skip them too.
  6. Use WORKDAY.INTL for custom weekends. If your weekend is not Saturday/Sunday, use =WORKDAY.INTL(start_date, days, [weekend], [holidays]). The weekend argument is a number or string code: 1 = Saturday/Sunday (default), 2 = Sunday/Monday, 7 = Friday/Saturday, 11 = Sunday only, and so on. For example, =WORKDAY.INTL(A1,5,7) counts workdays with a Friday/Saturday weekend.
  7. Find the weekday of a date without a function (optional). You can also format a date cell to show the day name: select the cell, press Ctrl+1 (or Cmd+1 on Mac), go to the Number tab, choose Custom, and type dddd in the Type box. This changes only the display, not the underlying value.

Note: Menu labels and dialog wording can differ slightly between Excel versions, platforms (Windows, Mac, web), and regions.

Common Mistakes

  • Dates stored as text. If WEEKDAY returns #VALUE!, the cell likely contains text that looks like a date. Re-enter the date or use DATEVALUE to convert it. Check alignment: text is left-aligned by default, dates are right-aligned.
  • Wrong return_type. Forgetting the second argument in WEEKDAY gives Sunday=1. If you expect Monday=1, add ,2.
  • Using TEXT with the wrong format code. "dddd" gives the full name, "ddd" the short name. "dd" gives the day number (01–31), not the weekday.
  • Assuming WORKDAY includes the start date. WORKDAY does not count the start date; it returns the date after the specified number of workdays. Also, it excludes weekends by default but not holidays unless you supply them.
  • Forgetting to lock references. When filling formulas down or across, use absolute references (e.g., $A$1) for fixed dates like holidays, or you may get incorrect results.

Tips

  • Use =WEEKDAY(A1,2) to align with common business reporting where Monday is day 1.
  • Combine TEXT with other text using &, e.g., ="Today is "&TEXT(TODAY(),"dddd").
  • For a list of holidays, put them in a separate range (e.g., F1:F10) and reference that range as the third argument in WORKDAY or WORKDAY.INTL.
  • To highlight weekends, use conditional formatting with a formula like =WEEKDAY(A1,2)>5.
  • Remember that Excel's date system starts on January 1, 1900 (or 1904 on Mac by default), which affects date calculations.

Troubleshooting

  • #VALUE! error: The date argument is not a valid date. Check for text, extra spaces, or a wrong cell reference.
  • #NUM! error: The return_type in WEEKDAY is out of range, or the weekend code in WORKDAY.INTL is invalid. Use a valid number (1, 2, 3, 11–17) or string code.
  • Formula returns a serial number instead of a date: The cell formatting is set to General or Number. Select the cell, press Ctrl+1, and choose Date format.
  • WORKDAY returns a weekend date: Ensure your holidays range does not include weekends, and that the weekend argument matches your actual weekend days.
  • Formulas not updating: Check that calculation is set to Automatic (Formulas > Calculation Options > Automatic). If set to Manual, press F9 to recalculate.

Frequently Asked Questions

How do I get the weekday name from a date in Excel?

Use =TEXT(A1,"dddd") for the full name or =TEXT(A1,"ddd") for the abbreviated name.

What is the difference between WEEKDAY and WORKDAY?

WEEKDAY returns the day of the week as a number for a given date. WORKDAY returns a date that is a specified number of workdays away from a start date, excluding weekends and optionally holidays.

Can I customize which days are considered weekends?

Yes, use WORKDAY.INTL with the weekend argument. For example, =WORKDAY.INTL(A1,5,7) treats Friday and Saturday as the weekend.

Why does WEEKDAY return 1 for Sunday?

By default, WEEKDAY uses return_type 1, where Sunday is 1 and Saturday is 7. To change the starting day, use the second argument (e.g., 2 for Monday=1).

How do I exclude holidays in WORKDAY?

Add a range of holiday dates as the third argument: =WORKDAY(A1,10,F1:F10).

Can I use these functions in Excel for Mac?

Yes, WEEKDAY, TEXT, WORKDAY, and WORKDAY.INTL are available in Excel for Mac (version 2011 and later). The interface for entering formulas is the same.