Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
A file I download from a mainframe has date data in it in a ddmmyyyy format.
Example, 1/1/2007 comes across as 1012007. How do I convert to a dd/mm/yyyy format? Thanks Bill Falzone |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
hi,
you might try a formula like this.... =LEFT(B3,1) & "/" & MID(B3,2,2) &"/" & RIGHT(B3,4) I tried it on the example you gave and it took. and is treated by excel as a date because i can add 1 to the results and get 1/2/2007. regards FSt1 "billbrandi" wrote: A file I download from a mainframe has date data in it in a ddmmyyyy format. Example, 1/1/2007 comes across as 1012007. How do I convert to a dd/mm/yyyy format? Thanks Bill Falzone |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thank you
"FSt1" wrote: hi, you might try a formula like this.... =LEFT(B3,1) & "/" & MID(B3,2,2) &"/" & RIGHT(B3,4) I tried it on the example you gave and it took. and is treated by excel as a date because i can add 1 to the results and get 1/2/2007. regards FSt1 "billbrandi" wrote: A file I download from a mainframe has date data in it in a ddmmyyyy format. Example, 1/1/2007 comes across as 1012007. How do I convert to a dd/mm/yyyy format? Thanks Bill Falzone |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
It might be easier to use datatext to columns if you do this on a regular
basis select the column with the dates. do datatext to column, click next twice, under column data format select Date and DMY from dropdown, click finish record macro while doing it and attach a keyboard shortcut for next time -- Regards, Peo Sjoblom "billbrandi" wrote in message ... Thank you "FSt1" wrote: hi, you might try a formula like this.... =LEFT(B3,1) & "/" & MID(B3,2,2) &"/" & RIGHT(B3,4) I tried it on the example you gave and it took. and is treated by excel as a date because i can add 1 to the results and get 1/2/2007. regards FSt1 "billbrandi" wrote: A file I download from a mainframe has date data in it in a ddmmyyyy format. Example, 1/1/2007 comes across as 1012007. How do I convert to a dd/mm/yyyy format? Thanks Bill Falzone |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Date Conversion | Excel Discussion (Misc queries) | |||
Date conversion | Excel Discussion (Misc queries) | |||
Date Conversion - sorry | New Users to Excel | |||
Date conversion | Excel Discussion (Misc queries) | |||
Date Conversion | Excel Discussion (Misc queries) |