📝 Text
SUBSTITUTE Formula for Text Manipulation
Replace specific text within a string. Copy-paste ready for Excel, Google Sheets, and Airtable.
=SUBSTITUTE(A1,"old","new")When you need this: When you need to replace all occurrences of "Inc" with "Inc." in company names (A1) for consistent formatting.
How it works
- 1SUBSTITUTE searches for the old text ("Inc") in the string (A1).
- 2Replaces it with new text ("Inc.").
- 3Replace all occurrences (or limit to first N with optional parameter).
Variations
Replace only first occurrence
=SUBSTITUTE(A1,"old","new",1)Remove hyphens from phone numbers
=SUBSTITUTE(A1,"-","")Related Formulas
CONCATENATE / TEXTJOIN — Join text from multiple cellsTextLEFT / RIGHT / MID — Extract part of a text stringTextLEN — Count the number of characters in textTextTRIM — Remove extra spaces from textText
Need a formula that's not here?
Generate custom formula →