Mar 07 2020 03:32 PM
Buenas Tardes
Como puedo hacer para que Excel no arruine codigos de artículos expresados en forma de texto con ceros por delante convirtiéndolos en forma automatica a números cuando no son numeros
Por ejemplo tengo un articulo que tiene un código 000250 que necesito que lo trabaje, exporte e importe como texto como 000250 pero el excel insiste en convertirlo en numero y pasarlo como 250 a pesar de que esta indicado explícitamente que la columna es TEXTO
Como se puede anular definitivamente ese cambio automatico para que nunca convierta un texto en numero?
Gracias
Mar 09 2020 04:22 PM
Hello, what you need to do is simple. Assuming you have 000250, 000430, 000210 etc in cells A2:A4,
1. Select A2:A4
2. Deploy CTRL + 1 on your keyboard
3. Select Custom
4. Type in 000000 (in six places)
5. Click OK
You will have all the three leading zeros in your data as seen in the caption above
Mar 11 2020 07:30 AM
Thank you for your answer. Your solution is good but in this case I receive data with different length so I cannot use it. Some code articles has trailing zeros, others with leading zeros, others just letters, depending on the article and exists a relation between them that I cannot change. (comes from a relational database)
What i need is just configure excel in a way data entered in a column configured as TEXT remains as it was typed by user without any modify.
Thank again.