I have this formula to split a column into two columns:
=ArrayFormula(
IFERROR(HLOOKUP(1,{1;**COLUMN TO DIVIDE**},
(ROW(A:A)+1)*2-TRANSPOSE(sort(ROW(A1:A2)+0,1,0)))))
I would like to know if there is a better way to do this and if there is a way to create one formula that can be used to easily define when I wanted to split one column into two, three, four, five or more columns.
I couldn't create a very concrete way to split into more columns than two. Failures always occur.
Link to spreadsheet: https://docs.google.com/spreadsheets/d/1iUX01lsfrhq7OSMgSg-QZrWL7wMijqpK03uneQZgP3g/edit?usp=sharing