我在电子表格中有一列A.
_Default = "20";
AdminBlock = "00";
CallRefused = "01";
LearnedBlock = "02";
我想要的是将它分成两列,例如
_Default 20
AdminBlock 00
CallRefused 01
LearnedBlock 02
我尝试过的公式是:
=MID(A1,1,FIND("=",A1,0))
答案 0 :(得分:2)
如果是一次性问题,只需使用数据菜单上的'text to columns',指定=作为分隔符。
答案 1 :(得分:1)
B栏的公式:
=TRIM(MID(TRIM(A1),1,FIND("=",TRIM(A1))-1))
C栏的公式:
=TRIM(SUBSTITUTE(SUBSTITUTE(MID(TRIM(A1),FIND("=",TRIM(A1))+1,LEN(TRIM(A1))),"""",""),";",""))