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


留言

這個網誌中的熱門文章

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

Cannot open Powerpoint in network share drive with error message "Sorry powerpoint can't read ppt" / 網路上的Powerpoint file不能開啟,一直出現資料損毀壞要修復警告。