How to Keep Leading Zeros in Excel CSV Import

preview_player
Показать описание

In this video I demonstrate how to successfully import CSV data where values contain leading zeros. By default leading zeros are omitted from the import unless the values are recognised as text.

Firstly, I show you how to import the CSV file using Power Query then secondly using the Text Import Wizard which is available in older versions of Excel.

This video will be useful if you have the following queries:

How do I stop Excel from dropping the leading zeros?
How do I keep text format in CSV?
How to preserve leading zeros in Excel CSV import?
------------------------
Рекомендации по теме
Комментарии
Автор

Thank you so much. You explained clearly

bahmansalman
Автор

Thank you so much. I was checking with many other videos.But you explained clearly

vineetharamesh
Автор

This method does not work after save. When you reopen the document in excel the leading zeros are gone.

bridgeroadmarketing
Автор

Thank you! How do you keep the leading zeros when you save to upload?

kateleighhobbs
Автор

I was able to convert it but then when i go to save as .csv the leading zeros are all gone again... Is there no way to save the file with leading zeros saved?

r_c
Автор

Thank You! I've been struggling with this for years

salvadorepozzi
Автор

This worked, Thank you man, your smile is cute ❤😊

vishaltiware
Автор

Really appreciate sir. This is the exact information that I need.

kembunheang
Автор

Millions of thanks man to you. Great job🙏

praveenpatil
Автор

Thanks - Exactly the information that I needed!

michellemathey
Автор

I click text, it does not prompt replace current

edgeacution
Автор

Hi Chester,
Really a good video. Can you tell me which tool did you use for recording and editing the video

ahmadsaleem
Автор

What if we want to keeo ending 0 for example 72.20

It keeps removing the ending 0

jamster
Автор

@Chester Tugwell Hi, how can we keep + for country codes?

mania
Автор

What if my column has text and numbers and I only need 1 number that starts with a 0 ?

renevandenbrink
Автор

Why must Excel "help" us against our will??? I mean, Excel could simply open the CSV file and load it as is - as text! Then, if someone wants to cast a column as numeric data of some kind, fine. But as found in a CSV, it IS text! Please pass my rant on to your contacts at Microsoft, so they can do as I ask! ;-)

HonestlyNowReal
welcome to shbcf.ru