![]() |
How do I convert 20091115 to date format in excel?
I have excel 2007 and run a query out of Oracle. The dates appear as
YYYYMMDD and I need for excel to recognize this as a date. |
How do I convert 20091115 to date format in excel?
=DATE(LEFT(A1,4),MID(A1,5,2),RIGHT(A1,2))
-- Gary''s Student - gsnu200909 "dadams" wrote: I have excel 2007 and run a query out of Oracle. The dates appear as YYYYMMDD and I need for excel to recognize this as a date. |
How do I convert 20091115 to date format in excel?
It worked fabulously, thanks!
"Gary''s Student" wrote: =DATE(LEFT(A1,4),MID(A1,5,2),RIGHT(A1,2)) -- Gary''s Student - gsnu200909 "dadams" wrote: I have excel 2007 and run a query out of Oracle. The dates appear as YYYYMMDD and I need for excel to recognize this as a date. |
How do I convert 20091115 to date format in excel?
Just for info.
If you select the column of dates and DataText to ColumnsNextNextColumn Data FormatDateYMD and Finish, you will get real dates. Gord Dibben MS Excel MVP On Wed, 2 Dec 2009 11:28:01 -0800, dadams wrote: It worked fabulously, thanks! "Gary''s Student" wrote: =DATE(LEFT(A1,4),MID(A1,5,2),RIGHT(A1,2)) -- Gary''s Student - gsnu200909 "dadams" wrote: I have excel 2007 and run a query out of Oracle. The dates appear as YYYYMMDD and I need for excel to recognize this as a date. |
How do I convert 20091115 to date format in excel?
i think you can open an excel file in 2003. once in 2003 excel click the cell
and go to format. then on the number tab find date. click ok. youre done "dadams" wrote: I have excel 2007 and run a query out of Oracle. The dates appear as YYYYMMDD and I need for excel to recognize this as a date. |
How do I convert 20091115 to date format in excel?
Another one...
A1 = 20091115 =--TEXT(A1,"0000\/00\/00") Format as Date -- Biff Microsoft Excel MVP "dadams" wrote in message ... I have excel 2007 and run a query out of Oracle. The dates appear as YYYYMMDD and I need for excel to recognize this as a date. |
All times are GMT +1. The time now is 04:35 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com