ExcelFormulas logoExcelFormulas.
KI Fragen
Dynamische ArraysQA-geprüft

SORT.

Sorts the contents of a range or array dynamically.

Dynamische Arrays
ExcelExcel 365Excel 2021Google Sheets

Funktionsweise im Detail.

SORT ist eine zentrale Formel in Excel. Sorts the contents of a range or array dynamically. Sie optimiert Ihre Tabellenkalkulationen, automatisiert Routineabfragen und sorgt für fehlerfreie Auswertungen in modernen Tabellen.

Syntax.

Standardmäßige Excel-Schreibweise
=SORT(array, [sort_index], [sort_order], [by_col])
Tipp: Parameter in eckigen Klammern [wie_dieser] sind optional, alle übrigen müssen angegeben werden.

Argumente.

Alle von dieser Funktion akzeptierten Parameter im Überblick.

arrayErforderlich

The range or array to sort.

Beispiel: A2:B5
sort_indexOptional

Column index number to sort by (1-based, default is 1).

Standard: 1
sort_orderOptional

1 for Ascending (default), -1 for Descending.

Standard: 1

Praxisbeispiel.

Schritt-für-Schritt-Szenario

Leaderboard - Top Performing Products

Sort product table by sales volume in descending order.

ProductSalesSorted ProductSorted Sales
Product A150——
Product B450——
Product C200——
Eingesetzte Formel
=SORT(A2:B5, 2, -1)
Erwartetes Ergebnis::450

Evaluates SORT over the sample table cells, placing the verified output in cell D2.

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

Generated FormulaKopierbereit

Ergebniseigenschaften.

Returns number 450 based on sample evaluation criteria and active cell references.

Ausgabebeispiel::450
Datentyp::Numeric

Empfohlene Vorgehensweise

  • Nest with UNIQUE: =SORT(UNIQUE(A2:A100)) generates a sorted alphabetical list of unique names.

Typische Fehlerquellen

  • If any cell in the output spill range contains existing data, Excel returns a #SPILL! error.
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✕
Nein
Google Sheets✓
Unterstützt
Excel-Versionsverfügbarkeit

Introduced in Excel 365 and Excel 2021. Not available in Excel 2019.

Hinweise zu Google Tabellen

Fully supported in Google Sheets with identical arguments =SORT(range, sort_column, is_ascending).

Häufig gestellte Fragen.

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

If any cell in the output spill range contains existing data, Excel returns a #SPILL! error.

Does SORT work identically in Google Sheets?↓

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