Excel 只保留文內特定符號或文字後的字串

Excel 只保留文內特定符號或文字後的字串


保留文內特定符號或文字的字串

=LEFT(text,FIND(character,text)-1)

or

保留文內特定符號或文字的字串

=RIGHT(text,FIND(character,text)-1) 


e.g. 文字B5, 特定符號"_" : 

特定符號"_" 文字

=LEFT(B5,FIND("_",B5)-1)

特定符號"_" 文字

=RIGHT(B5,LEN(B5)-FIND("_",B5))


Reference:

https://exceljet.net/formula/split-text-string-at-specific-character


留言

這個網誌中的熱門文章

Xeron 影印機 error code 「016-799」/ 異常結束 016-799 解決方法

HP DeskJet 3720 Printer 不能直接連線WiFi 打印和 WiFi Direct default password

Adobe reader DC open file very slow 解決開PDF超慢問題。