資料在A欄
1. 公式 B1 如下,輸入後往下複製(下拉)
2. 選擇B欄 - 按右鍵複製,選擇A欄 - 按右鍵選擇性貼上(勾選 值)
3. 刪除B欄公式
全部前面有數字時
=LOOKUP(,-LEFT(A1,ROW($1:$9)),REPLACE(A1,ROW($2:$10),0,"_"))
非全部前面有數字時
EXCEL 2007版以上適用
=IFERROR(LOOKUP(,-LEFT(A1,ROW($1:$9)),REPLACE(A1,ROW($2:$10),0,"_")),A1)
EXCEL 2003版以上適用
=LOOKUP("嫺",IF({1,0},A1,LOOKUP(,-LEFT(A1,ROW($1:$9)),REPLACE(A1,ROW($2:$10),0,"_"))))
This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.
留言列表