How to Change mm/dd/yyyy to dd/mm/yyyy in Excel

Last updated on November 17th, 2026 at 03:15 pm

Select the date cells, press Ctrl+1 to open Format Cells, pick Custom in the Category list on the Number tab, type dd/mm/yyyy in the Type box and select OK. A date such as 03/14/2026 then shows as 14/03/2026; only the display changes. Text that merely looks like dates, common in pasted web data or US-made CSV files, must be converted first. Excel for Microsoft 365, 2024 and 2021 on Windows all work this way.

Pick the right method

Your situationWhat to use
The dates are right-aligned and you only want them to look day-firstCustom format dd/mm/yyyy
You want the standard UK style, with options such as 14 March 2026A built-in format with a day-first locale
The dates are left-aligned (stored as text in month-first order)Convert the text to real dates, then format
You need the day-first date inside a sentence, label or file nameThe TEXT function
You import the same kind of file regularlySet the date order during import
Every workbook on your PC should default to day-firstChange the Windows regional format

First, check whether the cells hold real dates

Excel stores a date as a serial number that counts days. January 1, 2008 is serial number 39448, and March 14, 2026 is 46095. A format such as mm/dd/yyyy or dd/mm/yyyy is just a display style laid over that number, which is why changing it is safe.

A format can only rearrange a value that Excel sees as a date. Two quick checks:

  • Alignment. With default alignment, real dates sit on the right side of the cell and text dates sit on the left.
  • The General test. Select one cell and choose General from the number format box on the Home tab. A real date turns into a five-digit number such as 46095; text stays exactly as it was. Press Ctrl+Z to undo the test.

Method 1: Apply the custom format dd/mm/yyyy

  1. Select the date cells. Click a column letter to select the whole column, or drag over a range.
  2. Press Ctrl+1. You can also right-click the selection and choose Format Cells. The Format Cells dialog box opens.
  3. Select the Number tab. It holds the Category list on the left.
  4. Select Date, then pick any format under Type. This loads a date code you can edit, which is the starting point Microsoft recommends.
  5. Select Custom in the Category list. The code of the format you just picked appears in the Type box.
  6. Replace the code with dd/mm/yyyy. That means a two-digit day, a two-digit month and a four-digit year. The Sample area shows a preview using the first selected cell.
  7. Select OK. 03/14/2026 now reads 14/03/2026, and 12/25/2026 reads 25/12/2026.
Illustration of the path to dd/mm/yyyy in Excel: select the dates, press Ctrl+1, Number tab, Custom, type dd/mm/yyyy, OK
Illustration: the Format Cells path for showing Excel dates as dd/mm/yyyy.

Editing the code does not alter the built-in format you started from; Excel saves your version as a new custom format. Because the code has no asterisk, the day-first order also stays fixed when the file is opened on a computer with US regional settings.

Other day-first styles

The codes combine freely: d and m drop leading zeros, mmm and mmmm show Mar or March, and yy shortens the year. So dd-mm-yyyy gives 14-03-2026, d/m/yy gives 14/3/26, and dd mmmm yyyy gives 14 March 2026. If you add a time, keep the parts apart, as in dd/mm/yyyy hh:mm: an m placed right after h or right before ss shows minutes instead of the month.

Method 2: Use a built-in format with a day-first locale

If you’d rather choose from a list than type a code, the Date category can show the formats used in another country or region.

  1. Select the date cells and press Ctrl+1.
  2. On the Number tab, select Date.
  3. Open the Locale (location) list below the Type list and choose a day-first locale, such as English (United Kingdom).
  4. Pick a format in the Type list, such as the one showing 14/03/2012, and check the Sample.
Format Cells dialog with the Date category and the English (United Kingdom) locale selected so the sample shows 14/03/2026
In Date formats, select English (United Kingdom), choose the non-asterisk 14/03/2012 type and check the 14/03/2026 sample. This recreated dialog changes the display of the selected fictional dates.
  1. Select OK.

This applies only to the selected cells. Look out for formats in the Type list that begin with an asterisk (*): those follow the Windows regional date settings, so they can switch back to month-first on another person’s computer. For a fixed result, pick a format without an asterisk or use Method 1.

Convert month-first text into real dates

When Excel can’t read an entry as a date, it keeps it as text. This happens most often when your PC uses day-first dates and the data came from a month-first source. In that situation, 03/14/2026 stays text (there is no month 14), while 04/05/2026 may be read as 4 May instead of April 5. Convert the original text with one of the methods below, then apply dd/mm/yyyy.

Option A: Text to Columns with the MDY date order

This converts a whole column in place without any formulas, so it’s usually the quickest fix for a long list.

  1. Select the column of text dates. Make sure the column to its right is empty or that you set a separate destination later, so nothing gets overwritten.
  2. On the Data tab, in the Data Tools group, select Text to Columns.
  3. Choose Delimited and select Next.
  4. On the delimiters page, clear any delimiter that appears inside your dates (for example, don’t check Other with a slash), then select Next. The preview should show each date in one piece.
  5. Under Column data format, select Date and choose MDY from the list, because the text is written month first.
Text to Columns wizard step 3 with Date and MDY selected under Column data format
Choose Date and MDY because the source text is month-first. This recreated wizard previews each date in one column; apply dd/mm/yyyy after conversion.
  1. Select Finish. The entries move to the right side of the cells as real dates.
  2. Apply dd/mm/yyyy with Method 1.

The date order you choose describes how the text is written now, not how you want it to look. Picking DMY here would read 03/14/2026 as the 3rd day of a 14th month and fail. More ways to use this wizard are in this walkthrough on splitting columns with Text to Columns.

Option B: Rebuild each date with a formula

A formula leaves the original text untouched. The DATE function takes its arguments as DATE(year,month,day), so you pull those pieces out of the text. For text in cell A2 that always uses two digits for the month and day (such as 03/14/2026):

=DATE(RIGHT(A2,4),LEFT(A2,2),MID(A2,4,2))

RIGHT takes the year (2026), LEFT takes the month (03) and MID takes the two characters starting at position 4, which are the day (14). The result is the real date March 14, 2026, ready for the dd/mm/yyyy format.

If some dates have one-digit months or days (3/9/2026), the fixed positions no longer line up. This version finds the slashes instead:

=DATE(RIGHT(A2,4),LEFT(A2,FIND(“/”,A2)-1),MID(A2,FIND(“/”,A2)+1,FIND(“/”,A2,FIND(“/”,A2)+1)-FIND(“/”,A2)-1))

It turns 3/9/2026 into March 9, 2026 and 12/5/2026 into December 5, 2026. Fill either formula down, then copy the results and use Paste Special > Values if you want to replace the originals.

Watch the column order. DATE doesn’t reject impossible values; it rolls them forward. If a cell actually holds day-first text such as 14/03/2026, the month-first formula asks for month 14, day 3 and returns February 3, 2027 with no error. Spot-check a few rows where the first number is above 12. If your text is already day-first and you need real dates on a US-configured PC, swap the pieces: =DATE(RIGHT(A2,4),MID(A2,4,2),LEFT(A2,2)). For other formula-based conversions, see changing the date format in Excel with a formula.

When DATEVALUE is enough

=DATEVALUE(A2) converts text to a date serial number, but it reads the text using your computer’s system date setting. On a PC set to US dates it converts 03/14/2026 correctly; on a PC set to day-first dates the same text can return #VALUE!, and 04/05/2026 may come back as May 4. Use DATEVALUE only when the text order matches your Windows setting, and format the result as a date afterward, because it first appears as a number.

Text dates with two-digit years

Select the cells, select the error button that appears beside them, and choose Convert XX to 20XX or Convert XX to 19XX. If no button appears, turn on Enable background error checking and Cells containing years represented as 2 digits in File > Options > Formulas.

Does this work on a Mac or in Excel for the web?

Microsoft’s date-format instructions also apply to Excel for Microsoft 365 for Mac, and the custom code dd/mm/yyyy is the same there. Menu names and shortcuts may differ, so check the macOS tab on Microsoft’s page on formatting dates. In Excel for the web, look for More Number Formats at the bottom of the number format list on the Home tab.

Once the dates read day-first, sort the column oldest to newest as a final check: a sensible order means Excel is treating them as real dates. Microsoft’s article on converting dates stored as text to dates covers more text-date cases, and the Power Query locale page explains the import settings in detail.

Show dd/mm/yyyy as text with the TEXT function

To put a day-first date into a heading or a joined string, use TEXT in another cell. With a real date in A2:

=TEXT(A2,”dd/mm/yyyy”) returns 14/03/2026
=”Due: “&TEXT(A2,”dd mmmm yyyy”) returns Due: 14 March 2026

The result is text, not a date, so it won’t sort by date or work in date math. Keep the original date in its own cell and point calculations at that cell. TEXT also needs a real date in A2; if A2 holds text, convert it first.

Set the date order while importing

An entry such as 04/05/2026 could be April 5 or May 4, and nothing in the characters tells Excel which. Stating the order at import time avoids repairs later. For the full import process, see how to import a CSV file into Excel.

Power Query (Data > Get Data)

Power Query reads dates using the operating system’s locale unless you tell it otherwise.

  1. Open the Power Query Editor. For data that’s already loaded through Power Query, select a cell in it and choose Query > Edit. For a new file, start from Data > Get Data and choose to transform the data instead of loading it straight away.
  2. Right-click the date column header and select Change Type > Using Locale.
  3. Choose Date as the data type and English (United States) as the locale, because that’s how the source writes dates.
  4. Select OK, then Close & Load.

If settings disagree, the Change Type setting wins over the Power Query option, which wins over Windows. Once the column loads as real dates, apply dd/mm/yyyy with Method 1. The locale step is saved as part of the query.

The legacy Text Import Wizard

Excel still supports this older wizard for compatibility. To show it, go to File > Options > Data and select From Text (Legacy) under Show legacy data import wizards. In Step 3 of 3, select Date and MDY under Column data format. If the order doesn’t fit the data, Excel imports the column as General.

Make day-first the default on your PC

If you want new dates in every workbook to default to day-first, change the Windows regional format instead of formatting each sheet.

  1. Press Windows key + I to open Settings.
  2. Select Time & language > Language & region.
  3. Under Regional format, choose a day-first country or region, such as English (United Kingdom).

This changes the asterisk (*) formats, the default format Excel gives dates you type, and how DATEVALUE reads text. Other apps that follow Windows settings change too. On Windows 10 the setting is under Settings > Time & Language > Region; the full set of options is explained in changing the date format in Windows 10. Work and school PCs may have these settings locked, in which case a custom format in the workbook is the way to go.

Confirm the change, or switch back

Check a date whose day is greater than 12. It should now start with the day, as in 25/12/2026. Dates such as 04/05/2026 look plausible either way, so they prove nothing.

Excel column of right-aligned dates displayed as dd/mm/yyyy, with 25/12/2026 selected
The right-aligned results are real dates displayed day-first. A4 shows 25/12/2026, so the first number is clearly the day; the formula bar uses the example PC’s US date order.

To return to month-first, select the cells, press Ctrl+1, choose Custom and type mm/dd/yyyy. Since only the display changes, you can switch as often as you like without altering the stored dates.

##### and half-converted dates

The cells show #####

The new format is wider than the column. Double-click the right edge of the column heading to fit it.

Some dates changed and others didn’t

That’s the classic sign of a mixed column: entries Excel could read (often with the day and month swapped) became dates, and the rest stayed text. Formatting can’t untangle the swapped ones, because their original text is gone. Reopen or re-import the source file and use Text to Columns, Power Query with a locale, or the legacy wizard with MDY. If Excel keeps converting your entries in ways you don’t want, the fixes in stopping Excel from changing numbers to dates can help.

The dates look different on a colleague’s PC

The cells probably use an asterisk format. Apply the custom dd/mm/yyyy code instead.

Related guides