Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Nathan
 
Posts: n/a
Default Reading Date Formats e.g 20050801 (yyyy/mm/dd)

When I import date, the dates appear in the following format:

20050801 (yyyy/mm/dd)

This is August 1st 2005.

However, when I format cells and go to custom and tell Exel that the the
format is yyyy/mm/dd it returns the value #######################.

How do it translate this date format (20050801) into the correct date
format, that Exel recognizes as a date, so I can begin to work and calculate
with it?

Thanks in advance...

Nathan
  #2   Report Post  
Mangesh Yadav
 
Posts: n/a
Default

check
http://excelforum.com/showthread.php?t=373459

Mangesh


"Nathan" wrote in message
...
When I import date, the dates appear in the following format:

20050801 (yyyy/mm/dd)

This is August 1st 2005.

However, when I format cells and go to custom and tell Exel that the the
format is yyyy/mm/dd it returns the value #######################.

How do it translate this date format (20050801) into the correct date
format, that Exel recognizes as a date, so I can begin to work and

calculate
with it?

Thanks in advance...

Nathan



  #3   Report Post  
Niek Otten
 
Posts: n/a
Default

Hi Nathan,

Add an extra column with this formula:

=DATE(LEFT(A1,4),MID(A1,5,2),RIGHT(A1,2))

Fill down as far as you need.

You can always replace the original dates with the new ones by copying and
Paste Special, check Values.

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel


"Nathan" wrote in message
...
When I import date, the dates appear in the following format:

20050801 (yyyy/mm/dd)

This is August 1st 2005.

However, when I format cells and go to custom and tell Exel that the the
format is yyyy/mm/dd it returns the value #######################.

How do it translate this date format (20050801) into the correct date
format, that Exel recognizes as a date, so I can begin to work and
calculate
with it?

Thanks in advance...

Nathan



  #4   Report Post  
Max
 
Posts: n/a
Default

One way ..

Assuming the "dates" are in col A, A1 down

Select col A
Click Data Text to columns
Click Next Next

In step 3 of the wizard:
Check "Date" and select "YMD" from the droplist

Click Finish
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Nathan" wrote in message
...
When I import date, the dates appear in the following format:

20050801 (yyyy/mm/dd)

This is August 1st 2005.

However, when I format cells and go to custom and tell Exel that the the
format is yyyy/mm/dd it returns the value #######################.

How do it translate this date format (20050801) into the correct date
format, that Exel recognizes as a date, so I can begin to work and

calculate
with it?

Thanks in advance...

Nathan



  #5   Report Post  
Max
 
Posts: n/a
Default

And you can format col A to taste (Date type) thereafter ..
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----




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
Changing Cell formats to date fields automatically PCLIVE Excel Worksheet Functions 3 April 12th 05 10:34 PM
excel date formats changed bob Excel Worksheet Functions 1 March 1st 05 02:59 PM
US vs UK date and time formats Stephen Glynn Excel Discussion (Misc queries) 2 February 24th 05 05:58 PM
Seed date formats to different year in different cells KR Excel Discussion (Misc queries) 4 February 12th 05 12:02 AM
troubleshooting date formats 12pt93 Excel Discussion (Misc queries) 3 January 6th 05 04:14 PM


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