Fixing ZIPCODES while converting data

  • Thread starter Thread starter Newbie1
  • Start date Start date
N

Newbie1

Is there a way to fix zipcodes while migrating data from one worksheet to
another? I have the columns filled with
=PROPER(Sheet1!A2) =PROPER(Sheet1!B2) etc, so I am looking for a proper
function that will "fix" the zipcodes and force them as leading zero (if
needed) based text. So something that can be called like =FIXZIP(Sheet1!H2)
Or is there a simpler way?
Thanks
BPJ
 
=right("00000" & Sheet1!C2,5)

or

=Text(Sheet1!C2,"00000")

for 5 digit zip codes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top