反馈已提交
网络繁忙
Grammar
REPLACE(text,textorreplace,replacetext)
Replaces the specified character string in the original text with a different character string.
Parameter 1
text
Text or referenced cell containing the characters to be replaced
Parameter 2
textorreplace
Specified character string
Parameter 3
replacetext
Text in which the original character string needs to be replaced
The function supports three parameters of any type.
For example, if you want to replace Cold in the Product name column with Flu, as shown in the following figure.
Add a calculation indicator and enter the formula REPLACE(Product name},"Cold","Flu"), as shown in the following figure.
More examples:
REPLACE(old_text,start_num,num_chars,new_text)
Replaces a specified number of characters in a text, with a different character string.
Old_text
Start_num
Starting position of the text where old_text is to be replaced with new_text
Num_chars
Number of characters in old_text to be replaced with new_text
Parameter 4
New_text
The function supports four parameters, among which the first and fourth are of any type, and the second and third are numeric.
Take the data desensitization of telephone numbers as an example.
フィードバック
鼠标选中内容,快速反馈问题
鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。
不再提示
10s后关闭