Concatenate Question

  • Thread starter Thread starter CJN
  • Start date Start date
C

CJN

I am trying to concatenate some cells that have 000 in them. When I get the
result the 000 becomes 0. I need to retain the t digits in the result. How
may I do this?

Many Thanks,
 
=text(a1,"000")&" some text "&text(b1,"000")&" more text "&text(c1,"mm/dd/yyyy")

Same kind of thing with dates and money and number formats.
 
OK, I am beginning to understand. More specifically, if I have adjacent
columns that have these values:
9 30 000 01

What would the formula be to create a value of 93000001 in a cell?
 
=A1&B1&TEXT(C1,"000")&TEXT(D1,"00") if the cells contain integer values.

Otherwise, if you've rounded the values in A1 and B1 in the display
formatting, try
=TEXT(A1,"0")&TEXT(B1,"00")&TEXT(C1,"000")&TEXT(D1,"00")
 
Back
Top