Excel Practice Test

โ–ถ

Converting a date to day of week in Excel is one of those small skills that quietly transforms the way you analyze data. Whether you are scheduling shifts, tracking sales by weekday, or building a project timeline, knowing how to pull the day name from a date opens the door to weekday-based pivot tables, conditional formatting rules, and time-series reports that actually tell a story. Excel offers several reliable methods, each with its own strengths depending on whether you need text, numbers, or display-only formatting.

The most popular approach uses the TEXT function with a custom date code, but the WEEKDAY function, custom cell formatting, the CHOOSE function, and even Power Query each have legitimate use cases. Choosing the right method matters because some return text strings you can sort and filter, while others return numbers you can use in calculations like SUMIFS or COUNTIFS. Picking the wrong tool can lead to broken formulas, mismatched joins, or pivot tables that refuse to group correctly.

This guide walks through every major technique with concrete examples, real worksheet screenshots described in detail, and the edge cases that trip up most users. We cover regional differences between Windows and Mac date systems, the difference between serial dates and text dates, and how to fix the common errors that appear when Excel refuses to recognize a date column. Along the way, you will see how to combine WEEKDAY with conditional formatting to highlight weekends automatically.

We also tackle the practical questions that pop up in real spreadsheets. How do you extract the day of week from a date stored as text? What about dates imported from a database in YYYY-MM-DD format? How do you handle the first day of the week when your company tracks Sunday-to-Saturday but your formula defaults to Monday-to-Sunday? Each answer comes with a step-by-step formula you can copy directly into your workbook and adapt to your column references.

If you work with dates regularly, you probably already use functions like VLOOKUP, INDEX/MATCH, and SUMIFS. Adding day-of-week extraction to your toolkit lets you join those formulas with weekday analysis, building reports that show Monday-versus-Friday performance or flagging deliveries scheduled for weekends. By the end of this article, you will know exactly which formula to reach for, when to use a custom format instead of a formula, and how to avoid the regional quirks that cause #VALUE! errors in shared workbooks.

We will also look at how the day-of-week trick scales when you work with thousands of rows. Volatile functions like TODAY and NOW can slow recalculation, so we discuss when to convert formulas to static values, when to use array formulas, and when Power Query is the better long-term answer. The goal is not just to know one formula, but to choose the right approach for the data volume and the audience consuming the report.

Finally, we tie everything back to the broader skill of date manipulation in Excel. Day of week is just the beginning. Once you understand how Excel stores dates as serial numbers, the same logic unlocks month names, quarter labels, fiscal year calculations, and rolling 7-day averages. Treat this guide as the foundation for a much deeper relationship with date data.

Day of Week in Excel by the Numbers

๐Ÿ“…
7
Possible Day Values
๐Ÿ”ข
1-3
WEEKDAY Return Types
โœ๏ธ
4
Format Codes
๐Ÿ“Š
1900
Excel Date Origin
โšก
3
Main Methods
Try Free Date to Day of Week in Excel Practice Questions

Three Main Methods to Extract Day of Week

โœ๏ธ TEXT Function

Returns the day name as text using format codes like "dddd" for full names or "ddd" for abbreviations. Best when you need to display or concatenate the day name in reports.

๐Ÿ”ข WEEKDAY Function

Returns a number from 1 to 7 representing the day. Best for calculations, conditional logic, and identifying weekends versus weekdays in SUMIFS or COUNTIFS formulas.

๐ŸŽจ Custom Cell Format

Changes how the date is displayed without altering the underlying value. Best when you want a single column to show day names while keeping date logic intact for sorting and filtering.

๐Ÿ”„ CHOOSE + WEEKDAY

Combines WEEKDAY with CHOOSE to map numbers to custom day labels in any language or abbreviation style. Best for multilingual workbooks or non-standard day naming conventions.

โšก Power Query

Adds a Day Name column during data import. Best for large datasets, repeatable refreshes, and when day-of-week extraction needs to happen on every data load automatically.

The TEXT function is the workhorse for converting a date into a day-of-week name in Excel. The syntax is straightforward: =TEXT(A2,"dddd") returns the full day name like "Monday," while =TEXT(A2,"ddd") returns the three-letter abbreviation like "Mon." The function takes any valid Excel date serial number and applies the format string you specify, returning the result as text. Because the output is text, you can concatenate it with other strings using the ampersand operator, for example ="Delivery on "&TEXT(A2,"dddd") produces a sentence-ready label.

One subtle advantage of the TEXT approach is that it does not depend on regional settings in the way custom cell formats sometimes do. The codes "dddd" and "ddd" follow Excel's English-locale convention, but the actual day name returned reflects the user's system language. A workbook opened in Spain will show "lunes," while the same file in the United States shows "Monday." This makes TEXT a safe choice for shared workbooks that travel across regions, though it also means you cannot hard-code English day names without using CHOOSE.

When you need to feed the day name into other functions, TEXT is often the cleanest bridge. For example, you can use it inside a SUMIFS criteria range by combining the formula with a helper column, or you can nest it inside IF statements to flag specific days. A common pattern is =IF(TEXT(A2,"dddd")="Saturday","Weekend","Weekday"), which gives you a quick categorization column without needing a lookup table. Just remember that TEXT returns a string, so comparisons must be against strings, not numbers.

Many beginners get tripped up by the case sensitivity of format codes. In TEXT, lowercase "d" is for day, lowercase "m" is for month, and lowercase "y" is for year, while uppercase "M" is also valid for months but uppercase "D" simply does not work the same way. The number of letters matters too: "d" gives the day number without leading zero, "dd" pads to two digits, "ddd" gives the abbreviated day name, and "dddd" gives the full name. Memorizing this pattern saves hours of debugging later.

Another gotcha appears when the source cell is not actually a date. If column A contains text strings that look like dates, such as "2026-05-20" pulled from a CSV, TEXT will fail or return unexpected results. The fix is to wrap the reference in DATEVALUE first: =TEXT(DATEVALUE(A2),"dddd"). DATEVALUE converts a recognizable date string to a true serial number, after which TEXT can format it normally. If even DATEVALUE returns an error, the underlying string format is non-standard and needs cleaning first.

For multilingual environments, you can force a specific language using the locale code prefix supported in Excel 2016 and later. The syntax =TEXT(A2,"[$-409]dddd") forces English (United States) output regardless of the system locale, while [$-40C] forces French and [$-407] forces German. This is particularly useful when building reports for international audiences from a single template, ensuring the day names always match the report language rather than the viewer's machine settings.

Performance-wise, TEXT is lightweight and recalculates quickly even across tens of thousands of rows. Unlike volatile functions such as TODAY or INDIRECT, TEXT only recalculates when its input changes, making it safe to use in large workbooks. If you find yourself applying the same TEXT formula across an entire column, consider whether a custom cell format would serve the same purpose with zero formula overhead, especially if the day name is purely for display and not used in downstream calculations.

FREE Excel Basic and Advance Questions and Answers
Test your knowledge of essential and advanced Excel features with this comprehensive practice quiz.
FREE Excel Formulas Questions and Answers
Practice common Excel formula scenarios including dates, text functions, and lookup operations.

Comparing TEXT, WEEKDAY, and Custom Formatting

๐Ÿ“‹ TEXT Function

The TEXT function returns day names as text strings, making it ideal for display, concatenation, and creating reader-friendly labels. Use =TEXT(A2,"dddd") for full names or =TEXT(A2,"ddd") for three-letter abbreviations. The output is a true text value, so it can be sorted alphabetically and used in IF comparisons against day name strings.

Because TEXT returns text, you lose the ability to sort the column chronologically by weekday order. Monday will appear after Friday alphabetically. To preserve weekday sort order, pair TEXT with a WEEKDAY helper column or use a custom list in Excel's sort options. TEXT is also slightly slower than custom formatting on very large datasets, but the difference is negligible for typical business workbooks under fifty thousand rows.

๐Ÿ“‹ WEEKDAY Function

WEEKDAY returns a number from 1 to 7 representing the day of the week. The default =WEEKDAY(A2) returns 1 for Sunday through 7 for Saturday, but the second argument lets you change this. =WEEKDAY(A2,2) returns 1 for Monday through 7 for Sunday, which is the ISO standard most international businesses prefer for reporting purposes and weekly aggregation.

The numeric output makes WEEKDAY perfect for math and logic. You can use it inside SUMIFS to total sales by weekday, inside conditional formatting rules to highlight weekends, or inside IF statements to apply different business logic on different days. The trade-off is that the result is just a number, so you typically pair it with CHOOSE or a lookup table when you also need the day name visible to readers.

๐Ÿ“‹ Custom Cell Format

Custom cell formatting changes how Excel displays a date without modifying the underlying value. Right-click the cell, choose Format Cells, select Custom, and enter "dddd" to display the full day name or "ddd" for the abbreviation. The cell still contains the original date serial number, so all date math, sorting, and filtering continue to work normally based on the actual date.

This approach is the cleanest when day-of-week display is purely cosmetic. It adds no formula overhead, recalculates instantly, and survives copy-paste operations as long as the target cell preserves formatting. The downside is that you cannot use the displayed day name in other formulas, since the cell's true value remains a number. For dual display and calculation needs, create a separate helper column with TEXT or WEEKDAY.

TEXT Function vs WEEKDAY Function for Day Extraction

Pros

  • TEXT returns reader-friendly day names ready for reports and dashboards
  • TEXT supports multiple locales using bracketed language codes
  • TEXT output concatenates cleanly with other strings using the ampersand
  • TEXT works directly in IF statements with day name comparisons
  • TEXT requires no additional lookup table or helper column
  • TEXT recalculates only when inputs change, keeping workbooks fast

Cons

  • TEXT output is text, breaking chronological sort by weekday
  • TEXT cannot be used directly in SUMIFS without a helper column
  • TEXT day names depend on system locale unless forced with codes
  • TEXT fails on date columns stored as text strings without DATEVALUE
  • TEXT requires exact case-sensitive format codes that confuse beginners
  • TEXT output cannot be aggregated mathematically like WEEKDAY numbers
FREE Excel Functions Questions and Answers
Master Excel functions including TEXT, WEEKDAY, DATE, and other essential date manipulation tools.
FREE Excel MCQ Questions and Answers
Multiple choice questions covering formulas, formatting, and data analysis across Excel features.

Setup Checklist for Day of Week Extraction

Verify the source column contains real dates by checking the cell's right-alignment when General format is applied
Convert any text-formatted dates to serial dates using DATEVALUE or Text to Columns
Decide whether you need a text day name, a number, or just a display format change
Choose TEXT for reports, WEEKDAY for calculations, and Custom Format for visual-only needs
Set the WEEKDAY return type argument to match your week start convention (1 for Sunday-start, 2 for Monday-start)
Create a helper column rather than overwriting original date data to preserve audit trail
Apply the formula to one row first and verify the output before copying down the entire column
Use absolute references for any lookup ranges or constants referenced inside the formula
Test the formula on edge cases including leap year dates and dates near year boundaries
Save the workbook and reopen on a different machine to confirm locale settings render correctly
Combine WEEKDAY with Conditional Formatting to Highlight Weekends Automatically

Select your date range, open Conditional Formatting, choose New Rule, select Use a formula, and enter =WEEKDAY(A2,2)>5. This applies a fill color to any cell where the date falls on Saturday or Sunday, updating dynamically as you add new dates. Combined with a TEXT helper column, you get a calendar-style view directly inside any standard Excel range.

Beyond the basics, several advanced techniques let you extract day of week in ways that handle large datasets, multilingual reports, and unusual business calendars. The CHOOSE function paired with WEEKDAY is the classic way to map numbers to custom day labels. The formula =CHOOSE(WEEKDAY(A2,2),"Mon","Tue","Wed","Thu","Fri","Sat","Sun") returns abbreviated English day names regardless of the user's system language, giving you complete control over the displayed text. This pattern is widely used in financial models where consistency across regions matters more than localization.

For workbooks that process thousands of dates daily, Power Query is the more scalable answer. After loading your data into Power Query, click Add Column, choose Date, then Day, then Name of Day. Power Query inserts a new column with the full day name pulled from the locale specified in the query settings. The transformation is recorded as a step, so every refresh applies the same logic without needing to copy formulas down. This approach is especially powerful when combined with imported CSV files or database connections that refresh on schedule.

Array formulas open another dimension of analysis. Combining WEEKDAY with SUMPRODUCT lets you count or sum values for specific days without a helper column. The formula =SUMPRODUCT((WEEKDAY(A2:A100,2)=1)*B2:B100) totals values in column B that correspond to Monday dates in column A. In modern Excel with dynamic arrays, you can write =SUM((WEEKDAY(A2:A100,2)=1)*B2:B100) and press Enter normally, getting the same result with cleaner syntax that scales automatically as the range grows.

Pivot tables also offer built-in day-of-week grouping, though it is somewhat hidden. Add your date field to the Rows area, right-click any date, choose Group, and you will see options to group by Days, Months, Quarters, and Years. While there is no direct Day-of-Week grouping, you can add a helper column to your source data using TEXT, then drag that text column into the pivot. For best results, also add a WEEKDAY number column to enable proper Monday-Sunday sort order.

Dynamic arrays in Excel 365 and Excel 2021 unlock spillable formulas that calculate day names across an entire range with one cell. =TEXT(A2:A100,"dddd") entered in a single cell spills down the column, automatically resizing as A2:A100 changes. This eliminates the need to drag formulas and keeps your workbook cleaner. The same pattern works with WEEKDAY, FILTER, and other modern functions, making date analysis far more elegant than the legacy approach of copying formulas to thousands of rows.

For fiscal calendars that do not match the standard Monday-Sunday week, you can offset the WEEKDAY result. If your fiscal week starts on Wednesday, use =WEEKDAY(A2,12), where the second argument 12 tells Excel that Wednesday is day 1. Excel supports return types 11 through 17, each shifting the start day by one position. This flexibility means you rarely need custom logic for non-standard calendars, as long as you remember which return type corresponds to which start day.

Finally, when you need day of week for reporting joined to other data sources, consider building a small date dimension table. A two-column table with every date in your reporting range and the corresponding day name lets you use VLOOKUP, INDEX/MATCH, or XLOOKUP to retrieve day names without recalculating formulas. This approach mirrors the dimensional modeling used in Power BI and data warehouses, and it scales beautifully when your workbook grows to include holiday flags, fiscal periods, and other date attributes.

Troubleshooting day-of-week formulas usually comes down to four root causes: text-formatted dates, regional locale mismatches, wrong WEEKDAY return type, and incorrect format code casing. Each has a specific fix that takes seconds once you identify the symptom. The most common error, #VALUE!, almost always means the source cell is text rather than a date. Run =ISNUMBER(A2) on a sample cell. If it returns FALSE, you have text dates that need conversion before any date function will work properly.

To convert text dates in bulk, the fastest method is Text to Columns. Select the column, go to Data, click Text to Columns, choose Delimited, click Next twice, then on the third screen choose Date and pick the format that matches your source (MDY for US dates, DMY for European). Click Finish and Excel reformats every cell as a true date serial number. This works on hundreds of thousands of rows in seconds, far faster than wrapping every formula in DATEVALUE individually across the worksheet.

Locale mismatches cause silent errors that are harder to spot. A workbook built in the US with dates like 5/12/2026 will display May 12 to American users but December 5 to European users whose systems read DMY. The day of week extracted from this date will therefore differ depending on who opens the file. To avoid this, store dates in unambiguous ISO format using =TEXT(A2,"yyyy-mm-dd") for any text-based date columns, and rely on cell formatting for display rather than baking the format into the underlying value.

When WEEKDAY returns numbers that do not match your expected start day, the second argument is almost always the culprit. The default =WEEKDAY(A2) treats Sunday as day 1, which surprises users who expect Monday to be the start of the week. Change the formula to =WEEKDAY(A2,2) for Monday-start (ISO standard) or =WEEKDAY(A2,3) for Monday-start with zero-indexed numbering. Document which return type your workbook uses in a comment near the formula, especially when sharing with colleagues unfamiliar with the convention.

Format code errors are usually typos in the TEXT function string. Remember that "dddd" with four lowercase d characters gives the full day name, while "ddd" with three gives the abbreviation. Using uppercase D or only one d will return the day number instead of the name. Similarly, "mmm" gives an abbreviated month name like "May," while "mm" gives the month number padded to two digits. Keep a quick reference card open while writing TEXT formulas until the codes become muscle memory.

For workbooks that will be shared across many users, build a small validation section at the top of your worksheet. Include cells that test =TEXT(TODAY(),"dddd"), =WEEKDAY(TODAY(),2), and =ISNUMBER(A2) for a known date column. This gives anyone opening the file an immediate visual check that the locale, system date, and source data are all behaving as expected. If any of those validation cells show unexpected output, the user knows to investigate before trusting the downstream reports.

Performance considerations matter once you scale beyond ten thousand rows. TEXT and WEEKDAY are both non-volatile and fast, but if you stack them inside SUMIFS or array formulas across the entire column, recalculation time grows noticeably. The cure is to add a static helper column populated once with the day name or number, then reference that column in subsequent formulas. Refresh the helper only when source dates change, either manually or via a Power Query refresh, keeping interactive calculations snappy.

Practice Excel Formula Questions Including WEEKDAY and TEXT

Putting day-of-week extraction into practice starts with deciding what the end user actually needs to see and do. If the report consumer simply wants to glance at a schedule and see Monday, Tuesday, Wednesday, the right answer is almost always a custom cell format. It adds zero overhead, preserves all date logic, and looks exactly like a formula-based result. Reach for TEXT only when you need the day name as a string for concatenation, lookup, or display in a chart label that pulls from a cell value rather than the date axis.

For analytical workbooks where day of week feeds into calculations, build a WEEKDAY helper column once and reference it everywhere downstream. This gives you a numeric value for SUMIFS, COUNTIFS, AVERAGEIFS, and conditional formatting, plus the ability to sort chronologically. Pair the WEEKDAY column with a TEXT column when you need both the number and the name visible. The slight redundancy is worth it for the flexibility, and the recalculation cost is minimal even on workbooks with a hundred thousand rows.

When automating reports that refresh from external data, Power Query is the cleanest long-term solution. The Day Name transformation lives inside the query, so every refresh produces the same output without any formula maintenance. This is especially valuable for dashboards that update daily from a database or API. Combined with a calendar table that contains every date in your reporting range, Power Query lets you handle holidays, fiscal periods, and day-of-week labels in one consistent layer that downstream pivots and charts simply consume.

For multilingual teams, standardize on the bracketed locale approach in TEXT or use CHOOSE to hard-code day names in the report language. Decide as a team whether reports follow the reader's locale or the company's reporting language, and document that decision in the workbook header. Inconsistency here causes confusion in cross-border teams, with the same Monday appearing as Lunes, Lundi, Montag, or Monday depending on who opens the file. A single convention applied consistently eliminates an entire class of support questions.

Educate teammates on the difference between formatted display and underlying value. The most common help request from non-power users is some variation of "my pivot table is grouping wrong" or "my sort is alphabetical instead of chronological." Both stem from confusion between a cell that displays Monday because of custom formatting versus a cell that contains the text string Monday because of a TEXT formula. A two-minute explanation, repeated until it sticks, prevents hours of back-and-forth troubleshooting later.

For exam preparation and certification, expect day-of-week questions to focus on TEXT format codes, WEEKDAY return type arguments, and the difference between date serial numbers and text dates. Practice writing formulas from memory rather than copying from notes, since timed exams reward fluency. Build a small practice workbook with a column of dates and try every method covered in this guide. Within an hour you will have internalized the patterns and can recall the right formula instantly under exam pressure.

Finally, treat day of week as a gateway to broader date mastery. Once you are comfortable with WEEKDAY and TEXT, the next steps are EOMONTH for end-of-month calculations, NETWORKDAYS for business day counting, and WORKDAY for adding business days to a start date. Together these functions handle the vast majority of business calendar logic in Excel. Add Power Query and dynamic arrays to the mix and you have a complete toolkit for any date-driven reporting challenge you will encounter in a typical analyst role.

FREE Excel Questions and Answers
Comprehensive practice test covering formulas, functions, formatting, and date manipulation skills.
FREE Excel Trivia Questions and Answers
Fun trivia-style questions to test your Excel knowledge across all skill levels and feature areas.

Excel Questions and Answers

What is the simplest formula to convert a date to day of week in Excel?

The simplest formula is =TEXT(A2,"dddd"), which returns the full day name like Monday or Tuesday. For a three-letter abbreviation use =TEXT(A2,"ddd"), which returns Mon or Tue. Both formulas assume the cell in A2 contains a true Excel date serial number rather than a text string that looks like a date. The output is a text value ready for display or concatenation in reports.

How do I get a number representing the day of week instead of the name?

Use the WEEKDAY function. =WEEKDAY(A2) returns 1 for Sunday through 7 for Saturday by default. To get Monday as 1 and Sunday as 7 (the ISO standard), use =WEEKDAY(A2,2). For Monday as 0 and Sunday as 6, use =WEEKDAY(A2,3). The numeric output is ideal for calculations, conditional logic, and SUMIFS formulas that aggregate values by weekday across a large dataset.

Why does my day-of-week formula return #VALUE! error?

The most common cause is that the source cell contains a text string rather than a true date serial number. Test with =ISNUMBER(A2). If it returns FALSE, your dates are text. Fix by selecting the column, using Data, Text to Columns, choosing Delimited, clicking Next twice, then selecting Date with the correct MDY or DMY format. Alternatively, wrap the formula in DATEVALUE like =TEXT(DATEVALUE(A2),"dddd").

Can I change the day name to a different language?

Yes. Use bracketed locale codes inside TEXT. =TEXT(A2,"[$-409]dddd") forces English, [$-40C] forces French, [$-407] forces German, and [$-C0A] forces Spanish. This works in Excel 2016 and later. The locale code overrides the system language, ensuring consistent day names across international users opening the same workbook. Look up the four-character locale code for any language you need to support.

How do I display the day of week without changing the underlying date?

Use custom cell formatting. Right-click the cell, choose Format Cells, select Custom, and type "dddd" for full day name or "ddd" for abbreviation. The cell still contains the original date serial number, so all date math, sorting, and filtering continue to work normally. This is the cleanest approach when day-of-week display is purely cosmetic and you do not need the day name in other formulas.

How do I highlight weekends automatically in a date column?

Select your date range and open Conditional Formatting, New Rule, Use a formula to determine which cells to format. Enter =WEEKDAY(A2,2)>5 and choose a fill color. This formula returns TRUE for Saturday (6) and Sunday (7) when using Monday-start week numbering. The highlight updates dynamically as you add new dates, giving you a quick visual scan for weekend entries in schedules and calendars.

How can I sum values for a specific day of the week?

Add a WEEKDAY helper column, then use SUMIFS. For example, =SUMIFS(B:B,C:C,1) sums column B where column C (your WEEKDAY helper using return type 2) equals 1, meaning Monday. Alternatively, use SUMPRODUCT in a single formula: =SUMPRODUCT((WEEKDAY(A2:A100,2)=1)*B2:B100). The helper column approach is faster on large datasets, while SUMPRODUCT avoids the extra column.

What is the difference between dddd and DDDD in TEXT format codes?

In Excel TEXT format codes, day codes are case-insensitive, so dddd and DDDD both return the full day name. However, month codes are case-sensitive: lowercase mm returns the month number while uppercase MM also works but lowercase mmm returns the abbreviated month name. To avoid confusion, always use lowercase for day and year codes (d, y) and be careful with month (m) since it conflicts with minute in time formats.

How do I extract day of week in Power Query?

After loading data into Power Query, select your date column, click Add Column on the ribbon, choose Date, then Day, then Name of Day. Power Query inserts a new column with the full day name based on the query locale. This transformation is recorded as a step and applies automatically on every refresh, making it ideal for dashboards that pull from external data sources or refresh on a schedule.

Can I get day of week using a single dynamic array formula?

Yes, in Excel 365 and Excel 2021 with dynamic arrays. Enter =TEXT(A2:A100,"dddd") in a single cell and press Enter. The formula spills down automatically, returning day names for the entire range. The same pattern works with WEEKDAY: =WEEKDAY(A2:A100,2). Dynamic arrays eliminate the need to drag formulas down and automatically resize as your source range grows or shrinks.
โ–ถ Start Quiz