Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 698
Default Date Conversion

Here's a formula version of Nick Rothstein's VBA solution:

A1: 20070407
B1: =--TEXT(A1,"0000-00-00")
(format B1 as a date)

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Ron Coderre" wrote:

Here's one option....

Select your column of "dates"

From the Excel main menu:
<data<text-to-columns
Click the [Next] button twice
Check: Date.......Select YMD
Click the [Finish] button

or...if you prefer a formula...
A1: 20070407
B1: =DATE(LEFT(A1,4),MID(A1,5,2),RIGHT(A1,2))

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"tenngirl" wrote:

I need to convert a date from 20070407 (yyyymmdd)

to 04/07/2007 can someone help me with this confersion.

Thanks,

Linda

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 Conversion FinChase Excel Discussion (Misc queries) 1 October 16th 08 02:57 PM
Date Conversion Toria Excel Discussion (Misc queries) 3 February 24th 08 03:24 AM
Date conversion Tom Excel Discussion (Misc queries) 7 January 2nd 07 09:47 PM
Date conversion SITCFanTN Excel Programming 11 June 8th 06 11:06 PM
Date Conversion jdmcleod Excel Discussion (Misc queries) 2 March 20th 05 12:12 AM


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