excel导入csv文件_如何将包含以0开头的列的CSV文件导入Excel
excel導(dǎo)入csv文件
Microsoft Excel will automatically convert data columns?into the format that it thinks is best when opening comma-separated data files. For those of us that don’t want our data changed, we can change that behavior.
Microsoft Excel將在打開以逗號分隔的數(shù)據(jù)文件時(shí)自動(dòng)將數(shù)據(jù)列轉(zhuǎn)換為它認(rèn)為最佳的格式。 對于那些不想更改數(shù)據(jù)的人,我們可以更改其行為。
You have a CSV file probably exported from other application or given to you by other people. You would like to open it up in Excel since you know it very well. The CSV file will look like this (if you open the file in notepad.exe):
您有一個(gè)CSV文件,它可能是從其他應(yīng)用程序?qū)С龌蛴善渌颂峁┙o您的。 您很想在Excel中打開它。 CSV文件將如下所示(如果您在notepad.exe中打開文件):
The file contains columns: ProductModelID, Name, SpecialID, and ModifiedDate. The column SpeicalID containing data with leading 0 and it is specialized code so you would like to keep the?leading 0s in Excel. Since it is a CSV file it is, by default, shown in your Windows Explorer as an Excel file:
該文件包含以下列:ProductModelID,Name,SpecialID和ModifiedDate。 SpeicalID列包含前導(dǎo)0的數(shù)據(jù),它是專用代碼,因此您希望在Excel中保留前導(dǎo)0。 由于它是CSV文件,因此默認(rèn)情況下在Windows資源管理器中將其顯示為Excel文件:
So you double-click the file and open the file in Excel as such:
因此,您雙擊該文件并按如下方式在Excel中打開該文件:
You can see that by default, Excel stripped out the?leading 0s in column 3 “SpecialID
您可以看到,默認(rèn)情況下,Excel在第3列“ SpecialID”中去除了前導(dǎo)0
翻譯自: https://www.howtogeek.com/howto/microsoft-office/how-to-import-a-csv-file-containing-a-column-with-a-leading-0-into-excel/
excel導(dǎo)入csv文件
總結(jié)
以上是生活随笔為你收集整理的excel导入csv文件_如何将包含以0开头的列的CSV文件导入Excel的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 火狐 增强查找工具栏_在“提示”框中:简
- 下一篇: 如何在Office 2007中查看关于对