Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Help with Excel Dates
HELLLLP !!!! :D
Ok I have a database at work that when extracted from Foxpro to Access and then to Excel so that i can finaly work with it, all the fields (which are numbers) are stored as text. After converting all the fields (thanks to another post showing that you can copy blank cells over your data using the add and value options in paste special) my dates are all messed up. What is happening is that the date is stored as a number in the following format "yyyymmdd". Example "20010123". When you try and convert that to a date it gives me an infinate number of #. How do i convert this format into a date i can actualy use in excel in a date field?? Thanks Andrew |
#2
|
|||
|
|||
=VALUE(RIGHT(A1,2)&"/"&MID(A1,5,2)&"/"&LEFT(A1,4)) and format the cell as
date (if necessary). -- Ian -- wrote in message oups.com... HELLLLP !!!! :D Ok I have a database at work that when extracted from Foxpro to Access and then to Excel so that i can finaly work with it, all the fields (which are numbers) are stored as text. After converting all the fields (thanks to another post showing that you can copy blank cells over your data using the add and value options in paste special) my dates are all messed up. What is happening is that the date is stored as a number in the following format "yyyymmdd". Example "20010123". When you try and convert that to a date it gives me an infinate number of #. How do i convert this format into a date i can actualy use in excel in a date field?? Thanks Andrew |
#3
|
|||
|
|||
That was amazlingly quick
Thanks a bunch |
#4
|
|||
|
|||
Happy to help.
-- Ian -- wrote in message oups.com... That was amazlingly quick Thanks a bunch |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I calculate duration between two dates and times in excel? | Excel Discussion (Misc queries) | |||
Excel Range Value issue (Excel 97 Vs Excel 2003) | Excel Discussion (Misc queries) | |||
Ensure dates imported into Excel 2003 are shown in DD/MM/YYY form. | Excel Discussion (Misc queries) | |||
dates in Excel 2003 | Excel Discussion (Misc queries) | |||
how do I show dates in a column in an excel worksheet? | Excel Discussion (Misc queries) |