Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Cat Cat is offline
external usenet poster
 
Posts: 63
Default Date to Text (please read)

Yes, I know this has been covered a MILLION times yet although I've looked
through many threads, I can't seem to find one that covers this EXACTLY.
I'm importing info into Excel 2000. One of the columns is a date field..
but it is not consistent.. for example, it can read 10206 or 100206 (both to
mean Oct 2, 2006). When I try to format it into a date (10/2/06) it turns it
into something strange, such as 01/02/36. Don't know why this is happening.
When I click on a seperate cell w/out any info (that is formatted to a date
field), and type in 100206 it STILL doesn't come out right! HELP!!! I need
this info for tomorrow!!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Date to Text (please read)

By now, I'm sure you're aware that you have a complicated data problem.
If 10206 is supposed to be 10/02/2006
Then what value would be used to mean 01/02/2006? Wouldn't it also be 10206?
Also....is 11206 11/02/2006? or is it 01/12/2006?

Apart from that...if you can get the values to all be in this form: mmddyy
then you could use <data<text-to-columns and designate the data as Dates
in mdy format.

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

XL2002, WinXP


"Cat" wrote:

Yes, I know this has been covered a MILLION times yet although I've looked
through many threads, I can't seem to find one that covers this EXACTLY.
I'm importing info into Excel 2000. One of the columns is a date field..
but it is not consistent.. for example, it can read 10206 or 100206 (both to
mean Oct 2, 2006). When I try to format it into a date (10/2/06) it turns it
into something strange, such as 01/02/36. Don't know why this is happening.
When I click on a seperate cell w/out any info (that is formatted to a date
field), and type in 100206 it STILL doesn't come out right! HELP!!! I need
this info for tomorrow!!!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Date to Text (please read)

If both 100206 and 10206 are 10/2/2006 then what is 1/2/2006 ??

To make a formula we need an un-ambiguous definition of the field digits.
--
Gary's Student


"Cat" wrote:

Yes, I know this has been covered a MILLION times yet although I've looked
through many threads, I can't seem to find one that covers this EXACTLY.
I'm importing info into Excel 2000. One of the columns is a date field..
but it is not consistent.. for example, it can read 10206 or 100206 (both to
mean Oct 2, 2006). When I try to format it into a date (10/2/06) it turns it
into something strange, such as 01/02/36. Don't know why this is happening.
When I click on a seperate cell w/out any info (that is formatted to a date
field), and type in 100206 it STILL doesn't come out right! HELP!!! I need
this info for tomorrow!!!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 492
Default Date to Text (please read)

Excel treats dates as the number of days elapsed since the first of January
1900, for example today, the 15th of November 2006 is actually 39036. You
can format it in many different ways, but the real content of the cell is
still 39036.
When you enter a date into a cell like today's date it has to be entered as
15/11/2006 or 16-11-2006 to get Excel to recognise that you are entering a
date, it then converts it to the number which can be re-formatted.
What you are importing, eg 10206 will not be recognised as a date, just as a
number. If you format it as a date it will give the date as the 10206th day
after 01-01-1900.
There are ways of using text formulas followed by paste special values to
convert a number to the date value you need, but I'm afraid that if you're
importing stuff that has two or more different ways of representing the
date, its going to be very time consuming to achieve this.
Sorry to be the bearer of bad news,
Regards,
Alan.
"Cat" wrote in message
...
Yes, I know this has been covered a MILLION times yet although I've looked
through many threads, I can't seem to find one that covers this EXACTLY.
I'm importing info into Excel 2000. One of the columns is a date field..
but it is not consistent.. for example, it can read 10206 or 100206 (both
to
mean Oct 2, 2006). When I try to format it into a date (10/2/06) it turns
it
into something strange, such as 01/02/36. Don't know why this is
happening.
When I click on a seperate cell w/out any info (that is formatted to a
date

What you are importting
field), and type in 100206 it STILL doesn't come out right! HELP!!! I
need
this info for tomorrow!!!



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Date to Text (please read)

The reason you have not found a satisfactory answer is that there is no good
answer for this kind of data... For example how should we handle 11106... Jan
11 or Nov 1. There is no way to interpret that without knowing the intent of
the person who entered the data in the first place.

--
HTH...

Jim Thomlinson


"Cat" wrote:

Yes, I know this has been covered a MILLION times yet although I've looked
through many threads, I can't seem to find one that covers this EXACTLY.
I'm importing info into Excel 2000. One of the columns is a date field..
but it is not consistent.. for example, it can read 10206 or 100206 (both to
mean Oct 2, 2006). When I try to format it into a date (10/2/06) it turns it
into something strange, such as 01/02/36. Don't know why this is happening.
When I click on a seperate cell w/out any info (that is formatted to a date
field), and type in 100206 it STILL doesn't come out right! HELP!!! I need
this info for tomorrow!!!



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 618
Default Date to Text (please read)

Try =DATE(2000+RIGHT(A1,2),LEFT(A1,2),MID(A1,3,LEN(A1)-4)) with the data
you've got.

The reason you don't get the right answer when you type in 100206 is that
you should be typing 10/02/06
--
David Biddulph

"Cat" wrote in message
...
Yes, I know this has been covered a MILLION times yet although I've looked
through many threads, I can't seem to find one that covers this EXACTLY.
I'm importing info into Excel 2000. One of the columns is a date field..
but it is not consistent.. for example, it can read 10206 or 100206 (both
to
mean Oct 2, 2006). When I try to format it into a date (10/2/06) it turns
it
into something strange, such as 01/02/36. Don't know why this is
happening.
When I click on a seperate cell w/out any info (that is formatted to a
date
field), and type in 100206 it STILL doesn't come out right! HELP!!! I
need
this info for tomorrow!!!



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
Text entries behaving like numbers jkiser Excel Discussion (Misc queries) 12 August 30th 06 09:29 PM
pasting data from a website changes text to date stebro Excel Discussion (Misc queries) 8 August 12th 06 08:39 PM
Count items when specific text and date criteria are met javamom Excel Worksheet Functions 8 April 24th 06 09:28 PM
Date from text to Date format Nise Excel Worksheet Functions 6 November 17th 05 07:02 PM
Macro to convert text to date Nortos Excel Worksheet Functions 2 May 11th 05 10:42 AM


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