Hi ,
I need to convert cells having zip code + 4 format to text format because I am not able to see leading zeros and dash in the cell but visually it appears.I am using excel 2010.
Any help would greately appreciated.
Thanks
Hi ,
I need to convert cells having zip code + 4 format to text format because I am not able to see leading zeros and dash in the cell but visually it appears.I am using excel 2010.
Any help would greately appreciated.
Thanks
Hi Narendra..
Some of Forum member are not from USA, or even not idea.. what is "zip code + 4" format looks like..
however, If they can able to see some of the format or sample file with expected output, may be some Non-USA will also give a try..
Regards!
=DEC2HEX(3563)
If you like someone's answer, click the star to give them a reputation point for that answer...
Have you seen the Cell Format made for Zip Codes + 4? Read:
http://www.dummies.com/how-to/conten...r-formats.html
One test is worth a thousand opinions.
Click the * Add Reputation below to say thanks.
Hi,
Actually I have a column of zip code for that we need to append leading zeros to make 5 character lengh for those which are >3 character length and <5 character length and highlihght the value which is less than 3 character and also convert the cells into text format for importing purpose.
I am using this code but it is loosing dash and leading zeros which are already have 5 character length.
For example
The below code will provide the output
27773239 but visually I can see as 02777-3239
Please Login or Register to view this content.
Last edited by narendrabr; 12-16-2014 at 01:54 PM.
so what was wrong with the functions in your other thread?
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
Actually the code is not retaing leading zeros and dash and it is just converting the cells as text using this code
rng.NumberFormat = "@"
Thanks
Hi,
The above code is working fine if the cell is already text data type but if it is in zipcode+4 format it is not displaying leading 0 and dash.
Thanks!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks