【发布时间】:2017-10-02 16:06:34
【问题描述】:
我想用替代标签(或单词)替换许多单词。每个单词都有一个特定的标签,但是使用查找和替换会花费很多时间。
任何公式都可以帮助解决这种情况吗?
我有三列:
- 第一列有句我要替换的单词
- 第二列有我要替换的所有单词
- 在第三列的旁边是替换词或新标签。
+---+-------------------------+----------------------------+---------------------------+
| | A | B | C |
+---+-------------------------+----------------------------+---------------------------+
| 1 | sentence word1 sentence | word3 | tag3 |
| 2 | sentence word2 sentence | word6 | tag6 |
| 3 | sentence word3 sentence | word8 | tag8 |
| 4 | sentence word4 sentence | word9 | tag9 |
| 5 | sentence word5 sentence | word10 | tag10 |
+---+-------------------------+----------------------------+---------------------------+
【问题讨论】:
-
你可以使用SUBSTITUTE()
-
在您的示例中,我在您的句子
word1中看不到word3。这只是示例中的错误,还是我误解了您的问题?
标签: excel excel-formula vba