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 » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Formating Numbers



 
 
Thread Tools Display Modes
  #1  
Old January 4th, 2010, 11:44 PM posted to microsoft.public.excel.misc
klafert
external usenet poster
 
Posts: 154
Default Formating Numbers

I have a spreadsheet and in one column I have numbers like below:


5/14/08 5280-3-01 Test
5/14/08 5280-3-01 Test
5/14/08 5280-3-01 Test
5/14/08 1030-0-01 Test
5/14/08 2101-0-01 Test
5/14/08 1030-0-01 Test
5/14/08 2101-0-01 Test

I have formated the 2ND column in Text, Number, every type of format. I
even tried re-typing the number manually, and copy and pasted everything in
a new spreadsheet and re-typed the number again. But when I save this
spreadsheet to .csv the 5280-3-01 turns into a date. I even manually
formatted and re-typed the number in the .csv file. I don't have to open the
file after I save it in a .csv because I am importing it into another
program. However, when I tried to import the file it bombs on this column,
yet the rest of the numbers in the same format will go import. I have already
done this before with the same number. However all the other numbers in
column 2 starting with the 4th line comes out fine. I formatted the whole
column the same.


The first 3 lines were the number is 5280-3-01 - I



  #2  
Old January 5th, 2010, 04:11 AM posted to microsoft.public.excel.misc
Sheeloo
external usenet poster
 
Posts: 797
Default Formating Numbers

Type ' before typing the numbers in the cell.

You can use a formula like
=CONCATENATE("'",A1)
to avoid typing all the numbers manually.

Test this out with a couple of rows first.

"klafert" wrote:

I have a spreadsheet and in one column I have numbers like below:


5/14/08 5280-3-01 Test
5/14/08 5280-3-01 Test
5/14/08 5280-3-01 Test
5/14/08 1030-0-01 Test
5/14/08 2101-0-01 Test
5/14/08 1030-0-01 Test
5/14/08 2101-0-01 Test

I have formated the 2ND column in Text, Number, every type of format. I
even tried re-typing the number manually, and copy and pasted everything in
a new spreadsheet and re-typed the number again. But when I save this
spreadsheet to .csv the 5280-3-01 turns into a date. I even manually
formatted and re-typed the number in the .csv file. I don't have to open the
file after I save it in a .csv because I am importing it into another
program. However, when I tried to import the file it bombs on this column,
yet the rest of the numbers in the same format will go import. I have already
done this before with the same number. However all the other numbers in
column 2 starting with the 4th line comes out fine. I formatted the whole
column the same.


The first 3 lines were the number is 5280-3-01 - I



  #3  
Old January 5th, 2010, 04:21 AM posted to microsoft.public.excel.misc
Ron Rosenfeld
external usenet poster
 
Posts: 3,719
Default Formating Numbers

On Mon, 4 Jan 2010 14:44:01 -0800, klafert
wrote:

I have a spreadsheet and in one column I have numbers like below:


5/14/08 5280-3-01 Test
5/14/08 5280-3-01 Test
5/14/08 5280-3-01 Test
5/14/08 1030-0-01 Test
5/14/08 2101-0-01 Test
5/14/08 1030-0-01 Test
5/14/08 2101-0-01 Test

I have formated the 2ND column in Text, Number, every type of format. I
even tried re-typing the number manually, and copy and pasted everything in
a new spreadsheet and re-typed the number again. But when I save this
spreadsheet to .csv the 5280-3-01 turns into a date. I even manually
formatted and re-typed the number in the .csv file. I don't have to open the
file after I save it in a .csv because I am importing it into another
program. However, when I tried to import the file it bombs on this column,
yet the rest of the numbers in the same format will go import. I have already
done this before with the same number. However all the other numbers in
column 2 starting with the 4th line comes out fine. I formatted the whole
column the same.


The first 3 lines were the number is 5280-3-01 - I



You may be mistaken.

Unless there is something else going on, when you SAVE the spreadsheet to .csv
the 5280-3-01 does NOT turn into a date. Rather, it turns into a date when you
OPEN the previously saved .csv file.

Have you tried opening the .csv file using NOTEPAD? If you do, you may find
that the data is saved properly.

If you want to open the .csv file in Excel, and NOT have the 2nd column turn
into dates, you will have to change the suffix to .txt. You will then get the
text import wizard when you try to open the file, and can specify column 2 as
being text, and not a date.

If you are having a problem with the other program into which you are importing
this data, it may be that there is something other problem.

When I take your data, and save it as a .csv file; then open that file in
notepad, I get:

5/14/2008,5280-3-01,Test
5/14/2008,5280-3-01,Test
5/14/2008,5280-3-01,Test
5/14/2008,1030-0-01,Test
5/14/2008,2101-0-01,Test
5/14/2008,1030-0-01,Test
5/14/2008,2101-0-01,Test





--ron
  #4  
Old January 5th, 2010, 05:07 PM posted to microsoft.public.excel.misc
klafert
external usenet poster
 
Posts: 154
Default Formating Numbers

No I not mistaken


"Ron Rosenfeld" wrote:

On Mon, 4 Jan 2010 14:44:01 -0800, klafert
wrote:

I have a spreadsheet and in one column I have numbers like below:


5/14/08 5280-3-01 Test
5/14/08 5280-3-01 Test
5/14/08 5280-3-01 Test
5/14/08 1030-0-01 Test
5/14/08 2101-0-01 Test
5/14/08 1030-0-01 Test
5/14/08 2101-0-01 Test

I have formated the 2ND column in Text, Number, every type of format. I
even tried re-typing the number manually, and copy and pasted everything in
a new spreadsheet and re-typed the number again. But when I save this
spreadsheet to .csv the 5280-3-01 turns into a date. I even manually
formatted and re-typed the number in the .csv file. I don't have to open the
file after I save it in a .csv because I am importing it into another
program. However, when I tried to import the file it bombs on this column,
yet the rest of the numbers in the same format will go import. I have already
done this before with the same number. However all the other numbers in
column 2 starting with the 4th line comes out fine. I formatted the whole
column the same.


The first 3 lines were the number is 5280-3-01 - I



You may be mistaken.

Unless there is something else going on, when you SAVE the spreadsheet to .csv
the 5280-3-01 does NOT turn into a date. Rather, it turns into a date when you
OPEN the previously saved .csv file.

Have you tried opening the .csv file using NOTEPAD? If you do, you may find
that the data is saved properly.

If you want to open the .csv file in Excel, and NOT have the 2nd column turn
into dates, you will have to change the suffix to .txt. You will then get the
text import wizard when you try to open the file, and can specify column 2 as
being text, and not a date.

If you are having a problem with the other program into which you are importing
this data, it may be that there is something other problem.

When I take your data, and save it as a .csv file; then open that file in
notepad, I get:

5/14/2008,5280-3-01,Test
5/14/2008,5280-3-01,Test
5/14/2008,5280-3-01,Test
5/14/2008,1030-0-01,Test
5/14/2008,2101-0-01,Test
5/14/2008,1030-0-01,Test
5/14/2008,2101-0-01,Test





--ron
.

  #5  
Old January 5th, 2010, 05:20 PM posted to microsoft.public.excel.misc
klafert
external usenet poster
 
Posts: 154
Default Formating Numbers

I not importing this into Excel and it must be in the .csv format. I done
this a million times. Last night I went to edit clear formats and formatted
the column to be Text saved it as .csv was able to open the file with the
correct information but today it won't. It still changes to dates. I tried
pasting this into a new spreadsheet. I even used

"Ron Rosenfeld" wrote:

On Mon, 4 Jan 2010 14:44:01 -0800, klafert
wrote:

I have a spreadsheet and in one column I have numbers like below:


5/14/08 5280-3-01 Test
5/14/08 5280-3-01 Test
5/14/08 5280-3-01 Test
5/14/08 1030-0-01 Test
5/14/08 2101-0-01 Test
5/14/08 1030-0-01 Test
5/14/08 2101-0-01 Test

I have formated the 2ND column in Text, Number, every type of format. I
even tried re-typing the number manually, and copy and pasted everything in
a new spreadsheet and re-typed the number again. But when I save this
spreadsheet to .csv the 5280-3-01 turns into a date. I even manually
formatted and re-typed the number in the .csv file. I don't have to open the
file after I save it in a .csv because I am importing it into another
program. However, when I tried to import the file it bombs on this column,
yet the rest of the numbers in the same format will go import. I have already
done this before with the same number. However all the other numbers in
column 2 starting with the 4th line comes out fine. I formatted the whole
column the same.


The first 3 lines were the number is 5280-3-01 - I



You may be mistaken.

Unless there is something else going on, when you SAVE the spreadsheet to .csv
the 5280-3-01 does NOT turn into a date. Rather, it turns into a date when you
OPEN the previously saved .csv file.

Have you tried opening the .csv file using NOTEPAD? If you do, you may find
that the data is saved properly.

If you want to open the .csv file in Excel, and NOT have the 2nd column turn
into dates, you will have to change the suffix to .text. You will then get the
text import wizard when you try to open the file, and can specify column 2 as
being text, and not a date.

If you are having a problem with the other program into which you are importing
this data, it may be that there is something other problem.

When I take your data, and save it as a .csv file; then open that file in
notepad, I get:

5/14/2008,5280-3-01,Test
5/14/2008,5280-3-01,Test
5/14/2008,5280-3-01,Test
5/14/2008,1030-0-01,Test
5/14/2008,2101-0-01,Test
5/14/2008,1030-0-01,Test
5/14/2008,2101-0-01,Test





--ron
.

  #6  
Old January 5th, 2010, 06:01 PM posted to microsoft.public.excel.misc
klafert
external usenet poster
 
Posts: 154
Default Formating Numbers

I not mistaken and I have tried everything. Last night it seemsed I had it
working but not today. I even started a new spreadsheet and clear the format
and formatted fresh using text. That doesn't work. I done this a million
times and now .... There must be something I can do. I am pasting how the
data looks when I open it with note pad below:

Date,Account ID,Reference,Trans Description,Amount,acct,Number of
Distributions,Recur Number,Recur Frequency
05/14/2008,5280-3-01,AP015843,AT&T ADVERTISING,-2020,,8,,
05/14/2008,5280-3-01,AP015843,AT&T ADVERTISING,-2020,,8,,
05/14/2008,5280-3-01,AP015843,CRYSTAL CLEAR SOLUTIONS,-1875,,8,,
05/14/2008,5280-3-01,AP015843,CRYSTAL CLEAR SOLUTIONS,-1875,,8,,
05/14/2008,2101-0-01,AP015843,V:1632/C:8307,-1875,,8,,
05/14/2008,2101-0-01,AP015843,V:1632/C:8307,-1875,,8,,
05/14/2008,5280-3-01,AP015843,TIPMASTER'S,-115,,8,,
05/14/2008,5280-3-01,AP015843,TIPMASTER'S,-115,,8,,
05/14/2008,2101-0-01,AP015843,TIPMASTER'S,115.00,,8,,
05/14/2008,2101-0-01,AP015843,TIPMASTER'S,115.00,,8,,
05/14/2008,1030-0-01,AP015843,V:1632/C:8307,"1,875.00",,8,,
05/14/2008,1030-0-01,AP015843,V:1632/C:8307,"1,875.00",,8,,
05/14/2008,2101-0-01,AP015843,CRYSTAL CLEAR SOLUTIONS,"1,875.00",,8,,
05/14/2008,2101-0-01,AP015843,CRYSTAL CLEAR SOLUTIONS,"1,875.00",,8,,
05/14/2008,2101-0-01,AP015843,AT&T ADVERTISING,"2,020.00",,8,,
05/14/2008,2101-0-01,AP015843,AT&T ADVERTISING,"2,020.00",,8

"Ron Rosenfeld" wrote:

On Mon, 4 Jan 2010 14:44:01 -0800, klafert
wrote:

I have a spreadsheet and in one column I have numbers like below:


5/14/08 5280-3-01 Test
5/14/08 5280-3-01 Test
5/14/08 5280-3-01 Test
5/14/08 1030-0-01 Test
5/14/08 2101-0-01 Test
5/14/08 1030-0-01 Test
5/14/08 2101-0-01 Test

I have formated the 2ND column in Text, Number, every type of format. I
even tried re-typing the number manually, and copy and pasted everything in
a new spreadsheet and re-typed the number again. But when I save this
spreadsheet to .csv the 5280-3-01 turns into a date. I even manually
formatted and re-typed the number in the .csv file. I don't have to open the
file after I save it in a .csv because I am importing it into another
program. However, when I tried to import the file it bombs on this column,
yet the rest of the numbers in the same format will go import. I have already
done this before with the same number. However all the other numbers in
column 2 starting with the 4th line comes out fine. I formatted the whole
column the same.


The first 3 lines were the number is 5280-3-01 - I



You may be mistaken.

Unless there is something else going on, when you SAVE the spreadsheet to .csv
the 5280-3-01 does NOT turn into a date. Rather, it turns into a date when you
OPEN the previously saved .csv file.

Have you tried opening the .csv file using NOTEPAD? If you do, you may find
that the data is saved properly.

If you want to open the .csv file in Excel, and NOT have the 2nd column turn
into dates, you will have to change the suffix to .txt. You will then get the
text import wizard when you try to open the file, and can specify column 2 as
being text, and not a date.

If you are having a problem with the other program into which you are importing
this data, it may be that there is something other problem.

When I take your data, and save it as a .csv file; then open that file in
notepad, I get:

5/14/2008,5280-3-01,Test
5/14/2008,5280-3-01,Test
5/14/2008,5280-3-01,Test
5/14/2008,1030-0-01,Test
5/14/2008,2101-0-01,Test
5/14/2008,1030-0-01,Test
5/14/2008,2101-0-01,Test





--ron
.

  #7  
Old January 5th, 2010, 06:05 PM posted to microsoft.public.excel.misc
klafert
external usenet poster
 
Posts: 154
Default Formating Numbers

I just want to make sure I understand you. Do I put this formula in another
column or in the same column and then type the numbers.

"Sheela" wrote:

Type ' before typing the numbers in the cell.

You can use a formula like
=CONCATENATE("'",A1)
to avoid typing all the numbers manually.

Test this out with a couple of rows first.

"klafert" wrote:

I have a spreadsheet and in one column I have numbers like below:


5/14/08 5280-3-01 Test
5/14/08 5280-3-01 Test
5/14/08 5280-3-01 Test
5/14/08 1030-0-01 Test
5/14/08 2101-0-01 Test
5/14/08 1030-0-01 Test
5/14/08 2101-0-01 Test

I have formated the 2ND column in Text, Number, every type of format. I
even tried re-typing the number manually, and copy and pasted everything in
a new spreadsheet and re-typed the number again. But when I save this
spreadsheet to .csv the 5280-3-01 turns into a date. I even manually
formatted and re-typed the number in the .csv file. I don't have to open the
file after I save it in a .csv because I am importing it into another
program. However, when I tried to import the file it bombs on this column,
yet the rest of the numbers in the same format will go import. I have already
done this before with the same number. However all the other numbers in
column 2 starting with the 4th line comes out fine. I formatted the whole
column the same.


The first 3 lines were the number is 5280-3-01 - I



  #8  
Old January 5th, 2010, 06:41 PM posted to microsoft.public.excel.misc
klafert
external usenet poster
 
Posts: 154
Default Formating Numbers

This is what the file looks like when open with Note Pad:

Date,Account ID,Reference,Trans Description,Amount,Number of
Distributions,Recur Number,Recur Frequency
5/14/08,5280-3-01,AP015843,TIPMASTER'S,-115,8,,
5/14/08,5280-3-01,AP015843,TIPMASTER'S,-115,8,,
5/14/08,5280-3-01,AP015843,AT&T ADVERTISING,-2020,8,,
5/14/08,5280-3-01,AP015843,CRYSTAL CLEAR SOLUTIONS,-1875,8,,
5/14/08,5280-3-01,AP015843,AT&T ADVERTISING,-2020,8,,
5/14/08,5280-3-01,AP015843,CRYSTAL CLEAR SOLUTIONS,-1875,8,,
5/14/08,1030-0-01,AP015843,V:1632/C:8307,"1,875.00",8,,
5/14/08,1030-0-01,AP015843,V:1632/C:8307,"1,875.00",8,,
5/14/08,2101-0-01,AP015843,AT&T ADVERTISING,"2,020.00",8,,
5/14/08,2101-0-01,AP015843,TIPMASTER'S,115.00,8,,
5/14/08,2101-0-01,AP015843,CRYSTAL CLEAR SOLUTIONS,"1,875.00",8,,
5/14/08,2101-0-01,AP015843,V:1632/C:8307,-1875,8,,
5/14/08,2101-0-01,AP015843,AT&T ADVERTISING,"2,020.00",8,,
5/14/08,2101-0-01,AP015843,TIPMASTER'S,115.00,8,,
5/14/08,2101-0-01,AP015843,CRYSTAL CLEAR SOLUTIONS,"1,875.00",8,,
5/14/08,2101-0-01,AP015843,V:1632/C:8307,-1875,8

I not mistaken it turns 5280-3-01 into a date


"Ron Rosenfeld" wrote:

On Mon, 4 Jan 2010 14:44:01 -0800, klafert
wrote:

I have a spreadsheet and in one column I have numbers like below:


5/14/08 5280-3-01 Test
5/14/08 5280-3-01 Test
5/14/08 5280-3-01 Test
5/14/08 1030-0-01 Test
5/14/08 2101-0-01 Test
5/14/08 1030-0-01 Test
5/14/08 2101-0-01 Test

I have formated the 2ND column in Text, Number, every type of format. I
even tried re-typing the number manually, and copy and pasted everything in
a new spreadsheet and re-typed the number again. But when I save this
spreadsheet to .csv the 5280-3-01 turns into a date. I even manually
formatted and re-typed the number in the .csv file. I don't have to open the
file after I save it in a .csv because I am importing it into another
program. However, when I tried to import the file it bombs on this column,
yet the rest of the numbers in the same format will go import. I have already
done this before with the same number. However all the other numbers in
column 2 starting with the 4th line comes out fine. I formatted the whole
column the same.


The first 3 lines were the number is 5280-3-01 - I



You may be mistaken.

Unless there is something else going on, when you SAVE the spreadsheet to .csv
the 5280-3-01 does NOT turn into a date. Rather, it turns into a date when you
OPEN the previously saved .csv file.

Have you tried opening the .csv file using NOTEPAD? If you do, you may find
that the data is saved properly.

If you want to open the .csv file in Excel, and NOT have the 2nd column turn
into dates, you will have to change the suffix to .txt. You will then get the
text import wizard when you try to open the file, and can specify column 2 as
being text, and not a date.

If you are having a problem with the other program into which you are importing
this data, it may be that there is something other problem.

When I take your data, and save it as a .csv file; then open that file in
notepad, I get:

5/14/2008,5280-3-01,Test
5/14/2008,5280-3-01,Test
5/14/2008,5280-3-01,Test
5/14/2008,1030-0-01,Test
5/14/2008,2101-0-01,Test
5/14/2008,1030-0-01,Test
5/14/2008,2101-0-01,Test





--ron
.

  #9  
Old January 5th, 2010, 08:05 PM posted to microsoft.public.excel.misc
klafert
external usenet poster
 
Posts: 154
Default Formating Numbers

I not mistaken and I am importing this into an accounting program. However,
I can't open the .csv file in Excel without the number 5280-3-01 into a date.
I am pasting how the file looks when you open it using notepad:

Date,Account ID,Reference,Trans Description,Amount,Number of
Distributions,Recur Number,Recur Frequency
5/14/08,5280-3-01,AP015843,TIPMASTER'S,-115,8,,
5/14/08,5280-3-01,AP015843,TIPMASTER'S,-115,8,,
5/14/08,5280-3-01,AP015843,AT&T ADVERTISING,-2020,8,,
5/14/08,5280-3-01,AP015843,CRYSTAL CLEAR SOLUTIONS,-1875,8,,
5/14/08,5280-3-01,AP015843,AT&T ADVERTISING,-2020,8,,
5/14/08,5280-3-01,AP015843,CRYSTAL CLEAR SOLUTIONS,-1875,8,,
5/14/08,1030-0-01,AP015843,V:1632/C:8307,"1,875.00",8,,
5/14/08,1030-0-01,AP015843,V:1632/C:8307,"1,875.00",8,,
5/14/08,2101-0-01,AP015843,AT&T ADVERTISING,"2,020.00",8,,
5/14/08,2101-0-01,AP015843,TIPMASTER'S,115.00,8,,
5/14/08,2101-0-01,AP015843,CRYSTAL CLEAR SOLUTIONS,"1,875.00",8,,
5/14/08,2101-0-01,AP015843,V:1632/C:8307,-1875,8,,
5/14/08,2101-0-01,AP015843,AT&T ADVERTISING,"2,020.00",8,,
5/14/08,2101-0-01,AP015843,TIPMASTER'S,115.00,8,,
5/14/08,2101-0-01,AP015843,CRYSTAL CLEAR SOLUTIONS,"1,875.00",8,,
5/14/08,2101-0-01,AP015843,V:1632/C:8307,-1875,8
It looks correct there but in the .csv (excel view) :

Date Account ID Reference Trans Description Amount Number of
Distributions Recur Number Recur Frequency
5/14/2008 3/1/5280 AP015843 TIPMASTER'S -115 8
5/14/2008 3/1/5280 AP015843 TIPMASTER'S -115 8
5/14/2008 3/1/5280 AP015843 AT&T ADVERTISING -2020 8
5/14/2008 3/1/5280 AP015843 CRYSTAL CLEAR SOLUTIONS -1875 8
5/14/2008 3/1/5280 AP015843 AT&T ADVERTISING -2020 8
5/14/2008 3/1/5280 AP015843 CRYSTAL CLEAR SOLUTIONS -1875 8
5/14/2008 1030-0-01 AP015843 V:1632/C:8307 1,875.00 8
5/14/2008 1030-0-01 AP015843 V:1632/C:8307 1,875.00 8
5/14/2008 2101-0-01 AP015843 AT&T ADVERTISING 2,020.00 8
5/14/2008 2101-0-01 AP015843 TIPMASTER'S 115 8
5/14/2008 2101-0-01 AP015843 CRYSTAL CLEAR SOLUTIONS 1,875.00 8
5/14/2008 2101-0-01 AP015843 V:1632/C:8307 -1875 8
5/14/2008 2101-0-01 AP015843 AT&T ADVERTISING 2,020.00 8
5/14/2008 2101-0-01 AP015843 TIPMASTER'S 115 8
5/14/2008 2101-0-01 AP015843 CRYSTAL CLEAR SOLUTIONS 1,875.00 8
5/14/2008 2101-0-01 AP015843 V:1632/C:8307 -1875 8

Notice the 2101-0-01 doesn't change to a date. I f I could I send you the
file but I dont think I can do that here in the Community - can I?


"Ron Rosenfeld" wrote:

On Mon, 4 Jan 2010 14:44:01 -0800, klafert
wrote:

I have a spreadsheet and in one column I have numbers like below:


5/14/08 5280-3-01 Test
5/14/08 5280-3-01 Test
5/14/08 5280-3-01 Test
5/14/08 1030-0-01 Test
5/14/08 2101-0-01 Test
5/14/08 1030-0-01 Test
5/14/08 2101-0-01 Test

I have formated the 2ND column in Text, Number, every type of format. I
even tried re-typing the number manually, and copy and pasted everything in
a new spreadsheet and re-typed the number again. But when I save this
spreadsheet to .csv the 5280-3-01 turns into a date. I even manually
formatted and re-typed the number in the .csv file. I don't have to open the
file after I save it in a .csv because I am importing it into another
program. However, when I tried to import the file it bombs on this column,
yet the rest of the numbers in the same format will go import. I have already
done this before with the same number. However all the other numbers in
column 2 starting with the 4th line comes out fine. I formatted the whole
column the same.


The first 3 lines were the number is 5280-3-01 - I



You may be mistaken.

Unless there is something else going on, when you SAVE the spreadsheet to .csv
the 5280-3-01 does NOT turn into a date. Rather, it turns into a date when you
OPEN the previously saved .csv file.

Have you tried opening the .csv file using NOTEPAD? If you do, you may find
that the data is saved properly.

If you want to open the .csv file in Excel, and NOT have the 2nd column turn
into dates, you will have to change the suffix to .txt. You will then get the
text import wizard when you try to open the file, and can specify column 2 as
being text, and not a date.

If you are having a problem with the other program into which you are importing
this data, it may be that there is something other problem.

When I take your data, and save it as a .csv file; then open that file in
notepad, I get:

5/14/2008,5280-3-01,Test
5/14/2008,5280-3-01,Test
5/14/2008,5280-3-01,Test
5/14/2008,1030-0-01,Test
5/14/2008,2101-0-01,Test
5/14/2008,1030-0-01,Test
5/14/2008,2101-0-01,Test





--ron
.

  #10  
Old January 5th, 2010, 10:43 PM posted to microsoft.public.excel.misc
Gord Dibben
external usenet poster
 
Posts: 20,252
Default Formating Numbers

Don't open the csv file in Excel.

Import the csv file directly into your accounting program.


Gord Dibben MS Excel MVP

On Tue, 5 Jan 2010 11:05:01 -0800, klafert
wrote:

I not mistaken and I am importing this into an accounting program. However,
I can't open the .csv file in Excel without the number 5280-3-01 into a date.
I am pasting how the file looks when you open it using notepad:

Date,Account ID,Reference,Trans Description,Amount,Number of
Distributions,Recur Number,Recur Frequency
5/14/08,5280-3-01,AP015843,TIPMASTER'S,-115,8,,
5/14/08,5280-3-01,AP015843,TIPMASTER'S,-115,8,,
5/14/08,5280-3-01,AP015843,AT&T ADVERTISING,-2020,8,,
5/14/08,5280-3-01,AP015843,CRYSTAL CLEAR SOLUTIONS,-1875,8,,
5/14/08,5280-3-01,AP015843,AT&T ADVERTISING,-2020,8,,
5/14/08,5280-3-01,AP015843,CRYSTAL CLEAR SOLUTIONS,-1875,8,,
5/14/08,1030-0-01,AP015843,V:1632/C:8307,"1,875.00",8,,
5/14/08,1030-0-01,AP015843,V:1632/C:8307,"1,875.00",8,,
5/14/08,2101-0-01,AP015843,AT&T ADVERTISING,"2,020.00",8,,
5/14/08,2101-0-01,AP015843,TIPMASTER'S,115.00,8,,
5/14/08,2101-0-01,AP015843,CRYSTAL CLEAR SOLUTIONS,"1,875.00",8,,
5/14/08,2101-0-01,AP015843,V:1632/C:8307,-1875,8,,
5/14/08,2101-0-01,AP015843,AT&T ADVERTISING,"2,020.00",8,,
5/14/08,2101-0-01,AP015843,TIPMASTER'S,115.00,8,,
5/14/08,2101-0-01,AP015843,CRYSTAL CLEAR SOLUTIONS,"1,875.00",8,,
5/14/08,2101-0-01,AP015843,V:1632/C:8307,-1875,8
It looks correct there but in the .csv (excel view) :

Date Account ID Reference Trans Description Amount Number of
Distributions Recur Number Recur Frequency
5/14/2008 3/1/5280 AP015843 TIPMASTER'S -115 8
5/14/2008 3/1/5280 AP015843 TIPMASTER'S -115 8
5/14/2008 3/1/5280 AP015843 AT&T ADVERTISING -2020 8
5/14/2008 3/1/5280 AP015843 CRYSTAL CLEAR SOLUTIONS -1875 8
5/14/2008 3/1/5280 AP015843 AT&T ADVERTISING -2020 8
5/14/2008 3/1/5280 AP015843 CRYSTAL CLEAR SOLUTIONS -1875 8
5/14/2008 1030-0-01 AP015843 V:1632/C:8307 1,875.00 8
5/14/2008 1030-0-01 AP015843 V:1632/C:8307 1,875.00 8
5/14/2008 2101-0-01 AP015843 AT&T ADVERTISING 2,020.00 8
5/14/2008 2101-0-01 AP015843 TIPMASTER'S 115 8
5/14/2008 2101-0-01 AP015843 CRYSTAL CLEAR SOLUTIONS 1,875.00 8
5/14/2008 2101-0-01 AP015843 V:1632/C:8307 -1875 8
5/14/2008 2101-0-01 AP015843 AT&T ADVERTISING 2,020.00 8
5/14/2008 2101-0-01 AP015843 TIPMASTER'S 115 8
5/14/2008 2101-0-01 AP015843 CRYSTAL CLEAR SOLUTIONS 1,875.00 8
5/14/2008 2101-0-01 AP015843 V:1632/C:8307 -1875 8

Notice the 2101-0-01 doesn't change to a date. I f I could I send you the
file but I dont think I can do that here in the Community - can I?


"Ron Rosenfeld" wrote:

On Mon, 4 Jan 2010 14:44:01 -0800, klafert
wrote:

I have a spreadsheet and in one column I have numbers like below:


5/14/08 5280-3-01 Test
5/14/08 5280-3-01 Test
5/14/08 5280-3-01 Test
5/14/08 1030-0-01 Test
5/14/08 2101-0-01 Test
5/14/08 1030-0-01 Test
5/14/08 2101-0-01 Test

I have formated the 2ND column in Text, Number, every type of format. I
even tried re-typing the number manually, and copy and pasted everything in
a new spreadsheet and re-typed the number again. But when I save this
spreadsheet to .csv the 5280-3-01 turns into a date. I even manually
formatted and re-typed the number in the .csv file. I don't have to open the
file after I save it in a .csv because I am importing it into another
program. However, when I tried to import the file it bombs on this column,
yet the rest of the numbers in the same format will go import. I have already
done this before with the same number. However all the other numbers in
column 2 starting with the 4th line comes out fine. I formatted the whole
column the same.


The first 3 lines were the number is 5280-3-01 - I



You may be mistaken.

Unless there is something else going on, when you SAVE the spreadsheet to .csv
the 5280-3-01 does NOT turn into a date. Rather, it turns into a date when you
OPEN the previously saved .csv file.

Have you tried opening the .csv file using NOTEPAD? If you do, you may find
that the data is saved properly.

If you want to open the .csv file in Excel, and NOT have the 2nd column turn
into dates, you will have to change the suffix to .txt. You will then get the
text import wizard when you try to open the file, and can specify column 2 as
being text, and not a date.

If you are having a problem with the other program into which you are importing
this data, it may be that there is something other problem.

When I take your data, and save it as a .csv file; then open that file in
notepad, I get:

5/14/2008,5280-3-01,Test
5/14/2008,5280-3-01,Test
5/14/2008,5280-3-01,Test
5/14/2008,1030-0-01,Test
5/14/2008,2101-0-01,Test
5/14/2008,1030-0-01,Test
5/14/2008,2101-0-01,Test





--ron
.


 




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 12:51 AM.


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