Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default Text format inconsistant

When I export a spreadsheet to a text file and open it via Excel (ie I right
click the text file and select Open with Excel), one of the cells (of many
like it) where I have a value such as 9-5510 are shown in a date format as
Sep-10 (the formula bar says 1/09/5510). The text file opened in Notepad
shows the same cell as 9-5510 which is as it should be.

Yet the value 1-1111 shows correctly in both the text file and if opened via
Excel.

The spreadsheet that that the export was done from has all these cells
formatted as General.

Rob


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Text format inconsistant

1-1111, which might represent January of 1111 cannot be made into a
valid XL date, since the year would be less than 1900, so the parser
retains it as Text.

In article ,
"Rob" wrote:

When I export a spreadsheet to a text file and open it via Excel (ie I right
click the text file and select Open with Excel), one of the cells (of many
like it) where I have a value such as 9-5510 are shown in a date format as
Sep-10 (the formula bar says 1/09/5510). The text file opened in Notepad
shows the same cell as 9-5510 which is as it should be.

Yet the value 1-1111 shows correctly in both the text file and if opened via
Excel.

The spreadsheet that that the export was done from has all these cells
formatted as General.

Rob

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default Text format inconsistant

Yes, that makes sense. However, why doesn't it stay as 9-5510 even if I go
through the process of opening the text file from Excel and select the text
format for that column? If I'm opening a text file, surely Excel should
respect that values there-in should retain a text format.

Rob

"JE McGimpsey" wrote in message
...
1-1111, which might represent January of 1111 cannot be made into a
valid XL date, since the year would be less than 1900, so the parser
retains it as Text.

In article ,
"Rob" wrote:

When I export a spreadsheet to a text file and open it via Excel (ie I
right
click the text file and select Open with Excel), one of the cells (of
many
like it) where I have a value such as 9-5510 are shown in a date format
as
Sep-10 (the formula bar says 1/09/5510). The text file opened in Notepad
shows the same cell as 9-5510 which is as it should be.

Yet the value 1-1111 shows correctly in both the text file and if opened
via
Excel.

The spreadsheet that that the export was done from has all these cells
formatted as General.

Rob



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Text format inconsistant

When I open such a file from Excel *and select the text format for that
column* it does stay as 9-5510. If I open the file *without* specifying the
format of the column, it will change it to a date. "Open With" will go
through the default route, so you need to go into Excel and use the "Open"
command to let you set the column format after you've defined the
delimiting.

That's with Excel 2003. Which version do you have that behaves differently?
--
David Biddulph

"Rob" wrote in message
...
Yes, that makes sense. However, why doesn't it stay as 9-5510 even if I
go through the process of opening the text file from Excel and select the
text format for that column? If I'm opening a text file, surely Excel
should respect that values there-in should retain a text format.

Rob

"JE McGimpsey" wrote in message
...
1-1111, which might represent January of 1111 cannot be made into a
valid XL date, since the year would be less than 1900, so the parser
retains it as Text.

In article ,
"Rob" wrote:

When I export a spreadsheet to a text file and open it via Excel (ie I
right
click the text file and select Open with Excel), one of the cells (of
many
like it) where I have a value such as 9-5510 are shown in a date format
as
Sep-10 (the formula bar says 1/09/5510). The text file opened in
Notepad
shows the same cell as 9-5510 which is as it should be.

Yet the value 1-1111 shows correctly in both the text file and if opened
via
Excel.

The spreadsheet that that the export was done from has all these cells
formatted as General.

Rob





  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default Text format inconsistant

I have 2007 now, but the same ocurred on XP (is that version 2002??)

Anyway, I did choose the latter procedure and set that column to text and
it still comes out date.

Rob

"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
When I open such a file from Excel *and select the text format for that
column* it does stay as 9-5510. If I open the file *without* specifying
the format of the column, it will change it to a date. "Open With" will
go through the default route, so you need to go into Excel and use the
"Open" command to let you set the column format after you've defined the
delimiting.

That's with Excel 2003. Which version do you have that behaves
differently?
--
David Biddulph

"Rob" wrote in message
...
Yes, that makes sense. However, why doesn't it stay as 9-5510 even if I
go through the process of opening the text file from Excel and select the
text format for that column? If I'm opening a text file, surely Excel
should respect that values there-in should retain a text format.

Rob

"JE McGimpsey" wrote in message
...
1-1111, which might represent January of 1111 cannot be made into a
valid XL date, since the year would be less than 1900, so the parser
retains it as Text.

In article ,
"Rob" wrote:

When I export a spreadsheet to a text file and open it via Excel (ie I
right
click the text file and select Open with Excel), one of the cells (of
many
like it) where I have a value such as 9-5510 are shown in a date format
as
Sep-10 (the formula bar says 1/09/5510). The text file opened in
Notepad
shows the same cell as 9-5510 which is as it should be.

Yet the value 1-1111 shows correctly in both the text file and if
opened via
Excel.

The spreadsheet that that the export was done from has all these cells
formatted as General.

Rob









  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default Text format inconsistant

Sorry David,

I tried it again and seems to be OK now. One of the text files I had must
have been created from the incorrectly formatted Excel file and I was trying
to import bad data.

Rob

"Rob" wrote in message
...
I have 2007 now, but the same ocurred on XP (is that version 2002??)

Anyway, I did choose the latter procedure and set that column to text and
it still comes out date.

Rob

"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
When I open such a file from Excel *and select the text format for that
column* it does stay as 9-5510. If I open the file *without* specifying
the format of the column, it will change it to a date. "Open With" will
go through the default route, so you need to go into Excel and use the
"Open" command to let you set the column format after you've defined the
delimiting.

That's with Excel 2003. Which version do you have that behaves
differently?
--
David Biddulph

"Rob" wrote in message
...
Yes, that makes sense. However, why doesn't it stay as 9-5510 even if I
go through the process of opening the text file from Excel and select
the text format for that column? If I'm opening a text file, surely
Excel should respect that values there-in should retain a text format.

Rob

"JE McGimpsey" wrote in message
...
1-1111, which might represent January of 1111 cannot be made into a
valid XL date, since the year would be less than 1900, so the parser
retains it as Text.

In article ,
"Rob" wrote:

When I export a spreadsheet to a text file and open it via Excel (ie I
right
click the text file and select Open with Excel), one of the cells (of
many
like it) where I have a value such as 9-5510 are shown in a date
format as
Sep-10 (the formula bar says 1/09/5510). The text file opened in
Notepad
shows the same cell as 9-5510 which is as it should be.

Yet the value 1-1111 shows correctly in both the text file and if
opened via
Excel.

The spreadsheet that that the export was done from has all these cells
formatted as General.

Rob








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
FV with inconsistant cash flow [email protected] Excel Worksheet Functions 2 February 14th 07 05:33 PM
I can't find why my formula is inconsistant - please help Kath Excel Worksheet Functions 7 July 16th 06 02:22 PM
Inconsistant Formula nastech Excel Discussion (Misc queries) 3 March 3rd 06 04:51 AM
Inconsistant calculations Kulwant Excel Discussion (Misc queries) 0 April 1st 05 08:38 PM
Inconsistant Data Cleaning gallegos1580 Excel Discussion (Misc queries) 1 January 10th 05 08:19 PM


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