DEV Community

Cover image for #141 — Generate Continuous Arrays — Concatenate Results into a String
Judith-Excel-Sharing
Judith-Excel-Sharing

Posted on

#141 — Generate Continuous Arrays — Concatenate Results into a String

Problem description & analysis:

The values in columns A and B are natural numbers, representing the start and end points of the array respectively:

source table

Task: Use the values in columns A and B to generate a string composed of a natural number array, and fill in the result in column C, as follows:

expected results

Solution:

Use SPL XLL and enter in cell C2:

=spl("=to(?1,?2).concat@c()",A2,B2)
Enter fullscreen mode Exit fullscreen mode

code result
Then drag C2 down to every relevant row:

final results


Download esProc Desktop for FREE and boost your workflow efficiency today with 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

Top comments (1)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.