Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default Excel changes the value of a cell to a DATE!!!!

We have a text document (.txt file) a client sent us with a listing of
coordinates X, Y, Z. We also have a last column that identifies the type of
point to analyze. The text document is tab-delimited. I need to create a
Comma Delimited File (.csv) of the text document, so I thought I can use
Excel 2007 to do this:

1) Open Excel 2007
2) File Open
3) Select the text document
4) Text Wizard Import opens and I select Delimited Next Delimeters: Tab
Next Column Data Format: General Finish.

5) So far, Excel has done a wonderful job of separating my data on each
cell. I now select Save As and choose the CSV format.

PROBLEM IS:

The ID column for each coordinate has the following format: ##-#, and Excel
changes that content to a DATE! For example: "02-1" becomes "1-Feb". How can
I "teach" Excel to avoid doing that?????

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default Excel changes the value of a cell to a DATE!!!!

Open the CSV file using the text import wizard, then in step 3 highlight the
column with the "dates" and select text under column data format


--
Regards,

Peo Sjoblom



"Quco" wrote in message
...
We have a text document (.txt file) a client sent us with a listing of
coordinates X, Y, Z. We also have a last column that identifies the type
of
point to analyze. The text document is tab-delimited. I need to create a
Comma Delimited File (.csv) of the text document, so I thought I can use
Excel 2007 to do this:

1) Open Excel 2007
2) File Open
3) Select the text document
4) Text Wizard Import opens and I select Delimited Next Delimeters:
Tab
Next Column Data Format: General Finish.

5) So far, Excel has done a wonderful job of separating my data on each
cell. I now select Save As and choose the CSV format.

PROBLEM IS:

The ID column for each coordinate has the following format: ##-#, and
Excel
changes that content to a DATE! For example: "02-1" becomes "1-Feb". How
can
I "teach" Excel to avoid doing that?????



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default Excel changes the value of a cell to a DATE!!!!

You can't imagine how much I appreciate your answer. Thank you very very very
much! I never imagine we have such options on the "preview" window of he Text
Import Wizard.

"Peo Sjoblom" wrote:

Open the CSV file using the text import wizard, then in step 3 highlight the
column with the "dates" and select text under column data format


--
Regards,

Peo Sjoblom



"Quco" wrote in message
...
We have a text document (.txt file) a client sent us with a listing of
coordinates X, Y, Z. We also have a last column that identifies the type
of
point to analyze. The text document is tab-delimited. I need to create a
Comma Delimited File (.csv) of the text document, so I thought I can use
Excel 2007 to do this:

1) Open Excel 2007
2) File Open
3) Select the text document
4) Text Wizard Import opens and I select Delimited Next Delimeters:
Tab
Next Column Data Format: General Finish.

5) So far, Excel has done a wonderful job of separating my data on each
cell. I now select Save As and choose the CSV format.

PROBLEM IS:

The ID column for each coordinate has the following format: ##-#, and
Excel
changes that content to a DATE! For example: "02-1" becomes "1-Feb". How
can
I "teach" Excel to avoid doing that?????




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Excel changes the value of a cell to a DATE!!!!

This is a great tip. Is there a way to set this up so that it will
open the CSV file in Excel this way when you just double click on it?

This would be a great timesaver as we have tonnes of CSV files like
these which are frequently edited in Excel.

Thanks,
JGP

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
How can I convert a text cell into date cell in Excel drocha Excel Discussion (Misc queries) 2 April 2nd 07 12:04 PM
How do I show the day and date in excel in the same cell sharkey Excel Discussion (Misc queries) 2 February 24th 06 12:51 AM
cell format for date/time in same cell excel 2003 Sandy Excel Worksheet Functions 1 January 18th 06 03:46 AM
how do i combine a date cell and a time cell in excel? Season Excel Discussion (Misc queries) 3 December 6th 05 11:09 PM
Excel 97 SR-1 / Set date in a cell-have day track in another cell mgb757 Excel Discussion (Misc queries) 1 September 20th 05 02:15 AM


All times are GMT +1. The time now is 09:33 AM.

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"