format column in Numbers for zip code

how do I get a leading zero for zip codes??

MacBook Pro, Mac OS X (10.6.7), Keynote

Posted on Aug 14, 2013 3:58 PM

Reply
Question marked as Top-ranking reply

Posted on Aug 15, 2013 1:04 PM

CR,


There's an easy way to format your zip codes in Numbers so that they display leading zeros, even if they came in as numeric values with the zeros stripped off. There is a Format type in Numbers called Numeral System. If you format your ZIP column to Numeral System with Base 10 and 5 Places, that should give you what you are looking for. I have checked whether there is any problem with pasting ZIP codes into a table preformatted for Numeral System and it seems to function properly for all types of ZIP codes.


Jerry

12 replies
Question marked as Top-ranking reply

Aug 15, 2013 1:04 PM in response to crawson309

CR,


There's an easy way to format your zip codes in Numbers so that they display leading zeros, even if they came in as numeric values with the zeros stripped off. There is a Format type in Numbers called Numeral System. If you format your ZIP column to Numeral System with Base 10 and 5 Places, that should give you what you are looking for. I have checked whether there is any problem with pasting ZIP codes into a table preformatted for Numeral System and it seems to function properly for all types of ZIP codes.


Jerry

Aug 14, 2013 6:26 PM in response to crawson309

When opening an Excel file in Numbers, you have no formatting options until the document has been opened/imported.


You can format the column as text in Excel, as I've done here (in Libre Office) before saving it as an Excel (.xls) file (first image). The result, when opened in Numbers, is shown in the second image.

User uploaded file

Column C formatted as Text. Other columns left to recognize what was entered. Libre Office document saved as .xls file.

User uploaded file

xls file above opened in Numbers '09. No changes made.


Regards,

Barry

Nov 24, 2014 5:21 PM in response to cbnie

start by selecting the cell(s) yu want to format, then go to the Format menu and choose Create Custom Cell Format:

User uploaded file

In the dialogue that opens:

  • Edit the name to reflect the use to which this format will be placed.
  • Leave the type as Numbers & Text
  • Note the example (orange circle) showing how a number will appear under the curent format.
  • Click the white triangle (see arrow) in the Integer tablet (red circle) to open the options menu.

User uploaded file

Take three trips to the options menu:

  • Choose Hide Separator
  • Choose Show Zeros for Unused Digits
  • Choose Add Digit

User uploaded file

Click OK to return to the document.

User uploaded file


Note that this will work for the original five digit Zip codes. Extended five-four codes will be treated as text, as can be seen in the image above. and will not sort correctly (see column D of left table below). For correct sorting, format the column as text and enter the Zip codes including the leading zeros, as has been done in the single column on the right (before the column was sorted into the displayed order).

User uploaded file

Regards,

Barry

Aug 14, 2013 4:39 PM in response to crawson309

crawson,


this forum is identified as a for for the program Number from Apples iWork suite. If you need help with Microsoft Excel it would be better to pursue the topc on a Microsoft forum since it would have more people there that use Excel.


Zip is not a standard formatting option (best I am aware) in either Excel or Numbers. Neither are phone numbers or physical addresses.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

format column in Numbers for zip code

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.