为什么CSV文件不会将列显示为列?

问题描述 投票:0回答:1

分号是每个字段的分隔符,但它们不对应于列A,B,C,D,E,F等!我下载了这个文件,在Excel中打开它,但它将它们显示为行 - 我无法在每行中分隔数据

excel csv import-from-csv
1个回答
1
投票

这是因为系统(以及大多数系统)上的默认列表分隔符是逗号。这是一个Windows设置,将被所有引用它的程序使用(在本例中为Excel)。

选项1:您可以使用功能区中的“数据 - >文本到列”功能,并选择分号作为分隔符来分割列。

选项2:

- Go to Control Panel.
- Open the Regional and Language Options dialog box.
- Do one of the following: In Windows Vista/7, click the Formats tab, and then click Customize this format. In Windows XP, click the Regional Options tab, and then click Customize.
- Type a new separator in the List separator box.
- Click OK twice.

希望这可以帮助。

© www.soinside.com 2019 - 2024. All rights reserved.