zipcode, enter 5, show 3

J

JcR

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
 
D

Duke Carey

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))
 
J

JcR

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))
 
Top