Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Leading 0s in zip codes suppressed - should be text or zip format

I have a data file that was given to me in .xls format - and all of the
leading 0s have been suppressed. How do I get them back?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default Leading 0s in zip codes suppressed - should be text or zip format

Use a help column

=TEXT(A1,"00000")

(assuming your zip codes start in A1)

copy down, then copy and paste special over the source will give you text
with leading zeros

You can also use formatcellsnumberspecial and select zip codes
that will change to the correct format but it won't export the leading zeros
if that's what you want


--
Regards,

Peo Sjoblom





"Foolish Aunt" wrote in message
...
I have a data file that was given to me in .xls format - and all of the
leading 0s have been suppressed. How do I get them back?

Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Leading 0s in zip codes suppressed - should be text or zip for

Success! THANK YOU!

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 in text format BigBrook Excel Discussion (Misc queries) 5 December 11th 08 08:00 PM
zip codes without losing leading zero from csv mccafl Excel Discussion (Misc queries) 5 March 2nd 07 12:58 AM
formating zip codes with leading zero to print zero above the notch nh Excel Discussion (Misc queries) 1 August 23rd 06 06:29 PM
zip codes not being saved as text in CSV format MelissaM Excel Discussion (Misc queries) 5 September 9th 05 11:10 PM
how do I input zip codes with a leading zero Susan New Users to Excel 5 April 17th 05 06:38 PM


All times are GMT +1. The time now is 04:51 AM.

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"