ExcelFormulas logoExcelFormulas.
KI Fragen
Google SheetsQA-geprüft

SPARKLINE.

Generates a miniature chart within a single spreadsheet cell.

Google Sheets
Google Sheets

Funktionsweise im Detail.

SPARKLINE ist eine zentrale Formel in Excel. Generates a miniature chart within a single spreadsheet cell. Sie optimiert Ihre Tabellenkalkulationen, automatisiert Routineabfragen und sorgt für fehlerfreie Auswertungen in modernen Tabellen.

Syntax.

Standardmäßige Excel-Schreibweise
=SPARKLINE(data, [options])
Tipp: Parameter in eckigen Klammern [wie_dieser] sind optional, alle übrigen müssen angegeben werden.

Argumente.

Alle von dieser Funktion akzeptierten Parameter im Überblick.

dataErforderlich

The range of numbers to chart.

Beispiel: A2:D2
optionsOptional

Optional key-value parameters enclosed in curly brackets (e.g. charttype, color).

Beispiel: {"charttype", "bar"}

Praxisbeispiel.

Schritt-für-Schritt-Szenario

Quarterly Revenue Trend

Render an in-cell trendline showing performance across Q1 to Q4.

Q1Q2Q3Q4Annual Trend
120180160240—
Eingesetzte Formel
=SPARKLINE(A2:D2)
Erwartetes Ergebnis::[Sparkline: 4 points]

Evaluates SPARKLINE over the sample table cells, placing the verified output in cell E2.

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

Generated FormulaKopierbereit

Ergebniseigenschaften.

Returns "[Sparkline: 4 points]" based on sample evaluation criteria and active cell references.

Ausgabebeispiel::[Sparkline: 4 points]
Datentyp::Text

Empfohlene Vorgehensweise

  • Set {"charttype", "bar"; "max", 100} to render progress completion meters in dashboard tables.

Typische Fehlerquellen

  • Google Sheets specific formula. In Excel, sparklines are inserted via the Insert ribbon rather than cell formulas.
Kompatibilitätsmatrix

Kompatibilität nach Versionen.

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

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

Not available as a worksheet formula function in Microsoft Excel. Entering =SPARKLINE() in Excel returns a #NAME? error.

Hinweise zu Google Tabellen

Native Google Sheets function that draws miniature in-cell charts (line, bar, column, winloss) directly from a formula.

Häufig gestellte Fragen.

Technische Q&A
Can I use SPARKLINE 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: =SPARKLINE(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 SPARKLINE?↓

Google Sheets specific formula. In Excel, sparklines are inserted via the Insert ribbon rather than cell formulas.

Does SPARKLINE work in Microsoft Excel?↓

No. SPARKLINE is a proprietary Google Sheets function and is not supported in Microsoft Excel. Recommended Excel alternative: In Microsoft Excel, sparklines are embedded graphical objects created via the Ribbon (Insert > Sparklines > Line/Column), not through a formula.