ExcelFormulas logoExcelFormulas.
KI Fragen
TextQA-geprüft

SUBSTITUTE.

Replaces occurrences of existing text with new text in a string.

Text
ExcelExcel 365Excel 2021Excel 2019Google Sheets

Funktionsweise im Detail.

SUBSTITUTE ist eine zentrale Formel in Excel. Replaces occurrences of existing text with new text in a string. Sie optimiert Ihre Tabellenkalkulationen, automatisiert Routineabfragen und sorgt für fehlerfreie Auswertungen in modernen Tabellen.

Syntax.

Standardmäßige Excel-Schreibweise
=SUBSTITUTE(text, old_text, new_text, [instance_num])
Tipp: Parameter in eckigen Klammern [wie_dieser] sind optional, alle übrigen müssen angegeben werden.

Argumente.

Alle von dieser Funktion akzeptierten Parameter im Überblick.

textErforderlich

The text containing characters you want to replace.

Beispiel: A2
old_textErforderlich

The text substring to replace.

Beispiel: "-"
new_textErforderlich

The text to replace old_text with.

Beispiel: "/"
instance_numOptional

Which occurrence of old_text to replace (omitting replaces all occurrences).

Praxisbeispiel.

Schritt-für-Schritt-Szenario

Date Delimiter Normalization

Replace hyphens with forward slashes in date text.

Hyphenated DateFormatted Date
2025-05-20—
2025-12-31—
Eingesetzte Formel
=SUBSTITUTE(A2, "-", "/")
Erwartetes Ergebnis::2025/05/20

Evaluates SUBSTITUTE over the sample table cells, placing the verified output in cell B2.

Passen Sie die Eingabefelder an, um eine fertige Formel für Ihre Tabelle zu kopieren.

Generated FormulaKopierbereit

Ergebniseigenschaften.

Returns "2025/05/20" based on sample evaluation criteria and active cell references.

Ausgabebeispiel::2025/05/20
Datentyp::Text

Empfohlene Vorgehensweise

  • Remove unwanted characters completely by setting new_text to "": =SUBSTITUTE(A2, "-", "").

Typische Fehlerquellen

  • SUBSTITUTE is case-sensitive: searching for "apple" will not match "Apple".
Kompatibilitätsmatrix

Kompatibilität nach Versionen.

Geprüft auf Basis der offiziellen Tabellenkalkulations-Engines von Microsoft und Google.

Excel✓
Unterstützt
Excel 365✓
Unterstützt
Excel 2021✓
Unterstützt
Excel 2019✓
Unterstützt
Google Sheets✓
Unterstützt
Excel-Versionsverfügbarkeit

Core standard function supported across all modern and legacy Microsoft Excel versions (365, 2021, 2019, 2016, 2013, 2010), as well as Excel for the Web and Mac.

Hinweise zu Google Tabellen

100% compatible with Google Sheets. Uses identical argument order, data types, and standard calculation logic.

Häufig gestellte Fragen.

Technische Q&A
Can I use SUBSTITUTE across different worksheets in Excel?↓

Yes. You can reference cells located on other sheets by including the sheet name followed by an exclamation mark, for example: =SUBSTITUTE(Sheet2!A2:A10). If the sheet name contains spaces, enclose it in single quotes: ='Q1 Report'!A2:A10.

What is the most common reason for errors in SUBSTITUTE?↓

SUBSTITUTE is case-sensitive: searching for "apple" will not match "Apple".

Does SUBSTITUTE work identically in Google Sheets?↓

Yes, SUBSTITUTE is supported in both Microsoft Excel and Google Sheets with standard evaluation behavior.