If you are losing the leading zeros, then it means that column B is not formatted as text, but number with leading zeros. So, try this formula:
=A1&TEXT(B1,REPT("0",10))
The REPT
is just repeating the 0
ten times.
Frage
I have Column A with CA- and Column B 0000197222 ( 10 digits Number) . I need to Concat Col A and Col B and store the result in Col C and the result should display as CA-0000197222 ( the result should always be 10 digits numeric).
Lösung
If you are losing the leading zeros, then it means that column B is not formatted as text, but number with leading zeros. So, try this formula:
=A1&TEXT(B1,REPT("0",10))
The REPT
is just repeating the 0
ten times.
Andere Tipps
=A1&B1
The ampersand character will concatenate the values in the specified cells.