Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to merge different columns like:

AB 0054 00000137

I do it this way

=A1&B1&C1

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.