Excel Convert Text to Date Dd/mm/yyyy

If you just need to excel convert text to date dd/mm/yyyy and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

In Excel: use =DATEVALUE(A2) when the text is in your regional order, or Data ▸ Text to Columns ▸ Next ▸ Next ▸ Date ▸ pick the order (DMY/MDY/YMD) ▸ Finish when it is not.

On this page7
Annotated stepsExcel
1

Confirm the problem: dates as text left-align by default and =ISTEXT(A2) returns TRUE.

2

Try =DATEVALUE(A2) first — if it works, copy the results and Paste Special ▸ Values over the original column.

3

If it returns #VALUE!, use Data ▸ Text to Columns, click Next twice, set Column data format to Date and choose the order that matches the text (DMY, MDY or YMD), then Finish.

4

For fixed-width strings like 20260413, build it with =DATE(LEFT(A2,4), MID(A2,5,2), RIGHT(A2,2)).

5

Strip stray spaces first with =TRIM(A2) and non-breaking spaces with =SUBSTITUTE(A2, CHAR(160), "") — imported data is full of both.

6

Format the result cells as Date, since all three routes return a serial number.

=DATEVALUE(A2)
Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

What this does

A date that arrived as text sits left-aligned, ignores date formats and returns nothing useful from date arithmetic. Three routes fix it. DATEVALUE parses a text date into a serial number, but only in the order your Windows/Mac regional settings expect — feed it "13/04/2026" on a US machine and it returns #VALUE!. Text to Columns is the reliable one, because step 3 lets you state the order explicitly. And for anything Excel refuses to parse, DATE with LEFT/MID/RIGHT builds the date from its pieces. Whichever route you take, the result is a serial number, so format the cell as a Date afterwards. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. Treat “excel convert text to date dd/mm/yyyy” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected cells shows up while it is still harmless. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That turns a data step that keeps your analysis trustworthy into a method you can reuse, explain, and defend when the workbook leaves your screen.

A worked example

A2 holds the text 13/04/2026 on a machine set to US formats. =DATEVALUE(A2) returns #VALUE!. Instead: select the column ▸ Data ▸ Text to Columns ▸ Delimited ▸ Next ▸ Next ▸ Column data format: Date ▸ DMY ▸ Finish. The cells become real dates and right-align. For a stubborn format like 20260413, =DATE(LEFT(A2,4), MID(A2,5,2), RIGHT(A2,2)) returns 13 April 2026. A quick test for whether a cell is text: =ISTEXT(A2), or check whether it left-aligns by default. Every export, CSV and copy-paste from a web page arrives with dates as text, and until they are real serial numbers nothing sorts, filters, subtracts or pivots by date correctly. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.

In Google Sheets

Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. Keep this page bookmarked for the next time the same question comes up. Better still, repeat the steps once in your own workbook — doing it yourself is what turns a copied answer into something you remember. The short version of “excel convert text to date dd/mm/yyyy”: the answer is at the top of this page, the tool proves it on your own numbers, and the sections above explain why it holds so the next variation does not stump you. Excel rewards people who reference cells instead of typing values and who keep inputs separate from formulas, because that is what makes a result you can audit months later. Build it once, deliberately, with the live tool as a check, and you convert a one-off lookup into a reusable skill — which is the whole point of learning the why and not just the what.

Common mistakes

  • Applying a date format to text and assuming it converted — formatting changes appearance, never the underlying type.
  • Using DATEVALUE on a text order that differs from the machine's regional setting, which silently returns #VALUE! or, worse, a valid but wrong date when day and month are both ≤ 12.
  • Forgetting that a trailing non-breaking space from a web paste blocks every parser.
  • Converting on one machine and shipping the workbook to a region with different settings, when Text to Columns with an explicit order would have been unambiguous.

Frequently asked questions

How do I convert text to a date in Excel?

=DATEVALUE(A2) works when the text matches your regional date order. When it does not, use Data ▸ Text to Columns and set the column format to Date with the correct DMY/MDY/YMD order.

Why does DATEVALUE return #VALUE!?

The text is not in the order your system expects, or it contains stray spaces. Clean it with TRIM and SUBSTITUTE(A2,CHAR(160),""), or use Text to Columns where you state the order yourself.

How do I tell whether a cell is a real date?

Real dates right-align by default and =ISNUMBER(A2) returns TRUE. Text dates left-align and =ISTEXT(A2) returns TRUE.

How do I convert 20260413 to a date?

Build it from the pieces: =DATE(LEFT(A2,4), MID(A2,5,2), RIGHT(A2,2)). Text to Columns with the YMD format also handles it.

Other ways people ask this

On the way here you may have searched this as “excel convert text to date mm dd yyyy”, “excel convert text to date dd mm yyyy” and “excel convert text to date mm/dd/yyyy” — it is all the same task, and this page is the single, complete answer to it.

Why do people search for this in so many different ways?

Because the same task has many names. “excel convert text to date mm dd yyyy”, “excel convert text to date dd mm yyyy”, “excel convert text to date mm/dd/yyyy” all point at the one operation explained on this page, which is why they all lead here.