Welcome to Windows Help!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

CSV and Custom Fields

 
   Windows Help (Home) -> Microsoft Excel RSS
Next:  Access 2007  
Author Message
John Persico

External


Since: Dec 17, 2009
Posts: 4



(Msg. 1) Posted: Thu Dec 17, 2009 1:01 pm
Post subject: CSV and Custom Fields
Archived from groups: microsoft>public>excel (more info?)

I have a spreadsheet with a custom field: 000000000000.
12 numbers = a UPC code.

However, when I save this as a .CSV file, then field gets converted to
scientific notation.
How can I setup my excel file so that 1) I have 12 characters (numbers) for
a UPC code, and 2) when I save a .csv file the file contains 12 characters
(without scientific notation)?

 >> Stay informed about: CSV and Custom Fields 
Back to top
Login to vote
Pete_UK

External


Since: Dec 4, 2008
Posts: 17



(Msg. 2) Posted: Thu Dec 17, 2009 1:01 pm
Post subject: Re: CSV and Custom Fields
Archived from groups: per prev. post (more info?)

You need to treat it as a text field. In a spare column you could
have:

=TEXT(A1,"000000000000")

and then fix the values in that column and copy them to over-write the
originals. You can ensure that they do not get converted to numbers
when the CSV file is subsequently opened in Excel by including a text
character at the beginning or end, eg "x" or "_" or "~". It would be
easy to extract the number part using LEFT or RIGHT.

Hope this helps.

Pete

On Dec 17, 6:01 pm, "John Persico" wrote:
> I have a spreadsheet with a custom field:  000000000000.
> 12 numbers = a UPC code.
>
> However, when I save this as a .CSV file, then field gets converted to
> scientific notation.
> How can I setup my excel file so that 1)  I have 12 characters (numbers) for
> a UPC code, and 2)  when I save a .csv file the file contains 12 characters
> (without scientific notation)?

 >> Stay informed about: CSV and Custom Fields 
Back to top
Login to vote
John Persico

External


Since: Dec 17, 2009
Posts: 4



(Msg. 3) Posted: Thu Dec 17, 2009 2:09 pm
Post subject: Re: CSV and Custom Fields
Archived from groups: per prev. post (more info?)

I was able to get the column to be text... using the method you mentioned.

Here's the issue.
I upload a .csv file to an online store.
When I save a .csv file and upload it, my UPCs show up as scientific
notation.
Maybe I'm missing something here.
How can I do an upload?
It has to be a character string, right?

"Pete_UK" wrote in message

You need to treat it as a text field. In a spare column you could
have:

=TEXT(A1,"000000000000")

and then fix the values in that column and copy them to over-write the
originals. You can ensure that they do not get converted to numbers
when the CSV file is subsequently opened in Excel by including a text
character at the beginning or end, eg "x" or "_" or "~". It would be
easy to extract the number part using LEFT or RIGHT.

Hope this helps.

Pete

On Dec 17, 6:01 pm, "John Persico" wrote:
> I have a spreadsheet with a custom field: 000000000000.
> 12 numbers = a UPC code.
>
> However, when I save this as a .CSV file, then field gets converted to
> scientific notation.
> How can I setup my excel file so that 1) I have 12 characters (numbers)
> for
> a UPC code, and 2) when I save a .csv file the file contains 12 characters
> (without scientific notation)?
 >> Stay informed about: CSV and Custom Fields 
Back to top
Login to vote
Pete_UK

External


Since: Dec 4, 2008
Posts: 17



(Msg. 4) Posted: Thu Dec 17, 2009 5:25 pm
Post subject: Re: CSV and Custom Fields
Archived from groups: per prev. post (more info?)

John,

I have the same problem with CSV files sent to me relating to
telephone data. Leading zeros (sometimes double zeros) are important
in phone numbers, but often if you just open the CSV file in Excel
those numbers will be converted to scientific notation. One way around
it is to rename the .CSV file to .TXT, then when you open this Excel
will automatically enter the Data Import Wizard and with this you can
specify exactly how you want each field of data to be treated, i.e. as
Text in this case. I like those suppliers who put "_" or "~" in front
of the number, so tht the digits are not converted when I open the CSV
file directly.

I don't know enough of your application to say if this approach would
work for you, but if you appended a letter x at the end of your 12-
digit number, then that would be interpreted as a text value, and as I
said before it is very easy to get rid of it after importing.

Hope this helps.

Pete

On Dec 17, 7:09 pm, "John Persico" wrote:
> I was able to get the column to be text...  using the method you mentioned.
>
> Here's the issue.
> I upload a .csv file to an online store.
> When I save a .csv file and upload it, my UPCs show up as scientific
> notation.
> Maybe I'm missing something here.
> How can I do an upload?
> It has to be a character string, right?
>
> "Pete_UK" wrote in message
>

> You need to treat it as a text field. In a spare column you could
> have:
>
> =TEXT(A1,"000000000000")
>
> and then fix the values in that column and copy them to over-write the
> originals. You can ensure that they do not get converted to numbers
> when the CSV file is subsequently opened in Excel by including a text
> character at the beginning or end, eg "x" or "_" or "~". It would be
> easy to extract the number part using LEFT or RIGHT.
>
> Hope this helps.
>
> Pete
>
> On Dec 17, 6:01 pm, "John Persico" wrote:
>
>
>
> > I have a spreadsheet with a custom field: 000000000000.
> > 12 numbers = a UPC code.
>
> > However, when I save this as a .CSV file, then field gets converted to
> > scientific notation.
> > How can I setup my excel file so that 1) I have 12 characters (numbers)
> > for
> > a UPC code, and 2) when I save a .csv file the file contains 12 characters
> > (without scientific notation)?- Hide quoted text -
>
> - Show quoted text -
 >> Stay informed about: CSV and Custom Fields 
Back to top
Login to vote
Dave Peterson

External


Since: Oct 17, 2008
Posts: 38



(Msg. 5) Posted: Fri Dec 18, 2009 1:52 pm
Post subject: Re: CSV and Custom Fields
Archived from groups: per prev. post (more info?)

Did you check the data in the CSV file by re-opening it in excel or by opening
the CSV file in a text editor (like NotePad)?



John Persico wrote:
>
> I was able to get the column to be text... using the method you mentioned.
>
> Here's the issue.
> I upload a .csv file to an online store.
> When I save a .csv file and upload it, my UPCs show up as scientific
> notation.
> Maybe I'm missing something here.
> How can I do an upload?
> It has to be a character string, right?
>
> "Pete_UK" wrote in message

> You need to treat it as a text field. In a spare column you could
> have:
>
> =TEXT(A1,"000000000000")
>
> and then fix the values in that column and copy them to over-write the
> originals. You can ensure that they do not get converted to numbers
> when the CSV file is subsequently opened in Excel by including a text
> character at the beginning or end, eg "x" or "_" or "~". It would be
> easy to extract the number part using LEFT or RIGHT.
>
> Hope this helps.
>
> Pete
>
> On Dec 17, 6:01 pm, "John Persico" wrote:
> > I have a spreadsheet with a custom field: 000000000000.
> > 12 numbers = a UPC code.
> >
> > However, when I save this as a .CSV file, then field gets converted to
> > scientific notation.
> > How can I setup my excel file so that 1) I have 12 characters (numbers)
> > for
> > a UPC code, and 2) when I save a .csv file the file contains 12 characters
> > (without scientific notation)?
 >> Stay informed about: CSV and Custom Fields 
Back to top
Login to vote
John Persico

External


Since: Dec 17, 2009
Posts: 4



(Msg. 6) Posted: Fri Dec 18, 2009 2:39 pm
Post subject: Re: CSV and Custom Fields
Archived from groups: per prev. post (more info?)

I have to upload a .csv file to a store website.
The UPC code is the one I'm having a problem with.
If I put something before or after the number, then the upload to the store
will include it.

Even when I force the field to be text, the export to a .csv doesn't work
like the way I want it to.

Is there a way to force the .csv file to make that field a string instead of
a number?

I'm not sure if there's a way to do what I want to do.
I use ProStores.
There's many fields, one being UPC Code. Many UPC codes start with a zero.
That's what giving me the problem here.
Products can be listed at Google Base, which I've done, but...
Google base says I have errors with my UPC codes, aptly so.

Any ideas?

I'm not sure how everyone else gets UPC codes to ProStores, to be quite
honest.
Maybe I'll call support and see what they suggest.

"Pete_UK" wrote in message

John,

I have the same problem with CSV files sent to me relating to
telephone data. Leading zeros (sometimes double zeros) are important
in phone numbers, but often if you just open the CSV file in Excel
those numbers will be converted to scientific notation. One way around
it is to rename the .CSV file to .TXT, then when you open this Excel
will automatically enter the Data Import Wizard and with this you can
specify exactly how you want each field of data to be treated, i.e. as
Text in this case. I like those suppliers who put "_" or "~" in front
of the number, so tht the digits are not converted when I open the CSV
file directly.

I don't know enough of your application to say if this approach would
work for you, but if you appended a letter x at the end of your 12-
digit number, then that would be interpreted as a text value, and as I
said before it is very easy to get rid of it after importing.

Hope this helps.

Pete

On Dec 17, 7:09 pm, "John Persico" wrote:
> I was able to get the column to be text... using the method you mentioned.
>
> Here's the issue.
> I upload a .csv file to an online store.
> When I save a .csv file and upload it, my UPCs show up as scientific
> notation.
> Maybe I'm missing something here.
> How can I do an upload?
> It has to be a character string, right?
>
> "Pete_UK" wrote in message
>

> You need to treat it as a text field. In a spare column you could
> have:
>
> =TEXT(A1,"000000000000")
>
> and then fix the values in that column and copy them to over-write the
> originals. You can ensure that they do not get converted to numbers
> when the CSV file is subsequently opened in Excel by including a text
> character at the beginning or end, eg "x" or "_" or "~". It would be
> easy to extract the number part using LEFT or RIGHT.
>
> Hope this helps.
>
> Pete
>
> On Dec 17, 6:01 pm, "John Persico" wrote:
>
>
>
> > I have a spreadsheet with a custom field: 000000000000.
> > 12 numbers = a UPC code.
>
> > However, when I save this as a .CSV file, then field gets converted to
> > scientific notation.
> > How can I setup my excel file so that 1) I have 12 characters (numbers)
> > for
> > a UPC code, and 2) when I save a .csv file the file contains 12
> > characters
> > (without scientific notation)?- Hide quoted text -
>
> - Show quoted text -
 >> Stay informed about: CSV and Custom Fields 
Back to top
Login to vote
John Persico

External


Since: Dec 17, 2009
Posts: 4



(Msg. 7) Posted: Fri Dec 18, 2009 5:01 pm
Post subject: Re: CSV and Custom Fields
Archived from groups: per prev. post (more info?)

Good point.
When I open the file in Excel it shows scientific notation.
But, when I open it in a text editor it doesn't.
My upload works.
My UPCs are showing up as 12 digits, and with zeros in front of them where
appropriate.


Thanks for everyone's help!

"Dave Peterson" wrote in message

> Did you check the data in the CSV file by re-opening it in excel or by
> opening
> the CSV file in a text editor (like NotePad)?
>
>
>
> John Persico wrote:
>>
>> I was able to get the column to be text... using the method you
>> mentioned.
>>
>> Here's the issue.
>> I upload a .csv file to an online store.
>> When I save a .csv file and upload it, my UPCs show up as scientific
>> notation.
>> Maybe I'm missing something here.
>> How can I do an upload?
>> It has to be a character string, right?
>>
>> "Pete_UK" wrote in message
>
>> You need to treat it as a text field. In a spare column you could
>> have:
>>
>> =TEXT(A1,"000000000000")
>>
>> and then fix the values in that column and copy them to over-write the
>> originals. You can ensure that they do not get converted to numbers
>> when the CSV file is subsequently opened in Excel by including a text
>> character at the beginning or end, eg "x" or "_" or "~". It would be
>> easy to extract the number part using LEFT or RIGHT.
>>
>> Hope this helps.
>>
>> Pete
>>
>> On Dec 17, 6:01 pm, "John Persico" wrote:
>> > I have a spreadsheet with a custom field: 000000000000.
>> > 12 numbers = a UPC code.
>> >
>> > However, when I save this as a .CSV file, then field gets converted to
>> > scientific notation.
>> > How can I setup my excel file so that 1) I have 12 characters (numbers)
>> > for
>> > a UPC code, and 2) when I save a .csv file the file contains 12
>> > characters
>> > (without scientific notation)?
>
> --
>
> Dave Peterson
 >> Stay informed about: CSV and Custom Fields 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
INDEX MATCH HELL ooops.. I mean HELP! - I know (or at least I think I do) that I can do this with INDEX MATCH. Here is what I want to do. I want to place this formula in cell C4 of Sheet 1. What I want this formula to do is to match the value of B2 of Sheet 1 with a list that is in Sheet 2...

Notation Bugs - Did anybody notice that Excel handles math notations (symbols) in an incorrect way? Try this: write -2 in cell A1. Write =1-A1^2 in a different cell. Write =-A1^2+1 in another cell. The two expressions are equivalent, shouldn't they? Well, the former..

How to create a single line separated by commas from a mat.. - Hello, I've the following problem. I've a table made of several columns. Each colum represents a characteristic regarding to a subject (e.g. Name, Surname, Home Street, etc...). In the rows I put the different people. I need to export these info to a....

Excel password Recovery - Hi All, i forgot my excel password, can any tell me how to recover the password there is any free tool is avail in web, Regards, Deen

Exel 2007: Show row over row - Hello Since our users uses Office 2007 there cames up a very strange issue. Sometimes (and rely sometimes) one row (only one) will show up twice (and only a part of this row will show). The rest of the sheet is ok. If you close and reopen the same sheet...
   Windows Help (Home) -> Microsoft Excel All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]