11.7 Convert one-dimensional array to two-dimensional array
Here below is a data table:
We want to convert the data to a 5-column & N-row table with header, in the order of horizontal arrangement first and then vertical arrangement. To achieve this, enter the formula in cell B2:
=spl("=?1.conj().group((#-1)\5)",A1:A26)
Subtract 1 from serial number # to get the difference, and divide the difference by 5 to get the quotient. Grouping by this quotient can put every 5 numbers in a group.
esProc Desktop and Excel Processing
11.6 Put every N members in a group
11.8 Take adjacent data as grouping criteria
SPL Official Website 👉 https://www.scudata.com
SPL Feedback and Help 👉 https://www.reddit.com/r/esProc_Desktop/
SPL Learning Material 👉 https://c.scudata.com
Discord 👉 https://discord.gg/cFTcUNs7
Youtube 👉 https://www.youtube.com/@esProcDesktop
Linkedin Group 👉 https://www.linkedin.com/groups/14419406/