Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to merge different columns like:

AB 0054 00000137

I do it this way


It works but my Zeroes get lost.

The text in my columns has been formatted in "personal" with zeroes before what's contained in the cell. If I change cell to text or numeric I lose zeroes.

Any hint?

share|improve this question
up vote 2 down vote accepted

=text(A1, "<your number format>") & text(B1, "<your number format>") & text(C1, "<your number format>")

share|improve this answer
What do you mean by "your number format"? – Pitto Feb 21 '11 at 11:18
Whatever format you've defined for the numbers in the columns. – Mike Scott Feb 21 '11 at 11:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.