Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Handling date formats...

SO I know all about using the custom option in format cells, but this only
works if I have something in a format excel recognizes, right?

I have lists of dates printed out in yyyymmdd format, and I want that to be
converted to dd/mm/yyyy. How do I do this?

Thanks,
Morgs
  #2   Report Post  
Posted to microsoft.public.excel.misc
ame ame is offline
external usenet poster
 
Posts: 1
Default Handling date formats...

Try selecting format, number tab, custom, dd/mm/yyyy.

"Morgs" wrote:

SO I know all about using the custom option in format cells, but this only
works if I have something in a format excel recognizes, right?

I have lists of dates printed out in yyyymmdd format, and I want that to be
converted to dd/mm/yyyy. How do I do this?

Thanks,
Morgs

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,311
Default Handling date formats...

Here's a clunky way you could do it. In another column you could use this
formula and copy it down as needed.
=TEXT(DATE(LEFT(A1,4),MID(A1,5,2),RIGHT(A1,2)),"dd/mm/yyyy")

or

=RIGHT(A1,2) & "/" & MID(A1,5,2) & "/" & LEFT(A1,4)


HTH,
Paul

"Morgs" wrote in message
...
SO I know all about using the custom option in format cells, but this only
works if I have something in a format excel recognizes, right?

I have lists of dates printed out in yyyymmdd format, and I want that to
be
converted to dd/mm/yyyy. How do I do this?

Thanks,
Morgs



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,202
Default Handling date formats...

Here's a clunky way you could do it. In another column you could use this
formula and copy it down as needed.
=TEXT(DATE(LEFT(A1,4),MID(A1,5,2),RIGHT(A1,2)),"dd/mm/yyyy")

or

=RIGHT(A1,2) & "/" & MID(A1,5,2) & "/" & LEFT(A1,4)


Or even... =TEXT(TEXT(A1,"0000-00-00"),"dd/mm/yyyy")

Rick

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Handling date formats...

If those values are in a single column, you can use:
Data|Text to columns|fixed width (but don't draw any lines)
and choose ymd as the date format.

After you finish that step, you can apply the date format you want to make it
look pretty.

If you have multiple columns, you have to do each separately.

Morgs wrote:

SO I know all about using the custom option in format cells, but this only
works if I have something in a format excel recognizes, right?

I have lists of dates printed out in yyyymmdd format, and I want that to be
converted to dd/mm/yyyy. How do I do this?

Thanks,
Morgs


--

Dave Peterson


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
Date Formats Denise Excel Discussion (Misc queries) 4 April 4th 07 08:41 PM
Date formats Craig Excel Discussion (Misc queries) 2 January 10th 07 10:30 PM
Date Formats Greenback Excel Discussion (Misc queries) 5 August 15th 06 08:32 AM
date formats Matt Excel Discussion (Misc queries) 2 May 17th 06 07:52 AM
Date formats JR Excel Discussion (Misc queries) 1 June 1st 05 12:04 AM


All times are GMT +1. The time now is 08:04 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"