zipcode, enter 5, show 3

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to enter 5 digit zipcode in cell a1, and want the first three
digits of that zipcode to appear in cell a2

thanks
 
1) make sure A1 is formatted as text, in case the zip code begins with zeroes
2) in A2 enter the formula

=left(A1,3)

3) if you need the numeric value of those characters, use this formula instead

=value(left(A1,3))
 
thanks

Duke Carey said:
1) make sure A1 is formatted as text, in case the zip code begins with zeroes
2) in A2 enter the formula

=left(A1,3)

3) if you need the numeric value of those characters, use this formula instead

=value(left(A1,3))
 

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