excel中replace函式的作用?

replace函式是將字串文字中某段字元替換為其他字元的函式。

excel中replace函式的作用

工具/原料

excel2013

方法/步驟

我們首先開啟一個樣表。

excel中replace函式的作用

我們插入replace函式。函式的格式是REPLACE(old_text, start_num, num_chars, new_text)

excel中replace函式的作用

old_text引數是源字串文字,可以手動輸入,也可以引用單元格。

excel中replace函式的作用

start_num是字串的起始位置,計數從最左端為1。

excel中replace函式的作用

num_chars引數是需要替換的字元數量。

excel中replace函式的作用

new_text引數是替換為的新字串。

excel中replace函式的作用

注意事項

相關問題答案