Solved

Excel 2010 changing numbers to "12:00 AM"

Posted on 2013-02-01
6
392 Views
Last Modified: 2013-02-08
Has anyone ever had a problem where Excel 2010 will change numbers that may be formatted as General, Currency, Dates or Times just change all the numbers so they display as "12:00 AM" and formatted as Time?  And then when you look in the formula bar, it will display both a date and time, but they're dates like 4/12/1909 or 8/24/2139.  It's just goofy.  So then you highlight the entire column, and change the formatting to GENERAL, and the original numbers that were typed in display just fine.  Why is this happening?  It's happening on more than one document, and the user says it's been happening since she's been upgraded to Excel 2010.  Some of her data is fine, and then others are not.  She is saving her files into the new .xlsx format.  Any suggestions?????

I've attached a file so you can see what I'm talking about.  Look at columns I and J.  The original file had more worksheets in it, but I deleted those.
Experts-exchange-file.xlsx
0
Comment
Question by:esu4236
  • 3
  • 2
6 Comments
 
LVL 14

Accepted Solution

by:
Faustulus earned 500 total points
ID: 38845659
Unfortunately, your problem is a common one and seems to be without fix.
In order to prevent Excel from converting your numbers into dates you must enter them as Text. Individually, you can do that by preceding each entry with an apostrophe. The apostrophe will not be displayed but Excel will treat the number as text and, therefore, not change it into a date. Collectively, you can change the number format to Text (not General) for the entire column. Unfortunately, you have to do this before Excel has done its conversion trick.
0
 
LVL 22

Expert Comment

by:Flyster
ID: 38845764
The numbers you describe are normal for dates. We may enter 2/1/13, but Excel sees it as 41306, which is the number of days that have past since 1/1/1900. If you enter 41306, then format it as date and time you will get 2/1/13 12:00:00 AM. Enter 41306.00001 and it becomes 2/1/13 12:00:01 AM. Everything left of the decimal is the date and everything right is the time. When you enter 2/1/13, Excel automatically formats that cell to a date. If you copy and paste in a different cell, that cell will become a date also. SO, have I seen this done on it's own, no. I'm guessing the columns were originally formatted as a date which is why they're displayed as such.

Flyster
0
 
LVL 14

Expert Comment

by:Faustulus
ID: 38847779
It isn't necessary for the cells to have been formatted as Date previously. Rather, the unwanted change seems associated with the upgrade to a newer version of Excel.
0
Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

 

Author Comment

by:esu4236
ID: 38851454
Yes, it definitely started happening after the upgrade.  The numbers were probably formatted as just GENERAL previous to the update, but then the system is changing them to a date format.

I am aware that Excel stores dates and times as serial numbers.  I really don't believe these columns were formatted as dates before.  

So nothing else we can do but to change the format back to General or Text?
0
 
LVL 14

Expert Comment

by:Faustulus
ID: 38853546
If you have access to the original files you can format the columns to Text and THEN convert to a newer Excel version. The gurus say that this would prevent the conversion. If it doesn't there are other means of doing the same thing. However, once the data have been "converted" they have, effectively, been destroyed and can't be recovered.
So, I should ask the question: Is your problem that you lost data and want them back? The answer is no. Is your problem that you still have the data but can't use them in the newer version of Excel? Try formatting as Text and see if that helps. If it doesn't help, insert a helper column, convert the data using the TEXT() function, replace the formulas by values (Copy/PasteSpecial: Values) and then replace the original column with the helper column.
0
 

Author Closing Comment

by:esu4236
ID: 38869070
Thanks for the input on this!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question