Show dates as days of the week
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
-
Select the cells that contain dates that you want to show as the days of the week.
-
On the Home tab, in the Number group, click the arrow, click More Number Formats, 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).
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.
|
|
No comments:
Post a Comment