#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default dates in excel

i have imported data in a date format yymm (0806 = Jun 08). how can I make
excel recognize that?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default dates in excel

Assuming four digits with the leading zero visible and data in column A, in
B1 enter:

=DATE(2000+LEFT(A1,2),--RIGHT(A1,2),1) and copy down

This formula will need adjustment if any dates are prior to 1/1/2000
--
Gary''s Student - gsnu200790


"stabfpo" wrote:

i have imported data in a date format yymm (0806 = Jun 08). how can I make
excel recognize that?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default dates in excel

Another one:
=--(TEXT(A1,"\2\000\-00")&"-01")
Format the cell as a date.

stabfpo wrote:

i have imported data in a date format yymm (0806 = Jun 08). how can I make
excel recognize that?


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 360
Default dates in excel

Dates and times in xl are just formatted numbers.

=VALUE(RIGHT(A2,2)&"/"&LEFT(A2,2))

format as date.

Cliff Edwards
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
Excel not recognizing dates as dates lawson Excel Discussion (Misc queries) 1 June 26th 07 04:39 PM
how do I sort a column of random dates into Consecutive dates Rob Gibson Excel Worksheet Functions 2 June 12th 07 05:10 AM
Calculating number of days between two dates that fall between two other dates [email protected] Excel Discussion (Misc queries) 5 October 26th 05 06:18 PM
How do I get the dates on an excel chart to stay as dates instead. Rani Charts and Charting in Excel 1 September 20th 05 05:56 PM
Charting data against dates where dates are not at fixed intervals PK Charts and Charting in Excel 4 June 16th 05 05:08 AM


All times are GMT +1. The time now is 02:21 PM.

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

About Us

"It's about Microsoft Excel"