Split First and Last Name in Excel — With Examples (TEXTSPLIT, LEFT, FIND)
Learn how to split first and last name in Excel: TEXTSPLIT, LEFT and FIND formulas, middle names, Flash Fill and Text to...
Read Guide →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.
| What you want | Formula | Result 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 date | Custom format: dddd | Friday (the cell still holds the date) |
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 2026 | Tuesday | 2 | Tue |
| 25 Nov 2026 | Wednesday | 3 | Wed |
| 28 Nov 2026 | Saturday | 6 | Sat |
| 29 Nov 2026 | Sunday | 7 | Sun |
| 25 Dec 2026 | Friday | 5 | Fri |
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.
=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.
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:
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.
=WEEKDAY(B2)
WEEKDAY returns a number from 1 to 7. The second argument, return_type, sets which day counts as 1:
| return_type | Week starts on | Monday | Saturday | Sunday |
|---|---|---|---|---|
| 1 (default) | Sunday | 2 | 7 | 1 |
| 2 | Monday | 1 | 6 | 7 |
| 3 | Monday, from 0 | 0 | 5 | 6 |
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).
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.
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.
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.
| Mistake | What happens | Fix |
|---|---|---|
| You expected Monday to be 1 | WEEKDAY gives 2 — the default week starts on Sunday | Use return_type 2: =WEEKDAY(B2, 2) |
| You used TEXT and then tried to calculate with it | The result is text, not a date or a number | Use WEEKDAY for calculations, or a custom format for display |
| Your date is text, not a real date | #VALUE! — WEEKDAY and TEXT cannot read it | Convert it: Data > Text to Columns, or =DATEVALUE(B2) |
| You used the wrong CHOOSE list order | The labels are one day out | The list must start with Sunday for the default WEEKDAY, or Monday for return_type 2 |
| You counted with COUNTIF on the dates | COUNTIF cannot test a weekday directly | Use a helper column with WEEKDAY, then COUNTIF on the numbers |
| You typed the date inside the formula as text | It works in some regional settings and breaks in others | Use a cell reference, or =DATE(2026,12,25) |
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.
Learn how to split first and last name in Excel: TEXTSPLIT, LEFT and FIND formulas, middle names, Flash Fill and Text to...
Read Guide →Learn how to get the month and year from a date in Excel: month name, month number, quarter, first and last day...
Read Guide →Learn how to extract text after a character in Excel: TEXTAFTER and TEXTBEFORE, the last word, and the older FIND method.
Read Guide →