=TRIM(MID(A1,SMALL(IF(MID(" "&A1&" ",ROW($1:$99),1)=" ",ROW($1:$99),100),1),1)&MID(A1,SMALL(IF(MID(" "&A1&" ",ROW($1:$99),1)=" ",ROW($1:$99),100),2),1)&MID(A1,SMALL(IF(MID(" "&A1&" ",ROW($1:$99),1)=" ",ROW($1:$99),100),3),1)&MID(A1,SMALL(IF(MID(" "&A1&" ",ROW($1:$99),1)=" ",ROW($1:$99),100),4),1)&MID(A1,SMALL(IF(MID(" "&A1&" ",ROW($1:$99),1)=" ",ROW($1:$99),100),5),1)&MID(A1,SMALL(IF(MID(" "&A1&" ",ROW($1:$99),1)=" ",ROW($1:$99),100),6),1)&MID(A1,SMALL(IF(MID(" "&A1&" ",ROW($1:$99),1)=" ",ROW($1:$99),100),7),1)&MID(A1,SMALL(IF(MID(" "&A1&" ",ROW($1:$99),1)=" ",ROW($1:$99),100),8),1)&MID(A1,SMALL(IF(MID(" "&A1&" ",ROW($1:$99),1)=" ",ROW($1:$99),100),9),1)&MID(A1,SMALL(IF(MID(" "&A1&" ",ROW($1:$99),1)=" ",ROW($1:$99),100),10),1))公式以CTRL+SHIFT+回車結束.此公式最多可處理10個單詞.
=TRIM(MID(A1,SMALL(IF(MID(" "&A1&" ",ROW($1:$99),1)=" ",ROW($1:$99),100),1),1)&MID(A1,SMALL(IF(MID(" "&A1&" ",ROW($1:$99),1)=" ",ROW($1:$99),100),2),1)&MID(A1,SMALL(IF(MID(" "&A1&" ",ROW($1:$99),1)=" ",ROW($1:$99),100),3),1)&MID(A1,SMALL(IF(MID(" "&A1&" ",ROW($1:$99),1)=" ",ROW($1:$99),100),4),1)&MID(A1,SMALL(IF(MID(" "&A1&" ",ROW($1:$99),1)=" ",ROW($1:$99),100),5),1)&MID(A1,SMALL(IF(MID(" "&A1&" ",ROW($1:$99),1)=" ",ROW($1:$99),100),6),1)&MID(A1,SMALL(IF(MID(" "&A1&" ",ROW($1:$99),1)=" ",ROW($1:$99),100),7),1)&MID(A1,SMALL(IF(MID(" "&A1&" ",ROW($1:$99),1)=" ",ROW($1:$99),100),8),1)&MID(A1,SMALL(IF(MID(" "&A1&" ",ROW($1:$99),1)=" ",ROW($1:$99),100),9),1)&MID(A1,SMALL(IF(MID(" "&A1&" ",ROW($1:$99),1)=" ",ROW($1:$99),100),10),1))公式以CTRL+SHIFT+回車結束.此公式最多可處理10個單詞.