Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and 2021. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Dates with Periods.

Dates with Periods

Written by Allen Wyatt (last updated September 20, 2024)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and 2021


1

Lee prefers a date format that uses periods, such as 5.29.20. 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.
  4. In the Category list, choose Custom. (See Figure 1.)
  5. Figure 1. The Number tab of the Format Cells dialog box.

  6. In the Type box enter "m.d.yy" (without the quote marks).
  7. Click OK.

That's it; you now have a format set to display dates as 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 (10847) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and 2021. You can find a version of this tip for the older menu interface of Excel here: Dates with Periods.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Getting Rid of Spaces in Cells

Importing data into Excel that was generated in other programs can have some interesting side effects. For instance, you ...

Discover More

Understanding the POWER Function

The POWER function is used to raise one value to another value. However, Excel also provides an exponentiation operator ...

Discover More

Sheets for Days

Need a quick way to have a worksheet for each day in a month? Here's a macro that makes the worksheet creation a snap.

Discover More

Program Successfully in Excel! This guide will provide you with all the information you need to automate any task in Excel and save time and effort. Learn how to extend Excel's functionality with VBA to create solutions not possible with the standard features. Includes latest information for Excel 2024 and Microsoft 365. Check out Mastering Excel VBA Programming today!

More ExcelTips (ribbon)

Using a Custom Format to Add Dashes

Want some dashes automatically added in values you display in a cell? It may be trickier to develop a custom format than ...

Discover More

Displaying Numbers as Spaced Pairs

Custom formats can be very powerful in Excel, but not every formatting scenario can be addressed through the use of a ...

Discover More

Can't Set Custom Format in VBA

You can, in a macro, specify a custom format for a range of cells. If the custom format doesn't seem to "stick" (so to ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is eight more than 7?

2020-06-20 13:56:24

Frank Moore

How to format the Date using a decimal was a GREAT tip. Thank you very much!


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.