Skip to main content

Text to columns

Split the text of a column into several columns at a delimiter, like Excel's Text to Columns; the parts overwrite the cells to the right.

Command in the Excel toolkit · id ooa.excel/text_to_columns · 9 inputs (1 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
ColumnAnyYesColumn holding the text: letter or 1-based number.
DelimiterStringNo,Text between the parts: a character such as , ; | or the words tab or space. Parts inside double quotes are kept whole.
Start rowNumberNoFirst row to split; the first used row when empty.
End rowNumberNoLast row to split; the last used row when empty.
DestinationAnyNoColumn to write the first part to; the column itself when empty.
TrimBooleanNotrueRemove spaces around each part.
Convert numbersBooleanNotrueStore parts that are plain numbers, such as 12.5, as numbers, as Excel does.
SheetStringNoSheet name; active sheet when empty.
SessionStringNoexcelWorkbook session.

Outputs​

OutputTypeWhat it is
rowsNumberNumber of cells split.
columnsNumberMost parts any cell was split into.