ExcelFormulas logoExcelFormulas.
Chiedi all'IA
Matrici dinamicheVerificato da QA

TOCOL.

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

Matrici dinamiche
ExcelExcel 365Google Sheets

Come funziona nel dettaglio.

TOCOL è una funzione fondamentale di Excel. Transforms a 2D table or array into a single vertical column. Consente di velocizzare la gestione dei fogli di calcolo, ridurre gli errori e creare report automatizzati professionali.

Sintassi.

Notazione Ufficiale Excel
=TOCOL(array, [ignore], [scan_by_column])
Consiglio: Gli argomenti tra parentesi quadre [come_questo] sono facoltativi; tutti gli altri sono obbligatori.

Argomenti.

Di seguito l'elenco dettagliato di tutti i parametri accettati da questa funzione.

arrayObbligatorio

The 2D array or range to flatten.

Valore d'esempio: A2:B3
ignoreFacoltativo

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

Valore predefinito: 0

Esempio pratico.

Scenario di utilizzo

Shift Schedule - Flatten Roster Grid

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

Morning ShiftEvening ShiftCombined Roster
AliceBob—
CharlieDave—
Formula applicata
=TOCOL(A2:B3, 1)
Risultato atteso::Alice

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

Generatore di formula.

Apri Procedura Guidata Completa

Compila i campi qui sotto per creare una formula personalizzata pronta da incollare nel tuo foglio di calcolo.

Generated FormulaPronta da copiare

Caratteristiche del risultato.

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

Esempio di output::Alice
Tipo di dato restituito::Text

Migliori Pratiche

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

Errori Più Frequenti

  • Only available in Excel 365 and Excel for Web; older Excel versions return #NAME?.
Matrice di Compatibilità

Compatibilità per programma e versione.

Verifica tecnica eseguita sui motori di calcolo ufficiali di Microsoft Excel e Google Fogli.

Excel✓
Supportato
Excel 365✓
Supportato
Excel 2021✕
No
Excel 2019✕
No
Google Sheets✓
Supportato
Disponibilità e versioni di Excel

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

Note su Google Fogli

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

Domande frequenti.

Domande Tecniche
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.