【问题标题】:Remove special characters from the specified string in excel从excel中的指定字符串中删除特殊字符
【发布时间】:2014-09-02 13:18:19
【问题描述】:

我正在尝试从 excel 中的字符串中删除一个字符。如何从指定字符串中删除第一个和最后一个字符?在 excel 表中,我在每一列中都有数据。一些以 $$ 字符开始和结束的测试,我只需要从字符串中删除第一个字符 ($) 和最后一个字符 ($)。

示例:单元格 1:

$$hello world$$. World is beautiful. $$where there is will there is a way.$$ money makes many things.

应该代表:

$hello world$. World is beautiful. $where there is will there is a way. $money makes many things$.

谢谢大家

【问题讨论】:

  • 选择要删除 $$ 叹息的所有单元格。点击CTRL+H KEY,然后将$$ 替换为$..

标签: excel excel-formula


【解决方案1】:

您可以使用 SUBSTITUTE() 公式

=SUBSTITUTE(A1,"$$","$")

【讨论】:

    【解决方案2】:

    作为非公式化的替代方法是突出显示您希望修改的单元格并执行查找和替换 (crtl + f),其中查找内容:$$ 并替换为:$ ... 取决于有多少您尝试编辑的字符串可以用于更大的数量,更容易......

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-04-11
      • 2016-01-23
      • 2019-11-09
      • 2011-08-29
      相关资源
      最近更新 更多