Number being converted into a date by Excel

missmary4

New Member
Joined
Dec 26, 2006
Messages
22
Hello,

I have a product number 11-3560 that, when exported into a .csv file from a website, gets automatically converted into a date. When I change the format back to Number, it changes the value to 606609.00 (the numerical date equivalent of the incorrectly used date).

Does anyone know how I can restore the cell to its original numeric value? Unfortunately I can't just use an apostrophe to ignore Excel's auto format since it is exported from an external website.

You will notice too, if you type this number directly into a blank cell, it will do the same thing (if it is in General format).

Thank you!
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
There is an option in the driver when you import TXT, CSV, xlsx, xls, etc that will let you select the particular column and select the import as TEXT. This way excel doesn't guess for you Excel 2013 64 bit import driver: 1. Delimited, Fixed, My data has headers. 2. Tab, Semicolon, comma, space, other, 3. General, Text, Date, Do not import this column and Advanced " Remember to select the pertinent column and then select the desired format 3. Finish
 
Upvote 0
There is an option in the driver when you import TXT, CSV, xlsx, xls, etc that will let you select the particular column and select the import as TEXT. This way excel doesn't guess for you Excel 2013 64 bit import driver: 1. Delimited, Fixed, My data has headers. 2. Tab, Semicolon, comma, space, other, 3. General, Text, Date, Do not import this column and Advanced " Remember to select the pertinent column and then select the desired format 3. Finish

This sounds perfect; I used the text import wizard on the data tab and performed the operations you mentioned. Strange though, that even when I changed the column to TEXT format, the number still says Nov-60 for this part. But the cell states it is TEXT. There must be some other issue I am overlooking.

Thank you again.
 
Last edited:
Upvote 0
This sounds perfect; I used the text import wizard on the data tab and performed the operations you mentioned. Strange though, that even when I changed the column to TEXT format, the number still says Nov-60 for this part. But the cell states it is TEXT. There must be some other issue I am overlooking.

Thank you again.

Please read this article Excel JULIAN DATE?? IF the answer is not there I will give it a try on Monday. You have a number that is probably a Julian number. here in this post you will find diferent ways to convert to date. It might be also just the 1900 series date format that excel uses. I Hope is helps. I have a question. Are you importing a csv into excel or exporting from the internet a file and it creates automatically a csv file. Regards, Mario
 
Upvote 0

Forum statistics

Threads
1,214,522
Messages
6,120,020
Members
448,938
Latest member
Aaliya13

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