#123 — Convert One-Dimensional Array to Two-Dimensional Array

#123-—-convert-one-dimensional-array-to-two-dimensional-array

Problem description & analysis:

Here below is a data table:

source table

Task: We want to convert the data to a 5-column & N-row table with a header, in the order of horizontal arrangement first and then vertical arrangement.

Solution:

To achieve this, use SPL XLL and enter the formula in cell B2:

=spl("=?1.conj().group((#-1)5)",A1:A26)

The results are as follows:

result table

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.

Download esProc Desktop for FREE and work smarter with your data using SPL XLL!! 🚀✨⬇️

✨SPL download address: esProc Desktop FREE Download

✨Plugin Installation Method: SPL XLL Installation and Configuration

✨References to other rich Excel operation cases: Desktop and Excel Data Processing Cases

✨YouTube FREE courses: SPL Programming

Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
top-10-react-js-interview-questions.

Top 10 React js interview questions.

Next Post
the-12-sharpest-lessons-from-marketing-leaders-at-fortune-media,-liquid-death,-oatly-&-more

The 12 Sharpest Lessons from Marketing Leaders at Fortune Media, Liquid Death, Oatly & More

Related Posts