ExcelExcel 2024+
TOCOL function in Excel
Returns the array in a single column
=TOCOL(array, [ignore], [scan_by_column])TOCOL syntax and parameters
Three arguments, one required.
- arrayarrayRequired
- ignoreanyOptional
- scan_by_columnanyOptional
TOCOL examples
Formulas you'll actually reuse.
Flatten a 12×12 month grid into one column, row by row:
=TOCOL(B2:M13)Same grid, read column by column and skipping blanks (ignore = 1):
=TOCOL(B2:M13, 1, TRUE)
TOCOL in Google Sheets
Same name — your formula ports as-is.
Try TOCOL in the playground
Edit the example — nothing to install.
Preloaded with the TOCOL formula from Example 1 — change anything and watch it respond.
Loading the editor…
Related functions
More ways Excel gets this done.
- ADDRESSReturns a reference as text to a single cell in a worksheetLookupGoogle Sheets
- AREASReturns the number of areas in a referenceLookupNo Google Sheets equivalent
- CHOOSEChooses a value from a list of valuesLookupGoogle Sheets
- CHOOSECOLSReturns the specified columns from an arrayLookupGoogle Sheets
- CHOOSEROWSReturns the specified rows from an arrayLookupGoogle Sheets
- COLUMNReturns the column number of a referenceLookupGoogle Sheets