日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

excel导入csv文件_如何将包含以0开头的列的CSV文件导入Excel

發(fā)布時(shí)間:2023/12/9 编程问答 24 豆豆
生活随笔 收集整理的這篇文章主要介紹了 excel导入csv文件_如何将包含以0开头的列的CSV文件导入Excel 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

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)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。