Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Put Weekday in Excel: 3 Easy Methods Explained

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To put the weekday in Excel, you can use the TEXT function to display the name of the day (e.g., "Monday"), the WEEKDAY function to get a number representing the day (e.g., 1 for Sunday), or Custom Number Formatting to change how a date looks without changing the data itself. These methods allow you to convert a standard date into a readable day of the week for scheduling, project tracking, or data analysis.

What You'll Need

  • A computer with Microsoft Excel installed (Windows, Mac, or Web version).
  • A dataset containing valid dates. Excel must recognize the input as a date format rather than plain text for these functions to work.
  • Basic knowledge of how to click and drag cells to apply formulas.

Step-by-Step

Method 1: Using the TEXT Function (Best for Displaying Names)

The TEXT function is the most popular way to extract the name of the day because it converts a date into a text string that is easy for humans to read. Note that labels and menu paths may differ slightly depending on your version of Excel or regional settings.

  1. Click on the empty cell where you want the weekday name to appear. This should be adjacent to the cell containing your date.
  2. Type the following formula: =TEXT(A2, "dddd") (assuming your date is in cell A2).
  3. Press Enter. The cell will now display the full name of the day (e.g., "Wednesday").
  4. If you prefer a shortened version (e.g., "Wed"), change the formula to =TEXT(A2, "ddd").
  5. To apply this to an entire column, click the small green square (fill handle) at the bottom-right corner of the cell and drag it down to the end of your list.

Method 2: Using the WEEKDAY Function (Best for Calculations)

If you need to use the weekday in another formula—such as calculating a deadline that skips weekends—the WEEKDAY function is the correct choice because it returns a number rather than text.

  1. Select the cell where you want the numerical day of the week to appear.
  2. Type the formula: =WEEKDAY(A2, 1).
  3. Press Enter. By default, using "1" as the second argument tells Excel that Sunday = 1 and Saturday = 7.
  4. If you prefer Monday to be the first day of the week (Monday = 1), use the formula =WEEKDAY(A2, 2).
  5. Drag the fill handle down to apply the formula to all relevant rows.

Method 3: Using Custom Number Formatting (Best for Visuals)

This method is unique because it does not use a formula. It changes the way the date is displayed to the user, but the underlying value remains a full date. This is ideal if you still need to perform date-based calculations on that cell.

  1. Select the cell or range of cells containing the dates you want to change.
  2. Right-click the selected cells and choose Format Cells from the menu. Alternatively, press Ctrl + 1 (Windows) or Cmd + 1 (Mac).
  3. In the Format Cells dialog box, navigate to the Number tab.
  4. In the Category list on the left, select Custom.
  5. In the Type input box, delete whatever is there and type dddd for the full day name or ddd for the abbreviated name.
  6. Click OK. The dates will now appear as weekdays, but if you look at the formula bar, the original date is still there.

Common Mistakes

One of the most frequent errors is attempting to use these functions on cells that look like dates but are actually formatted as Text. If you type a date as "12.05.2023" and Excel does not recognize it as a date, the TEXT and WEEKDAY functions will return a #VALUE! error. To fix this, ensure your dates are entered in a format your system recognizes (usually MM/DD/YYYY or DD/MM/YYYY depending on your region).

Another common mistake is forgetting the quotation marks in the TEXT function. Writing =TEXT(A2, dddd) without quotes will cause Excel to search for a named range called "dddd," which doesn't exist, resulting in a #NAME? error. Always wrap the format code in double quotes.

Users also often confuse the WEEKDAY function with the TEXT function. If you use =WEEKDAY(A2) and then try to use that result in a VLOOKUP or an IF statement expecting the word "Monday," the formula will fail because the result is a number (1-7), not a word.

Tips

To create a dynamic dashboard, you can combine the TEXT function with the TODAY function. For example, =TEXT(TODAY(), "dddd") will always display the current day of the week, updating automatically every time you open the spreadsheet.

If you are working with a massive dataset, avoid using the TEXT function in thousands of cells if you don't have to, as it can slightly slow down calculation speeds. Custom Number Formatting (Method 3) is more efficient for the computer because it doesn't require a formula to be recalculated every time a change is made to the sheet.

For those who need to highlight weekends automatically, use Conditional Formatting. Select your date range, go to Home > Conditional Formatting > New Rule, and use a formula like =WEEKDAY(A2, 2)>5. This will automatically shade cells that fall on Saturday or Sunday, making your calendar much easier to read at a glance.

Troubleshooting

If your formula returns #VALUE!, the most likely cause is that the date in your reference cell is not a "true" date. You can check this by changing the cell format to "General." If the date changes to a five-digit number (like 45123), it is a true date. If it stays exactly as you typed it, it is text. To fix this, you can use the Text to Columns tool under the Data tab to convert text dates into proper date formats.

If your WEEKDAY function is giving you the "wrong" day (e.g., it says Tuesday when it should be Monday), check your return_type argument. Remember that =WEEKDAY(A2, 1) starts the week on Sunday, while =WEEKDAY(A2, 2) starts the week on Monday. Switching this number will align the result with your specific calendar preference.

If the Custom Formatting method (Method 3) isn't working and the cell still shows a date or a number, ensure that the cell isn't locked or that you aren't in "Show Formulas" mode (which can be toggled via Ctrl + `). If you are in Show Formulas mode, you will see the underlying data regardless of the formatting applied.

Frequently Asked Questions

How do I get the weekday as a number from 1 to 7?

Use the =WEEKDAY(cell, [return_type]) function. Using 1 for the return type makes Sunday 1 and Saturday 7; using 2 makes Monday 1 and Sunday 7.

Can I show both the date and the weekday in one cell?

Yes. Use Custom Number Formatting. Right-click the cell, go to Format Cells > Custom, and enter dddd, mmmm dd, yyyy. This will display as "Monday, January 01, 2024."

Why does my TEXT function return "Saturday" for a blank cell?

Excel treats a blank cell as zero, and in Excel's date system, day 0 is January 0, 1900, which was a Saturday. To avoid this, use an IF statement: =IF(A2="", "", TEXT(A2, "dddd")).

Is there a way to put the weekday in Excel without using formulas?

Yes, by using the Custom Number Formatting method described in Method 3. This changes the visual appearance of the cell without requiring a formula in a separate column.

Does the TEXT function work in Google Sheets too?

Yes, the =TEXT(date, "dddd") formula works identically in Google Sheets as it does in Microsoft Excel.

How do I convert a weekday number back into a name?

If you have a number (1-7) and want the name, you can use a CHOOSE function: =CHOOSE(A2, "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday").