我试图在EXCEL单单元格中的双引号之间交换文本。
Example Text: {"TEST1", "METHOD"},
Expected Result: {"METHOD", "TEST1"},
尝试了此功能,但不起作用。
=right(A1,len(A1)-find(" ",A1))&" "&left(A1,find(",",A1)-1)
2 个答案:
答案 0 :(得分:1)
尝试:
B1
中的公式:
="{"&MID(A1,FIND(",",A1)+2,LEN(A1)-FIND(",",A1)-2)&", "&MID(A1,2,FIND(",",A1)-2)&"}"
答案 1 :(得分:0)
更短的公式选项
="{"&SUBSTITUTE(MID(A1&A1,FIND(",",A1)+2,LEN(A1)-2),"}{",", ")&"}"