Home  /  Blog  /  Date & Text
Date & Text

Day of Week Formula in Excel — Get the Weekday Name or Number From a Date

By admin 26 November 2026 Date & Text

You have a column of dates, and you need the day of the week — the name for a report, a number for a calculation, or a flag that says weekday or weekend. Three functions do the job, and each one answers a different question: TEXT gives you the name, WEEKDAY gives you the number, and CHOOSE gives you your own labels. The one rule that catches everyone is the default: WEEKDAY counts Sunday as 1, so Monday is 2 — unless you ask for Monday as 1, which is what most work calendars want. This guide gives you all three formulas first, works them through on five dates so every answer can be checked, and covers the weekend test, counting by day, and the text-date trap.

Quick takeaway Quick takeaway: TEXT for the name, WEEKDAY for the number, CHOOSE for your own labels.

  • =TEXT(A2, "dddd") — the full day name: Monday.
  • =WEEKDAY(A2) — the number: 1 for Sunday, 7 for Saturday.
  • =WEEKDAY(A2, 2) — the number with Monday as 1: above 5 is the weekend.
  • =CHOOSE(WEEKDAY(A2), "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat") — your own labels.
Day of Week Formula in Excel — Get the Weekday Name or Number From a Date

The Three Formulas — Which One Do You Need?

What you wantFormulaResult for 25 Dec 2026
The full day name=TEXT(A2, "dddd")Friday
The short day name=TEXT(A2, "ddd")Fri
The weekday number (Sunday = 1)=WEEKDAY(A2)6
The weekday number (Monday = 1)=WEEKDAY(A2, 2)5
Your own labels=CHOOSE(WEEKDAY(A2), "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat")Fri
The name, without changing the dateCustom format: ddddFriday (the cell still holds the date)

Worked Example — Five Dates, Three Formulas

Five dates in column B, with the name, the Monday-start number, and the custom label side by side:

B: Date=TEXT(B2,"dddd")=WEEKDAY(B2,2)CHOOSE label
24 Nov 2026Tuesday2Tue
25 Nov 2026Wednesday3Wed
28 Nov 2026Saturday6Sat
29 Nov 2026Sunday7Sun
25 Dec 2026Friday5Fri

Check the numbers: with Monday as 1, Tuesday is 2, Wednesday is 3, Saturday is 6, Sunday is 7, Friday is 5. With the default (Sunday as 1), the same dates give 3, 4, 7, 1 and 6. The weekday is the same — only the numbering changes.

1. Get the Day Name — TEXT

=TEXT(B2, "dddd")

“dddd” is the format code for the full day name: Monday, Tuesday, Wednesday. “ddd” gives the short form: Mon, Tue, Wed. The TEXT function always returns text, whatever the cell’s format was — which means the result cannot be used in a calculation. If you need the name for display only, that is fine. If you need to calculate with the day — counting Mondays, flagging weekends — use WEEKDAY instead, or use a custom format.

2. Show the Name Without Changing the Date — Custom Format

If the cell must stay a date — so you can sort by it, subtract it, or feed it to another formula — do not use TEXT. Format the cell instead:

  1. Select the cells.
  2. Press Ctrl+1 to open Format Cells.
  3. Choose Custom and type dddd (or ddd for the short form).
  4. Click OK.

The cell shows “Tuesday” but still holds the date. The value never changed — only its display did. That is the difference between a format and a formula, and it is the one to remember.

3. Get the Weekday Number — WEEKDAY

=WEEKDAY(B2)

WEEKDAY returns a number from 1 to 7. The second argument, return_type, sets which day counts as 1:

return_typeWeek starts onMondaySaturdaySunday
1 (default)Sunday271
2Monday167
3Monday, from 0056

Return_type 2 is the one most business reports use, because it matches the work week: Monday is 1, Friday is 5, Saturday is 6, Sunday is 7. Return_type 3 is the same week counted from 0, which is useful when the number feeds another calculation. A date typed as text inside the formula can work in some regional settings, but it breaks easily — use a cell reference, or build the date with DATE(2026,12,25).

4. Your Own Labels — CHOOSE

If you want labels of your own — abbreviations, codes, or words in another language — combine CHOOSE with WEEKDAY:

=CHOOSE(WEEKDAY(B2), "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat")

WEEKDAY gives the index number, and CHOOSE picks the matching label from the list. For 25 Dec 2026, WEEKDAY gives 6, and the sixth label is “Fri”. The list must start with Sunday, because the default WEEKDAY counts Sunday as 1. If you use return_type 2, the list must start with Monday instead.

5. Flag Weekdays and Weekends — IF With WEEKDAY

With the Monday-start week, the weekend test is one line: a result above 5 is Saturday or Sunday.

=IF(WEEKDAY(B2, 2)>5, "Weekend", "Weekday")

On the five dates above: Tuesday, Wednesday and Friday are Weekday; Saturday and Sunday are Weekend. The same test with the default return_type is messier — Sunday is 1 and Saturday is 7, so the test is =IF(OR(WEEKDAY(B2)=1, WEEKDAY(B2)=7), "Weekend", "Weekday"). That is why return_type 2 is the better default for this job.

6. Count Orders by Day — COUNTIF With WEEKDAY

How many orders fell on a Monday? COUNTIF cannot test a date directly, so test the weekday number instead — with a helper column, or with SUMPRODUCT:

=SUMPRODUCT(--(WEEKDAY(B2:B6, 2)=1))

Result: 0 on the five dates above — none of them is a Monday. The helper-column version is easier to read: in C2, type =WEEKDAY(B2, 2) and copy it down, then =COUNTIF(C2:C6, 1) counts the Mondays. The full guide to counting by a condition is the count cells with text guide, which covers COUNTIF and COUNTIFS.

Common Mistakes

MistakeWhat happensFix
You expected Monday to be 1WEEKDAY gives 2 — the default week starts on SundayUse return_type 2: =WEEKDAY(B2, 2)
You used TEXT and then tried to calculate with itThe result is text, not a date or a numberUse WEEKDAY for calculations, or a custom format for display
Your date is text, not a real date#VALUE! — WEEKDAY and TEXT cannot read itConvert it: Data > Text to Columns, or =DATEVALUE(B2)
You used the wrong CHOOSE list orderThe labels are one day outThe list must start with Sunday for the default WEEKDAY, or Monday for return_type 2
You counted with COUNTIF on the datesCOUNTIF cannot test a weekday directlyUse a helper column with WEEKDAY, then COUNTIF on the numbers
You typed the date inside the formula as textIt works in some regional settings and breaks in othersUse a cell reference, or =DATE(2026,12,25)

Frequently Asked Questions

How do I get the day of the week from a date in Excel? Use =TEXT(date, "dddd") for the full name, or =WEEKDAY(date) for the number. For example, =TEXT(B2, "dddd") on 25 Dec 2026 gives Friday, and =WEEKDAY(B2) gives 6.

What is the WEEKDAY formula in Excel? =WEEKDAY(date, [return_type]). With no return_type, Sunday is 1 and Saturday is 7. With return_type 2, Monday is 1 and Sunday is 7.

How do I get Monday as 1 in Excel? =WEEKDAY(date, 2). The second argument sets the week to start on Monday, which is what most work calendars use.

How do I show the day name without changing the date? Format the cell with the custom format dddd (or ddd for the short form). The cell shows the name but still holds the date, so you can sort and calculate with it.

How do I check if a date is a weekend in Excel? =IF(WEEKDAY(date, 2)>5, "Weekend", "Weekday"). With the Monday-start week, Saturday is 6 and Sunday is 7, so anything above 5 is the weekend.

Why does WEEKDAY return #VALUE!? The cell holds text that looks like a date, not a real date. Convert it with Data > Text to Columns, or with =DATEVALUE(cell).

Can I count how many dates fall on a Monday? Yes — with a helper column: =WEEKDAY(date, 2) in one column, then =COUNTIF(helper, 1) to count the Mondays. Or in one formula: =SUMPRODUCT(--(WEEKDAY(range, 2)=1)).

That is the day of week formula in Excel: TEXT for the name, WEEKDAY for the number, and CHOOSE for your own labels — three functions, one date, three different views of it. The one thing to remember is the default: Sunday is 1, so Monday is 2, unless you ask for return_type 2 and make Monday 1. And the other thing is the difference between a name and a number: TEXT gives you text you can read but cannot calculate with, while WEEKDAY gives you a number you can test, flag and count. From here, the next date job to learn is the one that counts the days between two dates — the months between dates guide — and the full learning order for the whole site is on the Excel Formulas hub.


About admin

Author of Excel formula guides on this blog.

View all guides by admin →

Keep Learning

Related guides