Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I change an 8 digit reversed date number into a date

Example - to change 20090331 into 31/03/2009
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 248
Default How do I change an 8 digit reversed date number into a date

With the string in A1 use this in B1
=DATE(LEFT(A1,4),MID(A1,5,2),RIGHT(A1,2))

-------------------------------------
Pl. click ''Yes'' if this was helpful...



"jrnbru59" wrote:

Example - to change 20090331 into 31/03/2009

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 515
Default How do I change an 8 digit reversed date number into a date

=DATE(LEFT(A1,4),MID(A1,5,2),RIGHT(A1,2)) will change it inot a date number,
which you can then format to show yyyy/mm/dd, or dd/mm/yyyy

--

HTH

Kassie

Replace xxx with hotmail


"jrnbru59" wrote:

Example - to change 20090331 into 31/03/2009

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default How do I change an 8 digit reversed date number into a date

Try this...

Select the cell(s) you want to convert
Goto the menu DataText to Columns
Click Next twice
In step 3 of the wizard, under Column data format select Date
In the drop down select YMD
Finish

--
Biff
Microsoft Excel MVP


"jrnbru59" wrote in message
...
Example - to change 20090331 into 31/03/2009



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How do I change an 8 digit reversed date number into a date

If you have a bunch of dates in a single column, you can:

Select that column
Data|Text to columns
Fixed width (don't include any lines!)
choose date and ymd
and finish up

Then format the range the way you like (dd/mm/yyyy).

If you have multiple columns you can use this technique on each of them.

jrnbru59 wrote:

Example - to change 20090331 into 31/03/2009


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default How do I change an 8 digit reversed date number into a date

Assuming the date is in A1, use this formula in any other cell (B1 maybe)
and then Format that cell as a Date using dd/mm/yyyy...

=--TEXT(A1,"0000-00-00")

--
Rick (MVP - Excel)


"jrnbru59" wrote in message
...
Example - to change 20090331 into 31/03/2009


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
When I enter a date in Excel it converts to a 5-digit number. WHY? Wendy@EIS Excel Discussion (Misc queries) 1 January 8th 07 09:32 PM
How do i change the format of a 2 digit date BB Setting up and Configuration of Excel 1 September 17th 06 09:31 PM
converting 8-digit number to date DJ Excel Discussion (Misc queries) 6 June 12th 06 11:44 PM
Accidentally converted date mm/dd/yy to a 5 digit number Eve Excel Worksheet Functions 6 August 3rd 05 01:46 PM
How do i format a 5 to 6 digit number into the correct date? date cell configuration Excel Worksheet Functions 4 June 10th 05 08:07 PM


All times are GMT +1. The time now is 12:59 PM.

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"