简体   繁体   English

如何将 Excel 数据表作为分隔符冒号导出到 a.txt 文件?

[英]How do I export an Excel data sheet to a .txt file as Delimiter colon?

I have a.txt file that was given to me (exported from a database) that includes columns and rows.我有一个给我的(从数据库导出的)包含列和行的.txt 文件。 I was told some of data was in the wrong column.有人告诉我一些数据在错误的列中。 I just needed to move it to the next column over.我只需要将它移到下一栏。 I opened the.txt file in Excel using the Data "From Text/CSV" option and made my changes.我使用数据“来自文本/CSV”选项打开 Excel 中的 .txt 文件并进行了更改。 Once I was finished, I saved my file as a.txt file like it was given to me, however it's not in the same format.完成后,我将文件保存为 .txt 文件,就像给我的一样,但格式不同。 My.txt export kept the column and rows whereas the original file given to me had the information had the values separated with "|" My.txt 导出保留了列和行,而给我的原始文件的信息中的值用“|”分隔characters.人物。 Do you know how I can get the data in the "|"你知道我如何获取“|”中的数据吗? format so I can send it back to them?格式,以便我可以将其发回给他们? See my screenshots for reference.请参阅我的屏幕截图以供参考。 enter image description here在此处输入图像描述

Once you have opened the file in Excel and made your changes, you can use the steps in below link here to change the delimiter to "|"打开 Excel 中的文件并进行更改后,您可以使用以下链接中的步骤将分隔符更改为“|” or anything else you would like...或者其他任何你想要的...

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将 PyCharm 文件中的数据导出到 Excel 工作表中? - How do I export data in a PyCharm file into an Excel sheet? 如何从 Excel 工作表中导出 txt 文件而末尾没有空行? - How can I export a txt file from an Excel sheet without having a blank line at the end? VBA-将Excel工作表导出到.txt文件 - VBA - Export excel sheet to a .txt file 使用apache POI读取Excel文件后,如何在txt文件中打印工作表? - Once I read a excel file with apache POI how do I print the sheet in a txt file? 如何将没有分隔符的.txt文件转换为Excel - How to convert .txt file with no delimiter into Excel 如何从 a.txt 文件中获取文本并将其写入同一个 excel 文件的新工作表中 - How do I get the text from a .txt file and write it in a new sheet in the same excel file 当我将单元格导出到制表符分隔的txt文件中时,为什么excel将单元格置于引号中,如何避免这种情况? - Why is excel putting the cells in quote when I export it to a tab delimited txt file and how do I avoid this? 如何从Excel工作表中导出数据以创建以特定格式排列的单元格数据的文本文件? - How can I export data from an excel sheet to create a text file of cell data arranged into a specific format? 如何将数据从控制台应用程序导出到 excel 电子表格 - How do I export data from console app to excel spread sheet 如何使用Pandas将python Web抓取数据导出到现有excel文件中的特定工作表? - How can I export my python web scrape data to a specific sheet in an existing excel file using pandas?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM