假设 Excel 中有三列
MGM_COMPTEUR
CIA_CD_CRV_CIA
CIA_DA_EM_CRV
CIA_CD_CTRL_BLCE
CIA_IDC_EXTR_RDJ
CIA_VLR_IDT_CRV_LOQ
第二列是:
AS
AS
AS
AS
AS
AS
第三个是:
MGM_COMPTEUR
CIA_CD_CRV_CIA
CIA_DA_EM_CRV
CIA_CD_CTRL_BLCE
CIA_IDC_EXTR_RDJ
CIA_VLR_IDT_CRV_LOQ
现在我需要最终结果:
MGM_COMPTEUR AS MGM_COMPTEUR
CIA_CD_CRV_CIA AS CIA_CD_CRV_CIA
CIA_DA_EM_CRV AS CIA_DA_EM_CRV
CIA_CD_CTRL_BLCE AS CIA_CD_CTRL_BLCE
CIA_IDC_EXTR_RDJ AS CIA_IDC_EXTR_RDJ
CIA_VLR_IDT_CRV_LOQ AS CIA_VLR_IDT_CRV_LOQ
我尝试在列之间留出空格后使用 CTRL + 粘贴。但是没有用
答案1
我假设你希望每列之间有一个空格(从输出中看不完全清楚,有时会显示多个空格)。
在 Excel 表中,例如在 3 列右侧创建一个额外的列,该列将所有字符串连接在一起,中间有一个空格:
=CONCATENATE(A7, " ", B7," ", C7)
将此公式复制到所有行
结果是
MGM_COMPTEUR AS MGM_COMPTEUR
CIA_CD_CRV_CIA AS CIA_CD_CRV_CIA
CIA_DA_EM_CRV AS CIA_DA_EM_CRV
CIA_CD_CTRL_BLCE AS CIA_CD_CTRL_BLCE
CIA_IDC_EXTR_RDJ AS CIA_IDC_EXTR_RDJ
CIA_VLR_IDT_CRV_LOQ AS CIA_VLR_IDT_CRV_LOQ
您可以将这些单元格复制并粘贴到记事本 (++)。