Articles with the tag:
Articles with the tag:
Try in the cloud

TOCOL Function

The TOCOL function is one of the lookup and reference functions. It is used to return the array as one row.

Please note that this is an array formula. To learn more, please read the Insert array formulas article.

The TOCOL function syntax is:

TOCOL (array, [ignore], [scan_by_column])


array is the array or reference to return as a column.

ignore is used to set whether to ignore certain types of values. Defaults to ignoring no values. The following values are used: 0 to keep all values (default); 1 to ignore blanks; 2 to ignore errors; 3 to ignore blanks and errors.

scan_by_column is used to scan the array by column. By default, array scanning is conducted by row. Scanning determines whether the values are arranged in rows or columns.

To apply the TOCOL function,

  1. select the cell where you wish to display the result,
  2. click the Insert function
    icon situated at the top toolbar,
    or right-click within a selected cell and select the Insert Function option from the menu,
    or click the
    icon situated at the formula bar,
  3. select the Lookup and Reference function group from the list,
  4. click the TOCOL function,
  5. enter the required arguments separating them by comma,
  6. press the Enter button.

The result will be displayed in the selected cell.

Return to previous page
Try now for free Try and make your decision No need to install anything
to see all the features in action