Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default 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.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default 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.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default 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.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default 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.


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default 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.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default 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.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert Julian Date Format to Excel Pablo Excel Discussion (Misc queries) 1 January 15th 08 01:14 AM
convert julian date format to excel Pablo Excel Discussion (Misc queries) 1 January 14th 08 10:44 PM
convert Julian Date Format to Excel Pablo Excel Discussion (Misc queries) 2 January 14th 08 08:40 PM
How do I get my Excel not to convert everything to date format? AkelA Excel Discussion (Misc queries) 3 July 11th 07 04:41 PM
How can I convert a date format to an ISO week format (in EXCEL)? ELI Excel Discussion (Misc queries) 2 July 6th 05 06:31 PM


All times are GMT +1. The time now is 10:47 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"