View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MarketStEl MarketStEl is offline
external usenet poster
 
Posts: 1
Default How can I get a leading zero (ZIP code) to show in a LEFT() calc?

I have a numeric field that is formatted to display as a ZIP code and a field
to its right that is supposed to show the first three digits of the ZIP code
for 3-digit sorting.

However, Excel strips the leading 0 off ZIP code numbers beginning with it
before storing it, resulting in incorrect data in the field on the right,
which displays the LEFT(...,3) function result. What's more, the actual ZIP
codes print without the leading zeroes.

How can I get the leading zeroes to print and be included in the 3-digit
field?