ExcelFormulas logoExcelFormulas.
KI Fragen
Dynamische ArraysQA-geprüft

TOCOL.

Transforms a 2D table or array into a single vertical column.

Dynamische Arrays
ExcelExcel 365Google Sheets

Funktionsweise im Detail.

TOCOL ist eine zentrale Formel in Excel. Transforms a 2D table or array into a single vertical column. Sie optimiert Ihre Tabellenkalkulationen, automatisiert Routineabfragen und sorgt für fehlerfreie Auswertungen in modernen Tabellen.

Syntax.

Standardmäßige Excel-Schreibweise
=TOCOL(array, [ignore], [scan_by_column])
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 2D array or range to flatten.

Beispiel: A2:B3
ignoreOptional

0 = Keep all (default), 1 = Ignore blanks, 2 = Ignore errors, 3 = Ignore blanks and errors.

Standard: 0

Praxisbeispiel.

Schritt-für-Schritt-Szenario

Shift Schedule - Flatten Roster Grid

Reshape morning and evening shift staff into a single roster column.

Morning ShiftEvening ShiftCombined Roster
AliceBob—
CharlieDave—
Eingesetzte Formel
=TOCOL(A2:B3, 1)
Erwartetes Ergebnis::Alice

Evaluates TOCOL over the sample table cells, placing the verified output in cell C2.

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

Generated FormulaKopierbereit

Ergebniseigenschaften.

Returns "Alice" based on sample evaluation criteria and active cell references.

Ausgabebeispiel::Alice
Datentyp::Text

Empfohlene Vorgehensweise

  • Use ignore = 1 to consolidate sparse data grids into clean lists without blanks.

Typische Fehlerquellen

  • Only available in Excel 365 and Excel for Web; older Excel versions return #NAME?.
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✕
Nein
Excel 2019✕
Nein
Google Sheets✓
Unterstützt
Excel-Versionsverfügbarkeit

Introduced in Excel 365 (late 2022). Not available in standalone Excel 2021, Excel 2019, or older.

Hinweise zu Google Tabellen

Fully supported in Google Sheets (added late 2022). Uses identical arguments to Excel.

Häufig gestellte Fragen.

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

Only available in Excel 365 and Excel for Web; older Excel versions return #NAME?.

Does TOCOL work identically in Google Sheets?↓

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