Pregunta

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).

¿Fue útil?

Solución

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.

Otros consejos

=A1&B1

The ampersand character will concatenate the values in the specified cells.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top