Let's say you want to see the date displayed for a date value in a cell as "Monday" instead of the actual date of "October 3, 2005." There are several ways to show dates as days of the week.
What do you want to do?
Format cells to show dates as the day of the week
Convert dates to the text for the day of the week
Format cells to show dates as the day of the week
- Select the cells that contain dates that you want to show as the days of the week.
- On the Format menu, click Cells, and then click the Number tab.
- Under Category, click Custom, and in the Type box, type dddd for the full name of the day of the week (Monday, Tuesday, and so on), or ddd for the abbreviated name of the day of the week (Mon, Tue, Wed, and so on).
Top of Page
Convert dates to the text for the day of the week
To do this task, use the TEXT function.
Example
The example may be easier to understand if you copy it to a blank worksheet.
How to copy an example
- Create a blank workbook or worksheet.
- Select the example in the Help topic.
Note Do not select the row or column headers.
Selecting an example from Help
- Press CTRL+C.
- In the worksheet, select cell A1, and press CTRL+V.
- To switch between viewing the results and viewing the formulas that return the results, press CTRL+` (grave accent), or on the Formulas tab, in the Formula Auditing group, click the Show Formulas button.
|
|
| A |
| Date |
| 19-Feb-2007 |
| 3-Jan-2008 |
| Formula |
Description (Result) |
| =TEXT(A2, "dddd") |
Calculates the day of the week for the date and returns the full name of the day of the week (Monday) |
| =TEXT(A3, "ddd") |
Calculates the day of the week for the date and returns the abbreviated name of the day of the week (Thu) |
|
Function details
TEXT
Top of Page