G
Guest
I'm making a spreadsheet to track customer's by their zip code. I have the 9 digit zip code in a column but I need to remove the hyphen. Could someone please help me with this.
Thanks.
Thanks.
the hyphen. Could someone please help me with this.shanes said:I'm making a spreadsheet to track customer's by their zip code. I have the 9 digit zip code in a column but I need to remove
the 9 digit zip code in a column but I need to remove the hyphen. Couldshanes said:I'm making a spreadsheet to track customer's by their zip code. I have
David said:Before you use Ron's solution select the column
and format it as text; otherwise, the substitution will
result in number instead of text and you will lose the
leading zeros for east coast zip codes and Caribbean
islands.; And this would be a preferable to creating
another a helper column with a worksheet formula.
I would recommend that you not do that though, and keep
them as text stored in the format that the post office wants to
see. Then you can do US zip codes, Canadian zip codes
or zip codes from any country. Check with your local laws
to see if it is legal to shoot such people if they are not minors.
--
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm
Ron de Bruin said:Try Replace
Select the cells
Edit Replace in the menubar
what: -
with: leave empty
--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)
the hyphen. Could someone please help me with this.
David McRitchie said:Before you use Ron's solution select the column
and format it as text; otherwise, the substitution will
result in number instead of text and you will lose the
leading zeros for east coast zip codes and Caribbean
islands.; And this would be a preferable to creating
another a helper column with a worksheet formula.
I would recommend that you not do that though, and keep
them as text stored in the format that the post office wants to
see. Then you can do US zip codes, Canadian zip codes
or zip codes from any country. Check with your local laws
to see if it is legal to shoot such people if they are not minors.
--
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm
Ron de Bruin said:Try Replace
Select the cells
Edit Replace in the menubar
what: -
with: leave empty
--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)
remove
the hyphen. Could someone please help me with this.
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.