Excel.Tips.Net Welcome toExcel.Tips.Net

Helpful Links

Tips.Net Home
ExcelTips Home
Ask an Excel Question
Make a Comment

Tips.Net Store

ExcelTips FAQ
ExcelTips Premium

Learn Access Now
Free Printable Forms

Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Legal Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips

Advertise on the
ExcelTips Site

Newest Tips

Recording a Macro

Adding a Little Animation to Your Life

Converting a Range of URLs to Hyperlinks

Making the Formula Bar Persistent

Engineering Calculations

Digital Signatures for Macros

Fixing the Decimal Point

 

Dates with Periods

Summary: You may want Excel to format your dates using a pattern it doesn't normally use—such as using periods instead of slashes between the day, month, and year. Here's how you can get the format you want, plus some comments on making that format the default for dates. (This tip works with Microsoft Excel 97, Excel 2000, Excel 2002, Excel 2003, and Excel 2007.)

Lee prefers a date format that uses periods, such as 5.24.08. He wonders if there is a way to create such a format and if that format can be set as the default date format used by Excel.

Defining the date format in Excel is easy. Just follow these steps:

  1. Select the range of cells you want to format.
  2. Right-click the range to display a Context menu, from which you should choose Format Cells. Excel displays the Format Cells dialog box.
  3. Make sure the Number tab is displayed. (Click here to see a related figure.)
  4. In the Category list, choose Custom.
  5. In the Type box enter "m.d.yy" (without the quote marks).
  6. Click OK.

That's it; you now have a format set to display dates you want. If you want the format to be the default for all dates, then you are going to have to make a change in the Regional Settings of Windows itself. (Excel draws its default from these settings.) The exact way you do this varies depending on the version of Windows you are using, but in general there is a choice in the Windows Control Panel that allows you to specify regional settings. All you need to do is modify those settings to reflect the date format you want to use. The change will affect not only the display of numbers in Excel, but in other Windows-compliant programs, as well.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3427) applies to Microsoft Excel versions: 97 | 2000 | 2002 | 2003 | 2007

Save Time! ExcelTips has been published weekly since late 1998. Past issues of ExcelTips are available in convenient ExcelTips archives. Have your own enhanced archive of ExcelTips at your fingertips, available to use at any time!
 
Check out ExcelTips Archives today!