Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想修剪单元格值中括号后的文本
我正在使用的当前公式不断给我错误,无法提取目标字符串。
=LEFT([@[Name ]],FIND("(",[@[Name ]]))
我想去购物(今天)
目标:是删除
(今天)
预期结果:
我想去购物
其中之一应该做。
=TRIM(LEFT([name], FIND("(", [name]&"(")-1)) =TRIM(REPLACE([name], FIND("(", [name]&"("), LEN([name]), TEXT(,)))
请注意,我在原始文本后面加上了 FIND 正在寻找的字符。这样,即使不在原文中,也总能找到。
您可能会发现在名称标题标签中有一个恶意的尾随空格。
我想编辑这张照片。 http://2.bp.blogspot.