Day of the Week Function in Excel: WEEKDAY, TEXT, and CHOOSE Methods Explained
Master the day of the week function in Excel using WEEKDAY, TEXT, and CHOOSE. Step-by-step formulas, examples, and tips for accurate weekday calculations.

The day of the week function in Excel is one of the most useful date utilities you can master, and learning it opens the door to smarter scheduling, payroll calculations, and reporting dashboards. Whether you need to know if January 1, 2026 falls on a Thursday or you want to flag weekend transactions automatically, Excel gives you several built-in tools to extract weekday information from any valid date. The two most common approaches use the WEEKDAY function and the TEXT function, and each has distinct strengths.
WEEKDAY returns a number between 1 and 7 that represents the day, while TEXT returns the actual day name like Monday or Mon. Power users often combine these with CHOOSE, SWITCH, or conditional formatting to build dynamic calendars and shift planners. Just like vlookup excel pulls data from tables, WEEKDAY pulls weekday positions from dates so you can categorize, sort, and analyze patterns over time. Both functions accept any cell that contains a date serial number.
One reason this topic matters is that Excel stores dates as sequential numbers starting from January 1, 1900, which means every date already carries weekday data underneath. You just need the right formula to surface it. If you have ever tried to schedule a recurring meeting, calculate billable hours, or count Saturdays in a quarter, you have probably touched on weekday logic. Mastering these functions saves hours of manual work and reduces the risk of human error in time-sensitive reports.
This guide walks through every weekday method step by step, starting with the simplest WEEKDAY syntax and progressing to advanced combinations that handle international week formats. You will see how to switch the starting day from Sunday to Monday, how to return full names or three-letter abbreviations, and how to nest these results inside IF statements for conditional logic. Each section includes real examples you can paste directly into your workbook and modify for your needs.
We will also cover common errors like #VALUE! and #NUM!, plus how locale settings affect day names returned by TEXT. If you work across regions, you need to know that TEXT respects the system locale, while WEEKDAY uses a numeric return type argument. This distinction matters in international spreadsheets where a Monday-first week is standard in Europe while Sunday-first dominates North American payroll software. Understanding both keeps your formulas portable.
Finally, we will look at practical applications: highlighting weekends in conditional formatting, counting business days, building drop-down day filters, and using weekday output as a key in lookup tables. By the end, you should feel confident picking the right function for any scenario. Excel rewards users who understand its date system, and the day of the week function is one of the highest-value formulas you can add to your toolkit. Let us start with the fundamentals and build from there.
Before we dive in, keep your sample workbook open with a column of test dates ranging from past to future. This lets you verify each formula returns the expected weekday and helps you catch issues like text-formatted dates that look correct but break WEEKDAY. With your test data ready, the rest of this guide becomes hands-on practice rather than abstract theory, and you will retain the techniques much longer.
Day of the Week Function by the Numbers

How to Use WEEKDAY Step by Step
Type the WEEKDAY function
Add the return type argument
Close the parenthesis
Test with known dates
Wrap in CHOOSE for names
The TEXT function offers a simpler path when you only need the day name as a string. Its syntax is =TEXT(value, format_code), and the relevant format codes are "ddd" for three-letter abbreviations like Mon, Tue, Wed, and "dddd" for full names like Monday, Tuesday, Wednesday. Unlike WEEKDAY, TEXT skips the numeric intermediate step entirely. You hand it a date and get readable text back, which is perfect for headers, labels, and printable reports where you do not need to do further math on the result.
For example, =TEXT(A2,"dddd") in a cell next to 2026-05-19 returns "Tuesday" immediately. This output is genuine text, so you can concatenate it with other strings: ="Meeting on " & TEXT(A2,"dddd") produces "Meeting on Tuesday" without any formatting headaches. Many users find this approach more intuitive than WEEKDAY because there is no return type code to remember and no CHOOSE wrapper required. The trade-off is that you cannot easily compare day names with greater-than or less-than logic.
TEXT respects your computer's regional settings, which can be a blessing or a curse depending on your workflow. If your system locale is German, =TEXT(A2,"dddd") returns "Dienstag" instead of "Tuesday". For international teams sharing the same file, this means the output changes based on whoever opens it. To force a specific language regardless of locale, you can use the bracketed locale code: =TEXT(A2,"[$-en-US]dddd") always returns English, while "[$-fr-FR]dddd" always returns French day names like Mardi.
One common mistake is wrapping TEXT around a date that is actually stored as text. If your imported data contains "2026-05-19" as a string rather than a real date, TEXT cannot parse the weekday from it. The fix is to convert the text to a date first using DATEVALUE: =TEXT(DATEVALUE(A2),"dddd"). This double-wrap technique handles the most common date import problems and saves you from manually retyping every cell or running text-to-columns on the entire range.
You can also combine TEXT with other formatting tokens in the same formula. For instance, =TEXT(A2,"dddd, mmmm d, yyyy") returns "Tuesday, May 19, 2026" โ a complete, human-readable date with the weekday included. This is invaluable for creating polished report headers, audit trails, and email-friendly date displays. The flexibility of format codes in TEXT goes well beyond weekday output and rewards experimentation with mmm, mmmm, yy, and yyyy combinations.
Now, while TEXT excels at display, WEEKDAY excels at logic. If you need to flag weekends, you cannot easily ask TEXT whether the result is Saturday or Sunday without an extra IF or OR comparison. WEEKDAY returns numbers that slot directly into arithmetic and conditional tests: =IF(WEEKDAY(A2,2)>5,"Weekend","Weekday") is concise and fast. The general rule of thumb: use TEXT for display, WEEKDAY for decisions. Skilled analysts often use both in the same sheet, one for the dashboard header and one for the underlying calculations.
Knowing how to remove duplicates excel rows that share the same weekday is another practical workflow. You can add a helper column with WEEKDAY or TEXT, then use the Data tab's Remove Duplicates tool on that column to keep only one row per weekday. This is useful for sampling schedules, generating weekly archetype reports, or stress-testing models that should behave the same regardless of which Monday or Tuesday they hit. Pairing weekday formulas with Excel's built-in data tools amplifies their value enormously.
WEEKDAY vs TEXT vs CHOOSE: Picking the Right Method
WEEKDAY is the workhorse when your formulas need to compare, sum, or count weekday values. Because it returns a number, you can drop it into SUMPRODUCT, COUNTIFS, and array calculations without any conversion. For example, =SUMPRODUCT((WEEKDAY(date_range,2)=1)*1) counts every Monday in a date range. This is far more efficient than parsing text strings, especially on ranges with thousands of rows where speed and memory matter.
The trade-off is that WEEKDAY output is just a digit. Without a wrapper like CHOOSE or a lookup table, your sheet shows 1, 2, 3 instead of Monday, Tuesday, Wednesday. For dashboards and printed reports this is rarely acceptable, so most users wrap the WEEKDAY result. Still, for back-end logic, helper columns, and pivot-friendly fields, WEEKDAY is faster and cleaner than any text-based alternative. Always default to WEEKDAY when math is involved.

WEEKDAY vs TEXT: Which Should You Use?
- +WEEKDAY returns a number, perfect for SUMIFS and COUNTIFS
- +WEEKDAY accepts three return type options for flexibility
- +WEEKDAY works inside conditional formatting rules cleanly
- +TEXT returns ready-to-display day names with no wrapper
- +TEXT supports both abbreviated (ddd) and full (dddd) formats
- +TEXT can combine weekday with month, year, and other tokens
- โWEEKDAY output is just a digit and needs CHOOSE for names
- โWEEKDAY return type codes can confuse beginners
- โWEEKDAY does not auto-translate to other languages
- โTEXT output is a string and breaks numeric comparisons
- โTEXT respects system locale and can change between computers
- โTEXT fails silently on text-formatted dates without DATEVALUE
Day of the Week Function Excel Setup Checklist
- โConfirm your source cells contain real dates, not text strings that look like dates
- โDecide whether you need a number (WEEKDAY) or a name (TEXT) before writing the formula
- โPick a return type for WEEKDAY: 1 for Sunday-start, 2 for Monday-start, 3 for zero-based
- โTest the formula on a known date like January 1, 2026 (Thursday) to confirm correct output
- โUse DATEVALUE to wrap any text-formatted dates before passing them to WEEKDAY or TEXT
- โFor international sheets, lock TEXT locale with bracket codes like [$-en-US]
- โWrap WEEKDAY in CHOOSE if you need custom day labels or non-English translations
- โApply conditional formatting using WEEKDAY to highlight weekends or specific days
- โDrag the formula down across your range and verify it adapts to relative references
- โDocument the chosen return type in a comment so future editors do not break the logic
Use WEEKDAY(date, 2) for predictable weekend logic
With return type 2, Monday is 1 and Sunday is 7, so any value greater than 5 means weekend. This makes formulas like =IF(WEEKDAY(A2,2)>5,"Weekend","Weekday") work intuitively for US, European, and most international calendars. It also aligns with ISO 8601 week-numbering conventions used in many business systems and date libraries.
Conditional formatting is where the day of the week function in Excel really earns its keep. Imagine a project schedule that should automatically gray out weekends, or an attendance sheet that highlights Mondays in blue. With WEEKDAY inside a conditional formatting rule, you achieve both in under a minute. Select your date range, open Home, Conditional Formatting, New Rule, and choose "Use a formula to determine which cells to format". Then enter =WEEKDAY(A2,2)>5 and pick a fill color. Every weekend now lights up automatically, even as you add new dates.
This technique scales beautifully across calendars, Gantt charts, and shift planners. Because the rule references WEEKDAY dynamically, it does not matter how many rows you add or which dates fall where โ Excel recalculates on every change. You can layer multiple rules: one for Saturdays only, one for Sundays only, one for federal holidays from a named range. The result is a self-maintaining calendar that adapts to your data instead of demanding manual color updates each week or month.
If you want to highlight specific weekdays โ say every Friday for payday โ change the formula to =WEEKDAY(A2,2)=5. The same pattern works for any day: 1 for Monday, 7 for Sunday, and so on with return type 2. You can also flip to return type 1 and write =WEEKDAY(A2,1)=6 for Friday under Sunday-start convention. Pick whichever return type matches your team's mental model and stay consistent across the workbook to avoid confusion later.
Beyond cell highlighting, weekday logic powers data validation drop-downs that restrict entries to business days only. Combine a helper column with WEEKDAY and a custom validation rule like =WEEKDAY(B2,2)<6 to block weekend entries from being typed in the first place. This is invaluable for HR forms, billing systems, and any workflow where weekends are not valid dates. Users see a clear error message instead of silently corrupting downstream reports, and the rule travels with the file wherever it goes.
For dashboards, you can build a weekday distribution chart using COUNTIFS and a small lookup table. Place day numbers 1 through 7 in column A, then in column B write =COUNTIFS(date_range, "<>", helper_weekday_column, A2). The resulting count tells you how many transactions, tickets, or events occurred on each weekday. Plot it as a bar chart and you have an instant weekly pattern visualization that often reveals operational insights like Monday traffic spikes or quiet Saturdays nobody noticed before.
Sparklines work well too. If you arrange data by week with one row per week and seven columns for weekdays, a column sparkline in the eighth column gives a tiny weekly profile per row. Combined with weekday-based conditional formatting, the visual story becomes obvious at a glance. These mini-charts work especially well in executive summaries where space is tight but pattern recognition matters. Excel's sparkline engine is lightweight enough to handle hundreds of rows without performance issues.
Finally, remember that weekday-aware conditional formatting can be exported to PDF and printed without losing its colors. This means the same logic that drives your interactive Excel dashboard also produces polished printed schedules, payroll registers, and shift rosters. Because the formatting is rule-based rather than manually applied, it never gets out of sync with the underlying dates. That alone saves countless hours per quarter for teams that produce regular reports for clients, executives, or compliance audits.

If WEEKDAY or TEXT returns #VALUE! or unexpected results, your source cell may contain a date stored as text. Look for left-aligned dates (real dates are right-aligned by default) and wrap the cell in DATEVALUE: =WEEKDAY(DATEVALUE(A2),2). Imported CSV files and copied web data are the most common culprits, so always validate your source before trusting weekday output in production reports.
Advanced applications of the day of the week function go far beyond simple weekday labels. One popular use case is calculating the next occurrence of a specific weekday โ for example, the next Tuesday after any given date. The formula =A2+(3-WEEKDAY(A2,2)+7)*1 with appropriate modular logic returns that next Tuesday, and similar patterns work for any weekday. This is gold for recurring meeting schedulers, subscription renewal calculators, and SLA deadline computations that must skip weekends or land on a specific weekday.
Another high-value pattern is counting business days between two dates with weekday awareness. While NETWORKDAYS handles this natively, you can replicate and customize its logic with SUMPRODUCT and WEEKDAY: =SUMPRODUCT((WEEKDAY(ROW(INDIRECT(start_date&":"&end_date)),2)<6)*1). This array formula gives you full control over which days count, which is invaluable when your organization treats certain Saturdays as workdays or excludes specific weekdays for shift patterns. The flexibility outpaces NETWORKDAYS in edge cases.
If you have ever needed to know how to merge cells in excel for a weekly header, weekday formulas help you label those merged cells dynamically. A merged cell spanning seven columns can show ="Week of " & TEXT(start_date,"mmm d") & " - " & TEXT(start_date+6,"mmm d, yyyy"), giving you a self-updating weekly banner that always reflects the current week's date range. Pair this with WEEKDAY-driven conditional formatting in the rows below and you have a polished, low-maintenance weekly view.
Pivot tables also love weekday helpers. Add a column to your raw data with =TEXT(date_column,"dddd"), drop the new field into a pivot's row or column area, and you instantly see metrics aggregated by weekday. Want to know which weekday generates the most sales, support tickets, or website signups? This single helper column makes that pivot possible. Sorting alphabetically gives a quirky order (Friday, Monday, Saturday), so many users add a second WEEKDAY column for numeric sorting and hide it visually.
Macros and Power Query take weekday logic further still. In Power Query, the Date.DayOfWeekName function returns localized names, and Date.DayOfWeek returns a zero-based integer you can use for grouping. This means you can transform massive datasets without slow formulas, then load the result back to Excel as a clean table. Power Query also offers a Day of Week column from the Add Column ribbon, making the entire workflow point-and-click for non-coders. The combination is hard to beat for big data.
For sheets shared with non-technical teammates, consider building a small control panel that lets users pick a return type, a locale, and a label style from drop-downs. You already know how to create a drop down list in excel, so the panel itself is straightforward. Behind the scenes, your formulas reference the panel's selections to switch between Sunday-start and Monday-start, English and Spanish, or full and abbreviated names. This kind of user-controlled flexibility prevents one-off requests and empowers colleagues.
Finally, do not forget Excel's newer dynamic array functions like SEQUENCE and LET. SEQUENCE can generate a continuous range of dates, and combining it with WEEKDAY produces an instant calendar grid. LET makes long weekday formulas readable by naming intermediate calculations. For example, =LET(d, A2, w, WEEKDAY(d,2), IF(w>5,"Weekend","Weekday")) reads cleanly and runs efficiently. Modern Excel rewards these techniques, and adopting them now keeps your spreadsheets relevant for years to come.
To get the most out of the day of the week function in Excel, build a few reusable patterns into a personal formula library. Save your favorite WEEKDAY-CHOOSE combinations, TEXT format strings, and conditional formatting rules in a template workbook. Whenever you start a new project, copy the template instead of rewriting formulas from scratch. This single habit cuts setup time by half and ensures consistency across all your reports, which is especially helpful when you are reviewing old files months later and need to remember which return type convention you used.
Document your choices clearly. Add a Notes sheet or cell comments explaining whether your workbook uses Sunday-start or Monday-start logic, which weekdays are considered business days, and any holiday calendars referenced. Future you โ or a colleague taking over the file โ will thank you. Documentation also prevents bugs when someone changes a return type from 1 to 2 without realizing downstream formulas depend on the original convention. A 30-second note can save hours of debugging later in the file's lifecycle.
Test your formulas against edge cases like leap years, year boundaries, and daylight saving transitions. February 29, 2024 was a Thursday, December 31, 2025 is a Wednesday, and these test points reveal whether your logic handles unusual dates correctly. Build a small validation block with five or six known dates and their expected weekdays. Whenever you modify a formula, glance at the validation block to confirm nothing broke. This lightweight sanity check is far faster than full regression testing and catches most issues immediately.
Performance matters on large datasets. Volatile functions like NOW or TODAY combined with WEEKDAY can slow workbooks with thousands of rows. If you only need today's weekday in one place, calculate it once in a named cell and reference that cell elsewhere. Avoid wrapping WEEKDAY inside array formulas when a helper column achieves the same result more efficiently. Excel's calculation engine is fast, but unnecessary recalculations on every keystroke add up quickly in collaborative environments where many people edit at once.
If you teach Excel or onboard new analysts, weekday formulas are an ideal first lesson because they cover dates, functions, arguments, and string output in one compact topic. Start with TEXT for instant gratification, then introduce WEEKDAY for numeric logic, and finish with CHOOSE for control. Most learners grasp all three within an hour, and the skills transfer directly to date intelligence in business contexts. This pedagogical sequence has helped countless analysts move from copying static dates to building dynamic, self-updating models.
Stay current with Excel's evolving feature set. Microsoft regularly releases new functions like WEEKNUM, ISOWEEKNUM, and the upcoming GROUPBY function that complement weekday logic. Subscribing to the Excel blog or following Microsoft 365 release notes keeps your toolkit fresh. Many features that seem niche today become indispensable a year later, so pay attention to previews and beta channels. Early adopters often build a reputation for delivering polished, modern spreadsheets that stand out from legacy designs.
Finally, practice. Run through quiz questions, tutorials, and real-world challenges until WEEKDAY, TEXT, and CHOOSE feel like second nature. The more you use them, the more naturally you spot opportunities to apply them โ like noticing a manual weekend-tagging task that could be automated in 30 seconds. Excel mastery comes from repetition, and the day of the week function is one of those small but mighty topics that rewards regular use with disproportionate productivity gains across every spreadsheet you ever touch.
Excel Questions and Answers
About the Author
Attorney & Bar Exam Preparation Specialist
Yale Law SchoolJames R. Hargrove is a practicing attorney and legal educator with a Juris Doctor from Yale Law School and an LLM in Constitutional Law. With over a decade of experience coaching bar exam candidates across multiple jurisdictions, he specializes in MBE strategy, state-specific essay preparation, and multistate performance test techniques.