PDF Mikata

Quand les zéros de tête disparaissent

Publié le 19 oct. 2026 | Mis à jour le 19 oct. 2026 | À propos (en japonais)

Points clés
  • Vérifiez
  • Convertir

When postal codes like "0123456" or phone numbers like "09012345678" are brought from CSV into Excel, the leading 0 vanishes. In Convert CSV to Excel (.xlsx) numbers starting with 0 are entered as text, so they don't vanish.

Étapes

  1. Choose the CSV with "Choose a CSV file", or paste into "CSV content".
  2. Check the setting "Enter numbers as numeric values".
  3. Press "Make Excel and save" and save.
Numbers starting with 0, like "007", are entered as text. Postal codes and phone numbers don't change. Only ordinary numbers become numeric values.

Why the 0 vanishes

Excel automatically turns values that can be read as numbers into numeric values. The number "007" is treated as "7" and the leading 0 disappears. Opening a CSV directly in Excel triggers this conversion.

How this tool handles it

Examples of numbers starting with 0

Caution: not usable in calculations

Numbers entered as text can't be used in calculations such as sums and averages. If a number you want to calculate with (such as an amount) starts with 0 and became text, convert it to a number in Excel.

Numbers you don't want as values

Numbers you don't calculate with, like phone numbers and member numbers, are appropriately kept as text.

Convient pour

Exemple

Wanted to make Excel from a CSV with member numbers in the form "000123". Opening normally gave "123", but with this tool it was saved as "000123".

Common stumbling blocks

Frequently asked questions

What about decimals like 0.5?

Decimals starting with "0." are treated as numeric values.

En résumé

Numbers starting with 0 are protected as text. Numbers you calculate with go in as values.

Utiliser « Convertir un CSV en Excel (.xlsx) » (gratuit)

Outils complémentaires

Si ce guide vous a aidé, un petit pourboire nous ferait très plaisir.

Laisser un pourboire (300 ¥)Offrir un cadeau (liste d'envies Amazon)

Autres guides pour cet outil

Voir tous les guides