Dates in Excel 2003 - Part 3
Office for Mere Mortals
/ 20 March 2007
In the last edition of Office for Mere Mortals, we used the basic date formulas in Excel as building blocks and showed how to combine them into more powerful date-based functions. In this article we round off our date functions in Excel topic with a look at custom date formats, the NETWORKDAYS() function, and an in-depth discussion on sharing date-related worksheets between Mac and Windows. There are times that you want to see the displayed value of a date as something other than the actual date or the generic date formats. For example, rather than a cell in a worksheet displaying today's date as 03/15/2007, you might want to see the value as either "Thursday", "Mar-07", "15 Mar" or "Thursday, 15 March 2007". All of these formatting combinations and many more can be achieved in a couple of different ways. The first way is to set the format on the actual cell in question. To do this select the cell or range of cells, navigate to "Format | Cells" and select the "Number" tab. In the "Category" pane, select "Date" and scroll through the "Type" pane for common examples of how dates will appear. If you can't find the date format you want in the "Date" category, choose the "Custom" category and you can type in your own date format in the "Type" text box as a combination of m's (month), d's (day) and y's (year). By Michael Barden
CUSTOM DATE FORMATS
The following list from Microsoft describes each of the date format building blocks that can be used in a custom date format:
So assuming our cell contains the date 03/15/07 we can create a custom date format to display our date in any number of ways (not limited to the following):
Mobile edition of Office Watch, your independent source of MS Office news, tips and information - Copyright Office Watch 1996-2010
Use this link to see the full size browser version of Office Watch