如果要替换的词不多,可以用公式:
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2,$B$2,$C$2),$B$3,$C$3),$B$4,$C$4)
如果要替换的词比较多,可考虑用VBA:
Function TiHuan(Sour As String, Old_Word As Range, New_Word As Range) As String
For i = 1 To New_Word.Count
Sour = Replace(Sour, Old_Word(i), New_Word(i))
Next
TiHuan = Sour
End Function
使用查找替换即可;
分别查找替换三次即可解决。
=SUBSTITUTE(A2,LOOKUP(1,0/FIND($B$2:$B$3000,A2),$B$2:$B$3000),LOOKUP(1,0/FIND($B$2:$B$3000,A2),$C$2:$C$3000))
=SUBSTITUTE(A1,B1,C1)