Cellwise Start free

Excel guide · 5 min read

Excel date format not changing? Why, and how to fix it

Quick answerA number format only changes how a number looks, and real Excel dates are numbers. If picking a new date format does nothing, the cells hold text that looks like a date. Check with =ISNUMBER(B2): FALSE means text. Convert the text to real dates with =--B2 or Data > Text to Columns, and the format will apply.

Sample data

Every result on this page was calculated from this sheet by the same spreadsheet engine the Cellwise app uses.

ABCD
1InvoiceDate (from CSV)Typed dateLabel
2INV-104103/15/2026
3INV-10422026-03-18
4INV-104315/03/2026
5INV-104403/04/2026
6INV-104503/20/2026 
7INV-104620260325Mar 22, 202622/03/2026

Download this sheet as an Excel practice file (.xlsx)

Check first: is it a date or text?

Excel stores 15 March 2026 as the number 46096, a serial number that counts 1 January 1900 as day 1. A date format such as dd mmm yyyy tells Excel how to display that number. Text has no number underneath, so Ctrl+1 can change the format all day and nothing on screen moves.

Signs you have text: the dates sit on the left of the cell, the status bar shows a Count but no Sum when you select them, and they sort A to Z by the first character. ISNUMBER settles it. In the CSV export above, every value in column B is text, even though they look like dates.

=ISNUMBER(B2)

Result: FALSE

FALSE: "03/15/2026" in B2 is text, so no date format can change it. =ISNUMBER(C7) on the typed date returns TRUE.

Cause 1: the cell was formatted as Text before you typed

If a column is formatted as Text (often from a template or an import), everything typed into it is stored as text, dates included. Changing the format to Date afterwards does not convert what is already there. Excel only re-reads a cell when you enter it again, which is why pressing F2 and then Enter on one cell, after changing its format, suddenly "fixes" it.

For a whole column, re-entering by hand is not practical. Text to Columns makes Excel re-read every cell in one go.

  1. Select the date column (one column at a time), press Ctrl+1 and set it to General, so the converted values are not stored as text again.
  2. Go to Data > Text to Columns.
  3. Choose Delimited, click Next, clear every delimiter box and click Next again.
  4. Under Column data format choose Date and pick the order the text is in, such as MDY or DMY.
  5. Click Finish, then apply the date format you wanted with Ctrl+1.

Cause 2: text dates from an export

CSV files, web copy-paste and system exports often deliver dates as text. When the text is in an order your Excel understands, two minus signs (or DATEVALUE) convert it to the date number. The result may first show as a plain number like 46096; apply a date format and it becomes a date.

Use this in a helper column, then copy the results and use Paste Special > Values over the original column if you want to replace the text. Both "03/15/2026" and "2026-03-18" convert this way on a month-first system.

=--B2

Result: 46096 shows as 15 Mar 2026 with the custom dd mmm yyyy format

46096, the date number for 15 March 2026. Once it is a real date, the format works.

Cause 3: day and month in a different order

Excel reads text dates using your computer's regional settings. On a US system (month first), "15/03/2026" cannot be a date because there is no month 15, so DATEVALUE returns #VALUE! and the cell stays text. Worse, "03/04/2026" does convert, but as 4 March when the sender meant 3 April. Both problems come from a file made on a day-first system.

When the order does not match, rebuild the date from its parts with DATE, which works the same on every system. For yyyymmdd text such as "20260325", use =DATE(LEFT(B7,4),MID(B7,5,2),RIGHT(B7,2)). In Text to Columns, choosing DMY or YMD in step 3 does the same job without formulas.

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

Result: Mar 15, 2026

A real date for 15 March 2026, which now takes any date format you choose.

Cause 4: hidden spaces

Data copied from web pages and some exports carries a non-breaking space (character 160) at the start or end. It is invisible, but Excel does not treat it as a space, so the value is not recognized as a date, and TRIM alone does not remove it. "03/20/2026" in B6 is 11 characters long instead of 10, and =LEN(B6) gives it away.

Swap the non-breaking spaces for normal spaces, trim, then convert. If the dates also have ordinary leading spaces or line breaks, this one formula covers those too.

=--TRIM(SUBSTITUTE(B6,CHAR(160)," "))

Result: 46101 shows as 20 Mar 2026 with the custom dd mmm yyyy format

46101, the date number for 20 March 2026, ready to be formatted.

Causes 5 and 6: TEXT formulas and regional formats

If the cell holds a formula like =TEXT(C7,"dd/mm/yyyy") or ="Due "&C7, its result is text, so the Format Cells setting is ignored. Change the format code inside the TEXT function instead, or point the cell at the date itself (=C7) and format that.

The other surprise is a format that changes by itself on another computer. In Format Cells > Date, the formats marked with an asterisk (*) follow the computer's regional date setting, so a file shows 22/03/2026 on a UK computer and 3/22/2026 on a US one. To make a date look the same everywhere, choose Custom and type a code such as dd-mmm-yyyy.

=ISTEXT(D7)

Result: TRUE

TRUE: the label in D7 shows 22/03/2026 but it is text, so number formats cannot touch it.

Common mistakes

Changing the format again and again

If the first date format did nothing, the next one will not either. Check =ISNUMBER() and convert text first.

Converting day-first text on a month-first system with DATEVALUE

Days 13 and up fail with #VALUE!, and days 1 to 12 silently swap day and month. Use DATE with LEFT, MID and RIGHT, or Text to Columns with DMY.

Using TEXT to "fix" the format of a date column

TEXT returns text, so you lose sorting, filtering by date and date maths. Keep the real date and change its number format.

Formatting the column as Text before pasting data

Set the column to General or Date before you paste or type, or convert afterwards with Text to Columns.

FAQ

Why is my date format not changing in Excel?

The cells almost certainly hold text that looks like a date. Number formats only work on numbers. Check with =ISNUMBER(A2), then convert with =--A2, DATEVALUE or Data > Text to Columns and apply the format again.

Why does my date show as a number like 46096?

That is the real date, formatted as General or Number. Press Ctrl+1, choose Date or a custom code like dd/mm/yyyy, and it shows as a date. This is the good case: the value is a real date.

Why do my dates change format when I send the file?

Formats with an asterisk in the Date list follow each computer's regional settings. Use a custom format code like dd-mmm-yyyy so every computer shows the date the same way.

Why does my date format show ######?

The column is too narrow for the formatted date, or the value is a negative number, which cannot be shown as a date. Widen the column, or check the value if it is the result of subtracting dates.

How do I change all dates to the same format in Excel?

Make sure every cell is a real date (=ISNUMBER returns TRUE), then select the column, press Ctrl+1, choose Custom and type the format, for example dd/mm/yyyy. Cells that do not change are still text.

Functions used

Related guides

Updated