splitInColumns
Split one column in several ones passing the number of elements per row.
The number of elements to select are per row. This means that if you have 50 elements, and you want to split them in 10, you will have 5 columns of 10 row each.
This function spends 0 credits per execution
- Array: The array (list) of cells you want to split in columns
- size: The number of elements per row you want to split the array in
- Array: The array of columns
splitInColumns(A1:A10, 3)
//[[1], [2], [3], [4], [5], [6], [7], [8], [9], [10]];
// Returns --> [ [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ], [ 10 ] ]
- To split keywords, urls or any type of data per a selected number of items
Last modified 4mo ago