ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I convert 20091115 to date format in excel? (https://www.excelbanter.com/excel-discussion-misc-queries/249889-how-do-i-convert-20091115-date-format-excel.html)

dadams

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.

Gary''s Student

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.


dadams

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.


Gord Dibben

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.



excelguy[_2_]

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.


T. Valko

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