Skip to content
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.

  1. Flatten a 12×12 month grid into one column, row by row:

    =TOCOL(B2:M13)
  2. 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…