Replaces an existing text string with another given text string.
Syntax
original_text: The text to search for the given text string. E.g. "Zoho Sheet"
old_text: The existing text string you want to replace. E.g. "o"
new_text: The text you want to replace the old_text with. E.g. "O"
Remarks
It is case-sensitive, i.e., "Apple" and "apple" are not treated the same.
Examples
|
Formula |
Result |
|
=SUBSTITUTE("Zoho Sheet";"o";"O";2) |
ZohO Sheet |
|
=SUBSTITUTE("Spreadsheet";"sheet";"ing") |
Spreading |
|
=SUBSTITUTE("Functions";"F";"J") |
Junctions |
Possible Errors
|
Errors |
Meaning |
|
#N/A! |
|
|
#NAME! |
|
|
#VALUE! |
|
|
#REF! |
|
Similar Functions