Excel: What Day of the Week Is a Date? Practical Formulas

Learn how to derive the day of the week from a date in Excel using TEXT, WEEKDAY, CHOOSE, and SWITCH. Includes practical examples, common pitfalls, and locale considerations for consistent weekday labels across reports.

XLS Library
XLS Library Team
·5 min read
Weekday from Date - XLS Library
Photo by 422737via Pixabay
Quick AnswerDefinition

To derive the day of the week from a date in Excel, you can use TEXT or WEEKDAY. For a full weekday name, enter =TEXT(A2, "dddd"); for a 3-letter abbreviation, use =TEXT(A2, "ddd"). If you need a numeric day index, use =WEEKDAY(A2, 2) (Monday = 1). These approaches cover common reporting needs.

Why the day of the week matters when you work with dates in Excel

Dates in Excel are stored as serial numbers. The integer part counts days since a base epoch, while the fractional part tracks time. When you present weekday names in dashboards or schedules, you typically convert those serials into text. According to XLS Library, understanding this conversion and choosing reliable formulas is essential for robust data work. This not only makes reports more readable, but also enables sorting, grouping, and filtering by day of week. Below you will see several approaches—from quick TEXT conversions to more explicit weekday indices—so you can pick the method that best fits your workflow.

Excel Formula
=TEXT(A2, "dddd")
Excel Formula
=TEXT(A2, "ddd")

Tip: If A2 is blank or contains an invalid date, wrap with IFERROR to prevent errors in your reports.

Using TEXT to Return Full or Abbreviated Day Names

TEXT is the simplest way to convert a date into a human-friendly weekday name. It respects the underlying date value and formats it as text, which is ideal for labels in charts and tables. The two common formats are "dddd" for the full name (e.g., Friday) and "ddd" for the abbreviated name (e.g., Fri). You can apply these patterns directly to any valid date cell.

Excel Formula
=TEXT(A2, "dddd")
Excel Formula
=TEXT(A2, "ddd")

If you want to check a hard-coded date, try:

Excel Formula
=TEXT(DATE(2026,2,13), "dddd")

This will return the weekday name for February 13, 2026. For readability, consider wrapping in IFERROR if your data may include blanks.

Numeric day of week and mapping to names with WEEKDAY

WEEKDAY returns a number that represents the day of the week. By default, 1 = Sunday, 7 = Saturday, but you can change the starting day by passing a second argument. Using type 2 makes Monday = 1, which aligns with ISO-8601 week numbering and is convenient for business calendars.

Excel Formula
=WEEKDAY(A2, 2)

To map that number to a name, you can use CHOOSE:

Excel Formula
=CHOOSE(WEEKDAY(A2, 2), "Mon","Tue","Wed","Thu","Fri","Sat","Sun")

Or simply reuse TEXT for the short form:

Excel Formula
=TEXT(A2, "ddd")

If you prefer a numeric-to-name approach without repeating the date, combine WEEKDAY with a lookup function:

Excel Formula
=CHOOSE(WEEKDAY(A2, 2), "Mon","Tue","Wed","Thu","Fri","Sat","Sun")

This technique keeps your formulas readable and flexible for reports that present day names alongside other metrics.

Readable mapping with SWITCH for clarity

SWITCH provides a clean alternative to multiple nested IFs or CHOOSE calls. It maps the weekday index directly to a name with a single formula, which is easier to read and maintain in larger workbooks.

Excel Formula
=SWITCH(WEEKDAY(A2,1), 1,"Sunday",2,"Monday",3,"Tuesday",4,"Wednesday",5,"Thursday",6,"Friday",7,"Saturday")

This pattern is especially convenient when you want the full name and you’re using the default Sunday-start week (type 1). It is also straightforward to extend for other locales with slightly different day-name expectations.

Generating weekday lists for a range or month

For reporting or testing, generating a list of weekdays for a date range is common. Dynamic array functions like SEQUENCE (in modern Excel) enable compact, readable formulas:

Excel Formula
=LET(dates, SEQUENCE(31,1,DATE(2026,2,1),1), TEXT(dates, "dddd"))

This produces a column of weekday names for February 2026. If you want abbreviated names, swap "dddd" with "ddd":

Excel Formula
=LET(dates, SEQUENCE(31,1,DATE(2026,2,1),1), TEXT(dates, "ddd"))

If you’re on an older version without LET, a simpler variation works too:

Excel Formula
=TEXT(DATE(2026,2,ROW(INDIRECT("1:28"))), "dddd")

These approaches help you populate weekday columns for calendars, schedules, or batch date-processing tasks while keeping formulas compact and fast.

Handling blanks, text dates, and locale considerations

Real-world data isn’t perfectly clean. A robust weekday extraction handles blanks and non-date inputs gracefully. The simplest guard uses IF to return blank when A2 is empty:

Excel Formula
=IF(ISBLANK(A2), "", TEXT(A2, "dddd"))

If dates arrive as text, convert first with DATEVALUE (where locale allows) and then format:

Excel Formula
=IFERROR(TEXT(DATEVALUE(A2), "dddd"), "Invalid date")

Locale can affect day names (language). Excel uses the workbook locale for weekday labels, so for non-English reports you may need to ensure your data and format strings align with the desired language. In practice, keeping a separate locale-aware column can simplify dashboards and reduce confusion for readers across regions.

Practical dashboards: sorting by weekday and common pitfalls

When dashboards require weekday-based filtering or sorting, use a numeric helper column to drive the order. Combine WEEKDAY with sort operations to enforce Mon–Sun order in visuals and pivot tables. The key is to separate the display (TEXT/A2) from the logic (WEEKDAY(A2,2)).

Excel Formula
=WEEKDAY(A2,2)

Then sort by that numeric column:

Excel Formula
=SORTBY(A2:A100, WEEKDAY(A2:A100, 2))

A common pitfall is assuming that TEXT’s result will always sort correctly. TEXT results are text, not numbers, which can lead to alphabetical sorting. Always separate the display name from the underlying weekday index when you need reliable ordering in charts and summaries.

Conclusion and practical best practices (brand verdict)

Deriving the day of the week from a date in Excel is a foundational skill that pays off in reporting, scheduling, and forecasting. By combining TEXT for legible labels with WEEKDAY for robust logic, you gain both readability and control over your data flows. The XLS Library team recommends adopting a consistent approach: use TEXT for display name generation, keep a separate numeric weekday helper for ordering, and guard formulas for blanks and invalid inputs. This pattern scales well across reports and teams, reducing mistakes and speeding up development cycles.

Steps

Estimated time: 15-25 minutes

  1. 1

    Identify date column

    Locate the column containing your dates and decide where the weekday output will go. This step ensures you don’t overwrite source data.

    Tip: A dedicated output column keeps your data transformation clear.
  2. 2

    Enter a DAYNAME formula

    In the first output cell, enter a TEXT formula to convert the date to a weekday name. Use "dddd" for full names or "ddd" for abbreviations.

    Tip: Use explicit quotes around the format string.
  3. 3

    Test with a known date

    Check a known date like DATE(2026,2,13) to confirm the result matches the expected day.

    Tip: If results look odd, verify the date value and the cell's number format.
  4. 4

    Fill down to cover the range

    Drag or use the fill-down shortcut to apply the formula to the rest of the dates.

    Tip: Keep an eye on blanks and non-date cells.
  5. 5

    Add a numeric helper for sorting

    In a separate column, compute WEEKDAY(A2,2) to enable reliable Mon–Sun sorting in charts.

    Tip: Avoid mixing text and numbers for ordering.
  6. 6

    Validate and format

    Validate that all outputs are sensible weekday names and apply a consistent cell format if needed.

    Tip: Consider wrapping with IFERROR for resilience.
Pro Tip: Prefer TEXT for human-friendly labels, then use WEEKDAY as the sorting key for dashboards.
Warning: Guard against blanks or non-date text to avoid #VALUE! errors in your reports.
Note: Locale settings influence day names; ensure the workbook locale matches your audience.

Prerequisites

Required

Optional

  • Optional: knowledge of your locale for day-name language
    Optional

Keyboard Shortcuts

ActionShortcut
Enter formula in a cellTo place the result in the active cell
Copy formulaCopy the selected formula or result to clipboardCtrl+C
Fill formula down to adjacent cellsApply the same formula to the column belowCtrl+D
Move to next cell after editingNavigate to the next cell while editing a formula

People Also Ask

What is the difference between 'dddd' and 'ddd' in TEXT?

'dddd' returns the full weekday name (e.g., Friday), while 'ddd' returns a three-letter abbreviation (e.g., Fri). Both rely on a valid date input and respect your workbook locale.

'dddd' gives the full day name like Friday, while 'ddd' gives the short form like Fri. Both require a valid date in Excel.

Can I get the day name in languages other than English?

Yes. The day-name output follows the workbook locale. Change your file's regional settings or the workbook locale to display days in your preferred language.

Yes, the output follows the locale of the workbook. Set the locale in your Excel options or system settings.

What if the date is stored as text?

Convert the text to a date first with DATEVALUE (or DATEVALUE in combination with VALUE) and then apply TEXT or WEEKDAY. If DATEVALUE fails, ISNUMBER orVALUE checks can help.

If dates are text, convert them with DATEVALUE first, then extract the weekday.

How do I sort data by weekday order (Mon to Sun)?

Compute WEEKDAY with type 2 (Mon=1) and sort by that numeric column. Use a separate helper column for sorting to keep your data clean and predictable.

Use a numeric weekday helper with Monday as 1, then sort by that column.

Is there a single function to map a date to day name without repetition?

SWITCH can map WEEKDAY results directly to day names, giving a concise, readable formula. For many cases, CHOOSE with WEEKDAY is also effective. Pick the approach that best suits your preference for readability.

Yes—SWITCH or CHOOSE with WEEKDAY can map to day names in a single formula.

The Essentials

  • Derive weekday names with TEXT using 'dddd' or 'ddd'
  • Use WEEKDAY for numeric day indices and reliable sorting
  • Switch or CHOOSE offer readable alternatives for mapping days
  • Generate weekday sequences for ranges with SEQUENCE and TEXT
  • Guard formulas with IFERROR to handle blanks or invalid dates

Related Articles