Author: Michael Madigan
Posted: 2017-09-20 07:18:52 Link
I thought I'd pass this tip along. If you have large text fields with numeric values, like insurance policy numbers or UPC Codes, you have to format the cell with custom type ############### or similar, otherwise the CSV file gets scientific notation values, even if the cell is of type text.
Hope this saves someone some time.
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/57304838.94560.1505909932008@mail.yahoo.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Author: Peter Cushing
Posted: 2017-09-20 07:25:11 Link
On 20/09/2017 13:18, Michael Madigan wrote:
> I thought I'd pass this tip along. If you have large text fields with numeric values, like insurance policy numbers or UPC Codes, you have to format the cell with custom type ############### or similar, otherwise the CSV file gets scientific notation values, even if the cell is of type text.
> Hope this saves someone some time.
>
Yes, been bitten by this with EAN13 barcodes. Excel "helping" you with
scientific notation. I usually highlight the column and if you bring
up the format cells dialog (Control-1 shortcut) then click on number and
change the decimals to 0 and click ok.
Peter
This communication is intended for the person or organisation to whom it is addressed. The contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.
www.whisperingsmith.com
Whispering Smith Ltd Head Office:61 Great Ducie Street, Manchester M3 1RR.
Tel:0161 831 3700
Fax:0161 831 3715
London Office:17-19 Foley Street, London W1W 6DW Tel:0207 299 7960
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/d3f1bcc5-eeec-25b1-5538-baea02599026@whisperingsmith.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Author: Richard Kaye
Posted: 2017-09-20 07:29:06 Link
This also happens with international phone numbers. You can also use the cell format for zip codes - 00000
Want to see what the actual format of a cell is via automation? Fire up Excel, add some value to a cell and apply a format.
ox=GETOBJECT(,[excel.application])
?ox.ActiveCell.Value
?ox.ActiveCell.Text
?ox.ActiveCell.NumberFormat
RELEASE ox
--
rk
-----Original Message-----
From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Michael Madigan
Sent: Wednesday, September 20, 2017 8:19 AM
To: profoxtech@leafe.com
Subject: [NF] Excel Text formatted cells converting to scientific notation when saving as csv
I thought I'd pass this tip along. If you have large text fields with numeric values, like insurance policy numbers or UPC Codes, you have to format the cell with custom type ############### or similar, otherwise the CSV file gets scientific notation values, even if the cell is of type text.
Hope this saves someone some time.
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/MWHPR10MB17744BC26083763A4F84EC9CD2610@MWHPR10MB1774.namprd10.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Author: Laurie Alvey
Posted: 2017-09-20 09:09:23 Link
IMHO, another reason to avoid CSV files. Does the same happen if the
worksheet is saved as, say ,text tab delimited?
Laurie
On 20 September 2017 at 13:29, Richard Kaye <rkaye@invaluable.com> wrote:
> This also happens with international phone numbers. You can also use the
> cell format for zip codes - 00000
>
> Want to see what the actual format of a cell is via automation? Fire up
> Excel, add some value to a cell and apply a format.
>
> ox=GETOBJECT(,[excel.application])
> ?ox.ActiveCell.Value
> ?ox.ActiveCell.Text
> ?ox.ActiveCell.NumberFormat
> RELEASE ox
>
> --
>
> rk
>
> -----Original Message-----
> From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of
> Michael Madigan
> Sent: Wednesday, September 20, 2017 8:19 AM
> To: profoxtech@leafe.com
> Subject: [NF] Excel Text formatted cells converting to scientific notation
> when saving as csv
>
> I thought I'd pass this tip along. If you have large text fields with
> numeric values, like insurance policy numbers or UPC Codes, you have to
> format the cell with custom type ############### or similar, otherwise the
> CSV file gets scientific notation values, even if the cell is of type text.
> Hope this saves someone some time.
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CAMvTR9fTOhmgohyWyXE--bnCh3WQw-LLpnPfWLP55KwL5DcHjw@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Author: Richard Kaye
Posted: 2017-09-20 09:55:52 Link
Pretty sure. Unless you use a source file type that might contain formatting info, Excel is trying to be helpful by making educated guesses about the contents of a cell.
--
rk
-----Original Message-----
From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Laurie Alvey
Sent: Wednesday, September 20, 2017 10:09 AM
To: profoxtech@leafe.com
Subject: Re: [NF] Excel Text formatted cells converting to scientific notation when saving as csv
IMHO, another reason to avoid CSV files. Does the same happen if the
worksheet is saved as, say ,text tab delimited?
Laurie
On 20 September 2017 at 13:29, Richard Kaye <rkaye@invaluable.com> wrote:
> This also happens with international phone numbers. You can also use the
> cell format for zip codes - 00000
>
> Want to see what the actual format of a cell is via automation? Fire up
> Excel, add some value to a cell and apply a format.
>
> ox=GETOBJECT(,[excel.application])
> ?ox.ActiveCell.Value
> ?ox.ActiveCell.Text
> ?ox.ActiveCell.NumberFormat
> RELEASE ox
>
> --
>
> rk
>
> -----Original Message-----
> From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of
> Michael Madigan
> Sent: Wednesday, September 20, 2017 8:19 AM
> To: profoxtech@leafe.com
> Subject: [NF] Excel Text formatted cells converting to scientific notation
> when saving as csv
>
> I thought I'd pass this tip along. If you have large text fields with
> numeric values, like insurance policy numbers or UPC Codes, you have to
> format the cell with custom type ############### or similar, otherwise the
> CSV file gets scientific notation values, even if the cell is of type text.
> Hope this saves someone some time.
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/MWHPR10MB1774797743640639542B3E4BD2610@MWHPR10MB1774.namprd10.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Author: Michael Madigan
Posted: 2017-09-22 04:05:08 Link
I don't know, but I would guess it would
From: Laurie Alvey <trukker41@gmail.com>
To: ProFox Email List <profox@leafe.com>
Sent: Wednesday, September 20, 2017 10:09 AM
Subject: Re: [NF] Excel Text formatted cells converting to scientific notation when saving as csv
IMHO, another reason to avoid CSV files. Does the same happen if the
worksheet is saved as, say ,text tab delimited?
Laurie
On 20 September 2017 at 13:29, Richard Kaye <rkaye@invaluable.com> wrote:
> This also happens with international phone numbers. You can also use the
> cell format for zip codes - 00000
>
> Want to see what the actual format of a cell is via automation? Fire up
> Excel, add some value to a cell and apply a format.
>
> ox=GETOBJECT(,[excel.application])
> ?ox.ActiveCell.Value
> ?ox.ActiveCell.Text
> ?ox.ActiveCell.NumberFormat
> RELEASE ox
>
> --
>
> rk
>
> -----Original Message-----
> From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of
> Michael Madigan
> Sent: Wednesday, September 20, 2017 8:19 AM
> To: profoxtech@leafe.com
> Subject: [NF] Excel Text formatted cells converting to scientific notation
> when saving as csv
>
> I thought I'd pass this tip along. If you have large text fields with
> numeric values, like insurance policy numbers or UPC Codes, you have to
> format the cell with custom type ############### or similar, otherwise the
> CSV file gets scientific notation values, even if the cell is of type text.
> Hope this saves someone some time.
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/1366088582.185531.1506071108765@mail.yahoo.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Author: Michael Madigan
Posted: 2017-09-22 04:06:10 Link
Yeah, it's crazy and a lot of times we don't catch it until it is loaded into our system, then we have to update it.
From: Richard Kaye <rkaye@invaluable.com>
To: "profox@leafe.com" <profox@leafe.com>
Sent: Wednesday, September 20, 2017 10:56 AM
Subject: RE: [NF] Excel Text formatted cells converting to scientific notation when saving as csv
Pretty sure. Unless you use a source file type that might contain formatting info, Excel is trying to be helpful by making educated guesses about the contents of a cell.
--
rk
-----Original Message-----
From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Laurie Alvey
Sent: Wednesday, September 20, 2017 10:09 AM
To: profoxtech@leafe.com
Subject: Re: [NF] Excel Text formatted cells converting to scientific notation when saving as csv
IMHO, another reason to avoid CSV files. Does the same happen if the
worksheet is saved as, say ,text tab delimited?
Laurie
On 20 September 2017 at 13:29, Richard Kaye <rkaye@invaluable.com> wrote:
> This also happens with international phone numbers. You can also use the
> cell format for zip codes - 00000
>
> Want to see what the actual format of a cell is via automation? Fire up
> Excel, add some value to a cell and apply a format.
>
> ox=GETOBJECT(,[excel.application])
> ?ox.ActiveCell.Value
> ?ox.ActiveCell.Text
> ?ox.ActiveCell.NumberFormat
> RELEASE ox
>
> --
>
> rk
>
> -----Original Message-----
> From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of
> Michael Madigan
> Sent: Wednesday, September 20, 2017 8:19 AM
> To: profoxtech@leafe.com
> Subject: [NF] Excel Text formatted cells converting to scientific notation
> when saving as csv
>
> I thought I'd pass this tip along. If you have large text fields with
> numeric values, like insurance policy numbers or UPC Codes, you have to
> format the cell with custom type ############### or similar, otherwise the
> CSV file gets scientific notation values, even if the cell is of type text.
> Hope this saves someone some time.
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/1923202628.190837.1506071170833@mail.yahoo.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Author: Ted Roche
Posted: 2017-09-22 05:34:51 Link
If you know you're going to run into a problem with fields that look
like numbers to the "Helpful" (not helpful) Excel import, you can
prepend a single-quote onto the fields and Excel won't try to convert
them.
On Fri, Sep 22, 2017 at 5:05 AM, Michael Madigan <mmadi10699@yahoo.com> wrote:
> I don't know, but I would guess it would
>
> From: Laurie Alvey <trukker41@gmail.com>
> To: ProFox Email List <profox@leafe.com>
> Sent: Wednesday, September 20, 2017 10:09 AM
> Subject: Re: [NF] Excel Text formatted cells converting to scientific notation when saving as csv
>
> IMHO, another reason to avoid CSV files. Does the same happen if the
> worksheet is saved as, say ,text tab delimited?
>
> Laurie
>
> On 20 September 2017 at 13:29, Richard Kaye <rkaye@invaluable.com> wrote:
>
>> This also happens with international phone numbers. You can also use the
>> cell format for zip codes - 00000
>>
>> Want to see what the actual format of a cell is via automation? Fire up
>> Excel, add some value to a cell and apply a format.
>>
>> ox=GETOBJECT(,[excel.application])
>> ?ox.ActiveCell.Value
>> ?ox.ActiveCell.Text
>> ?ox.ActiveCell.NumberFormat
>> RELEASE ox
>>
>> --
>>
>> rk
>>
>> -----Original Message-----
>> From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of
>> Michael Madigan
>> Sent: Wednesday, September 20, 2017 8:19 AM
>> To: profoxtech@leafe.com
>> Subject: [NF] Excel Text formatted cells converting to scientific notation
>> when saving as csv
>>
>> I thought I'd pass this tip along. If you have large text fields with
>> numeric values, like insurance policy numbers or UPC Codes, you have to
>> format the cell with custom type ############### or similar, otherwise the
>> CSV file gets scientific notation values, even if the cell is of type text.
>> Hope this saves someone some time.
>>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CACW6n4vRYSfY5T1gxXHJjE+KuEA0-8Z8RcppVD3vGKfJmFjrtQ@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Author: Gene Wirchenko
Posted: 2017-09-24 17:16:09 Link
At 07:55 2017-09-20, Richard Kaye <rkaye@invaluable.com> wrote:
>Pretty sure. Unless you use a source file type that might contain
>formatting info, Excel is trying to be helpful by making educated
>guesses about the contents of a cell.
Which can be disastrous:
http://catless.ncl.ac.uk/Risks/24/19#subj6.1
Excel garbles microarray experiment data
Another example of mishelpfulness: I was using Word on a uni
system. I was in a hurry to apply to a co-op job so I did not do my
usual option setting. That would have included turning off
AutoCorrect (a horrid name). I saw a flash at the top of the page
and looked. Word had "corrected" the E-mail address on my resume.
[snipped previous]
Sincerely,
Gene Wirchenko
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/b42d3891f78d9ee1ad713dd79c421495@mtlp000083
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.