A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Formatting Numbes as Text!!!!



 
 
Thread Tools Display Modes
  #1  
Old January 5th, 2010, 09:15 PM posted to microsoft.public.excel.worksheet.functions
klafert
external usenet poster
 
Posts: 154
Default Formatting Numbes as Text!!!!

I have a spreadsheet that contains the following data:

Date Account ID
5/14/08 5280-3-01
5/14/08 5280-3-01
5/14/08 5280-3-01
5/14/08 5280-3-01
5/14/08 5280-3-01
5/14/08 5280-3-01
5/14/08 1030-0-01
5/14/08 1030-0-01
5/14/08 2101-0-01
5/14/08 2101-0-01
5/14/08 2101-0-01
5/14/08 2101-0-01
5/14/08 2101-0-01
5/14/08 2101-0-01
5/14/08 2101-0-01
5/14/08 2101-0-01


When I save it as a .csv file it looks like this:

Date Account ID
5/14/2008 3/1/5280
5/14/2008 3/1/5280
5/14/2008 3/1/5280
5/14/2008 3/1/5280
5/14/2008 3/1/5280
5/14/2008 3/1/5280
5/14/2008 1030-0-01
5/14/2008 1030-0-01
5/14/2008 2101-0-01
5/14/2008 2101-0-01
5/14/2008 2101-0-01
5/14/2008 2101-0-01
5/14/2008 2101-0-01
5/14/2008 2101-0-01
5/14/2008 2101-0-01
5/14/2008 2101-0-01


I have formatted it to Text, Number, and General etc. I have Copy the data
into a new spreadsheet, cleared all formatting. Tried this on two different
computers. No matter what it keeps changing the 2nd column to a data format.
Even though it doesn’t do it to the other account ID. I have imported this
stuff before and no problem. I am not importing into Excel.

  #2  
Old January 5th, 2010, 10:43 PM posted to microsoft.public.excel.worksheet.functions
Dave Peterson
external usenet poster
 
Posts: 19,791
Default Formatting Numbes as Text!!!!

Did you reopen the CSV using excel or NotePad?

I saw this in a text editor:

05/14/08,5280-3-01
05/14/08,5280-3-01
05/14/08,5280-3-01
05/14/08,5280-3-01
05/14/08,5280-3-01
05/14/08,5280-3-01
05/14/08,1030-0-01
05/14/08,1030-0-01
05/14/08,2101-0-01
05/14/08,2101-0-01
05/14/08,2101-0-01
05/14/08,2101-0-01
05/14/08,2101-0-01
05/14/08,2101-0-01
05/14/08,2101-0-01
05/14/08,2101-0-01

If you reopen the CSV file in excel, then excel will treat the data however it
wants.

klafert wrote:

I have a spreadsheet that contains the following data:

Date Account ID
5/14/08 5280-3-01
5/14/08 5280-3-01
5/14/08 5280-3-01
5/14/08 5280-3-01
5/14/08 5280-3-01
5/14/08 5280-3-01
5/14/08 1030-0-01
5/14/08 1030-0-01
5/14/08 2101-0-01
5/14/08 2101-0-01
5/14/08 2101-0-01
5/14/08 2101-0-01
5/14/08 2101-0-01
5/14/08 2101-0-01
5/14/08 2101-0-01
5/14/08 2101-0-01

When I save it as a .csv file it looks like this:

Date Account ID
5/14/2008 3/1/5280
5/14/2008 3/1/5280
5/14/2008 3/1/5280
5/14/2008 3/1/5280
5/14/2008 3/1/5280
5/14/2008 3/1/5280
5/14/2008 1030-0-01
5/14/2008 1030-0-01
5/14/2008 2101-0-01
5/14/2008 2101-0-01
5/14/2008 2101-0-01
5/14/2008 2101-0-01
5/14/2008 2101-0-01
5/14/2008 2101-0-01
5/14/2008 2101-0-01
5/14/2008 2101-0-01

I have formatted it to Text, Number, and General etc. I have Copy the data
into a new spreadsheet, cleared all formatting. Tried this on two different
computers. No matter what it keeps changing the 2nd column to a data format.
Even though it doesn’t do it to the other account ID. I have imported this
stuff before and no problem. I am not importing into Excel.


--

Dave Peterson
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:41 PM.


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