#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Leading Zeros

Hello,
I am having a recurring problem. I am in a Copy Mail Center and I do an
excessive amount of data merges. The only problem with this is that I
live in Mass where the zip codes all start with 021. Now when I do a
data merge with word or publisher importing the xls file it removes the
zip codes leading zeroes. Even if I have set the column name to zip
code. So now I have to create an extra text file. This adds time that I
don't really have time for. I usually receive the file. Import to there
document and then print, now I have to open the excel file save as a
CSV or txt then import it into publisher or word. I do an average of 53
mail merges a week. How can I stop excel from removing my leading
zeroes permanently.

Thank you in advance for any Help.

Nathan Best

*Other info - The data is sent to me from DataTel Networks. I have
discussed this with them and they have told me there is nothing they
can do on there end. So I am out of luck with that.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Leading Zeros

Kooster,
I have no access to the data entry portion of the file. It's created by
seperate departments. and Uploaded into the datatel management server.
Nathan

Kooster wrote:
As you do the data entry of the Zip, precede the numerics with an apostrophe
(') character. This will left align the numeric and retain it as a text entry.

On entry '00000-0000
In the sheet it should look like this 00000-0000

P.
--
Overcome Sales Barriers
http://salesbarriers.typepad.com/


"Nestor" wrote:

did you try formating the zip code column as text?


wrote:
Hello,
I am having a recurring problem. I am in a Copy Mail Center and I do an
excessive amount of data merges. The only problem with this is that I
live in Mass where the zip codes all start with 021. Now when I do a
data merge with word or publisher importing the xls file it removes the
zip codes leading zeroes. Even if I have set the column name to zip
code. So now I have to create an extra text file. This adds time that I
don't really have time for. I usually receive the file. Import to there
document and then print, now I have to open the excel file save as a
CSV or txt then import it into publisher or word. I do an average of 53
mail merges a week. How can I stop excel from removing my leading
zeroes permanently.

Thank you in advance for any Help.

Nathan Best

*Other info - The data is sent to me from DataTel Networks. I have
discussed this with them and they have told me there is nothing they
can do on there end. So I am out of luck with that.






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 38
Default Leading Zeros

From your reference to "Datatel" I will assume you are in the college or
university market. It's not difficult for them to give you a "report" with
the proper formatting. Have them "print to file" (.txt file) and you should
be able to read the text file into Excel. From there, you can 'parse' the
data into columns using field length (fixed length) as the delimeter.

P.
--
Overcome Sales Barriers
http://salesbarriers.typepad.com/


" wrote:

Yes and excel still removes the zeros.

Nestor wrote:
did you try formating the zip code column as text?


wrote:
Hello,
I am having a recurring problem. I am in a Copy Mail Center and I do an
excessive amount of data merges. The only problem with this is that I
live in Mass where the zip codes all start with 021. Now when I do a
data merge with word or publisher importing the xls file it removes the
zip codes leading zeroes. Even if I have set the column name to zip
code. So now I have to create an extra text file. This adds time that I
don't really have time for. I usually receive the file. Import to there
document and then print, now I have to open the excel file save as a
CSV or txt then import it into publisher or word. I do an average of 53
mail merges a week. How can I stop excel from removing my leading
zeroes permanently.

Thank you in advance for any Help.

Nathan Best

*Other info - The data is sent to me from DataTel Networks. I have
discussed this with them and they have told me there is nothing they
can do on there end. So I am out of luck with that.



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Leading Zeros

Thank you, that worked perfect.

N
Kooster wrote:
From your reference to "Datatel" I will assume you are in the college or
university market. It's not difficult for them to give you a "report" with
the proper formatting. Have them "print to file" (.txt file) and you should
be able to read the text file into Excel. From there, you can 'parse' the
data into columns using field length (fixed length) as the delimeter.

P.
--
Overcome Sales Barriers
http://salesbarriers.typepad.com/


" wrote:

Yes and excel still removes the zeros.

Nestor wrote:
did you try formating the zip code column as text?


wrote:
Hello,
I am having a recurring problem. I am in a Copy Mail Center and I do an
excessive amount of data merges. The only problem with this is that I
live in Mass where the zip codes all start with 021. Now when I do a
data merge with word or publisher importing the xls file it removes the
zip codes leading zeroes. Even if I have set the column name to zip
code. So now I have to create an extra text file. This adds time that I
don't really have time for. I usually receive the file. Import to there
document and then print, now I have to open the excel file save as a
CSV or txt then import it into publisher or word. I do an average of 53
mail merges a week. How can I stop excel from removing my leading
zeroes permanently.

Thank you in advance for any Help.

Nathan Best

*Other info - The data is sent to me from DataTel Networks. I have
discussed this with them and they have told me there is nothing they
can do on there end. So I am out of luck with that.




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
leading zeros when uploading a number from text file mc01234 Excel Discussion (Misc queries) 1 May 18th 06 08:47 PM
Leading Zeros Karen Excel Discussion (Misc queries) 3 January 10th 06 09:50 PM
Spliting a number with leading zeros haitch2 Excel Discussion (Misc queries) 7 September 30th 05 12:09 AM
How do I force leading zeros in an Excel cell? EricKei Excel Discussion (Misc queries) 2 June 15th 05 08:28 PM
Leading zeros Paul Excel Discussion (Misc queries) 4 June 12th 05 04:04 AM


All times are GMT +1. The time now is 12:16 PM.

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"