Date format issue in a worksheet

sharshra

Active Member
Joined
Mar 20, 2013
Messages
404
Office Version
  1. 365
I´m using a spreadsheet where date column is formatted as d-mmm-yy. It was working correctly all these days. Suddenly, it started showing the serial number instead of date. No format change was done. I even tried to insert a new column, format that in d-mmm-yy & enter date, but it still shows the number. In the entire worksheet it shows the serial number only even the format is done for d-mmm-yy. I´m not facing this problem in other worksheets.

It is strange issue. The entire worksheet is not accepting any date format & displays the serial number. It appears as if the worksheet is locked for date format!!! Did anyone come across such issue? Any suggestions from experts please?
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Sample attached. All cells were formatted in d-mmm-yy & was working correctly. I don´t know what has changed today & it started displaying serial numbers.

trial.xlsx
C
2Date
445491
545491
645491
745498
A
Cells with Conditional Formatting
CellConditionCell FormatStop If True
 
Upvote 0
What happens if you enter this formula in any blank cell?
Excel Formula:
=ISNUMBER(C2)

If it returns FALSE (which I expect it will), it means that you have Text entries, and not valid Date/Number entries.
Formatting only applies to entries enter as Dates/Numbers. It does not apply to any Text entries (even Numbers/Dates entered as Text).

The good news is there is any easy way to quickly convert them from Text entries to Date/Numeric ones.
Just select the whole column, go to the Data menu and select "Text to Columns" and then click Finish.
This will convert them all, and then your formatting will be applied to those and you will see it as the dates you expect.
 
Upvote 0
@Joe4, Thanks for your suggestion. But, something strange is happening. When I enter the formula, I see the whole formula instead of result. Calculation option in formulas menu is set to automatic.

Also tried text to columns but it is not changing to date :(


1725627800068.png


1725627849105.png
 
Upvote 0
That happens when that cell is also formatted to "Text".
I think that is the issue you are having, all your columns are set to "Text", so all entries are being entered as Text!
Change the format of that cell/column to "General" before entering the formula.

And you may want to re-format your sheet so that all columns where you might be entering data are not set to Text.
 
Upvote 0
Oops....I noticed that `Show formula´ was selected :oops: I de-selected it & I can see the correct results. Dates are appearing as dates ;)
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,179
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top