excel - merge cells including a zip code

0

I have the need to merge a bunch of cells that comprise an address (street, city, state, zip) into a single cell. No problem except with the zip code.

The zip cell has only 4 digits for any zip that starts with 0. So, I change it's format to be Special -> Zip Code. That makes the cell itself show the beginning 0, but the merged cell still does not show the leading 0.

Does anyone know how to get the leading 0 in the merged column?

Thanks

Evan

evanmcd

Posted 2010-06-11T05:02:53.300

Reputation: 198

Answers

1

If you have the Zip code in cell A1 you can use the formula =TEXT(A1, "00000") to format the Zip code as 5 digits wide with leading zeros and then merge that instead of the numeric version.

Mike Fitzpatrick

Posted 2010-06-11T05:02:53.300

Reputation: 15 062

1

Lunatik

Posted 2010-06-11T05:02:53.300

Reputation: 4 973