How to Choose Date Format in Excel
In this article
To choose a date format in Excel, select the cells, press Ctrl+1 (Cmd+1 on Mac), pick Date in the Format Cells dialog, and choose the layout you want. On the Home tab you can also use the Number Format dropdown for quick presets. The steps below cover both methods, plus how to handle dates that refuse to change because Excel stored them as text.
What You'll Need
- Excel for Windows, Mac, or the web (the desktop apps give the full Format Cells dialog; Excel for the web has a smaller set of format options).
- Cells that contain real dates, not text that looks like a date (see Troubleshooting if the format will not change).
- No add-ins or special permissions are required.
Step-by-Step
- Select the cells. Click the first cell, then drag to cover the range, or hold Ctrl (Cmd on Mac) to select non-adjacent cells. You can also select an entire column by clicking its letter. Formatting applies only to what is selected, so select everything you want changed.
- Open Format Cells. Press Ctrl+1 (Windows) or Cmd+1 (Mac). Alternatively, right-click the selection and choose Format Cells, or click the small arrow in the bottom-right corner of the Number group on the Home tab. Menu labels can differ slightly by version, device, and region.
- Go to the Number tab. In the Category list, click Date. The Type list shows the date layouts available in your copy of Excel. The sample box at the top previews how the first selected cell will look.
- Pick a layout. Common choices include 14-Mar-2012 (day-month-year with a three-letter month), 3/14/12 (month/day/year), and 14/3/2012 (day/month/year). The exact list depends on your region settings, so you may see more or fewer options than a colleague does.
- Check the Locale (location) setting. At the bottom of the Date category, the Locale dropdown controls which regional date styles appear. If you need a format that is not listed, change the locale to the relevant country and look again. This changes only how the value is displayed, not the underlying date.
- Apply and confirm. Click OK. The cells now show the chosen layout. If nothing changes, the cells are probably text; see Troubleshooting.
- Use the quick presets when you are in a hurry. On the Home tab, open the Number Format dropdown (it usually shows General or Date) and choose Short Date or Long Date. Short Date follows your Windows or Mac regional setting; Long Date spells out the day and month. To change what Short Date means, adjust the date settings in your operating system, not in Excel.
- Create a custom format if needed. In Format Cells, choose Custom and type a code in the Type box. For example, dd/mm/yyyy shows 14/03/2012, dddd, d mmmm yyyy shows Wednesday, 14 March 2012, and mmm-yy shows Mar-12. Codes are case-sensitive in places: mm means month, mm:ss means minutes and seconds, and yyyy is a four-digit year. Click OK to apply.
- Copy the format to other cells. Use the Format Painter on the Home tab: select a formatted cell, click Format Painter, then drag over the target cells. Alternatively, copy a formatted cell and use Paste Special > Formats.
- Save the workbook. Press Ctrl+S (Cmd+S on Mac). Date formats are saved with the file, so the next person who opens it sees the same layout.
Common Mistakes
- Formatting text instead of dates. If a cell is left-aligned by default and the format will not change, Excel is treating it as text. Formatting cannot convert text to a date; you must re-enter or convert the value.
- Confusing display with value. Changing the format does not change the stored date. A cell showing 03/04/2025 may still be 3 April or 4 March depending on how it was entered; the format only decides how it looks.
- Assuming everyone sees the same format. Short Date follows each computer's regional settings, so the same workbook can look different on another machine. Use an explicit format such as dd-mmm-yyyy when the file will be shared.
- Using the wrong custom code. mm is month and mm:ss is minutes and seconds. A code like m/d/yy can produce unexpected results if the regional order differs from what you intended.
- Formatting only one cell in a column. New rows typed below a formatted cell usually inherit the format, but pasted data may not. Reapply the format after pasting.
Tips
- For international files, a format like 14-Mar-2012 or yyyy-mm-dd avoids the day/month versus month/day ambiguity entirely.
- To apply a format to a whole column, click the column letter first, then open Format Cells. This keeps future entries consistent.
- If you only need a one-off label, you can type an apostrophe before the date to force text, but that value will no longer work in date calculations.
- Use Long Date for headings and reports where readability matters, and a short numeric format for dense tables.
- Keep one date format per column. Mixing formats in the same column makes sorting and filtering harder to read.
Troubleshooting
- The format will not change. The cell is likely text. Select it, check the alignment (text is left-aligned by default), and look for a green triangle warning. Use Data > Text to Columns, choose Delimited, click Next through the steps, set the column to Date with the correct order (MDY, DMY, or YMD), and finish. This rewrites the values as real dates. Alternatively, retype the date in a recognised order.
- Dates show as numbers such as 45000. The cell is formatted as General or Number. Open Format Cells and choose Date. The number is Excel's internal date serial, not an error.
- Some cells keep a different format after pasting. Use Paste Special > Values, then reapply the date format, or use Paste Special > Formats from a correctly formatted cell.
- The format list is shorter than expected. Change the Locale dropdown in the Date category, or check the regional date settings in your operating system, which drive the Short Date and Long Date presets.
- Dates sort incorrectly. Mixed text and real dates sort differently. Convert all values to real dates first, then sort. If the problem persists, check for leading spaces or non-breaking characters and remove them.
Frequently Asked Questions
Does changing the date format change the actual date?
No. Formatting changes only how the value is displayed. The stored date stays the same, and calculations use the stored value.
Why does my colleague see a different date format in the same file?
Short Date and Long Date follow each computer's regional settings. An explicit format such as dd-mmm-yyyy displays the same everywhere.
Can I set a default date format for all new workbooks?
Not directly for dates alone. Excel takes its default date styles from the operating system's regional settings, so changing those affects new entries. For a specific workbook, apply your preferred format to the cells you use.
How do I enter a date that Excel keeps misreading?
Type it in a recognised order for your region, or use an unambiguous format such as 14-Mar-2012. You can also pre-format the cell as Date before typing.
Why does my custom format show minutes instead of months?
In custom codes, mm next to seconds (ss) means minutes. Use mmm or mmmm for month names, and keep month and time codes in separate parts of the format.
Can I use a date format in Excel for the web?
Yes, but the web version offers fewer presets than the desktop apps. For full control, including custom codes and locale choices, use Excel for Windows or Mac.