ARRAY2DTO1D

=ARRAY2DTO1D(array)

array
array to be transformed

ARRAY2DTO1D returns a stacked 1D array from a 2D array.

RicoS

Board Regular
Joined
May 1, 2019
Messages
62
ARRAY2DTO1D Returns a stacked 1D array from a 2D array.

Excel Formula:
=LAMBDA(array,
   LET(
      a,array,
      col,COLUMNS(a),
      s,SEQUENCE(ROWS(a)*col,1,0),
      c,MOD(s,col)+1,
      r,INT(s/col)+1,
      return,INDEX(a,r,c),
   return)
)

Lambda - Last Cell and Split.xlsx
BCDEFG
1Original ArrayResized array
254449354
348959044
459828093
512804148
695
790
859
982
1080
1112
1280
1341
Sheet1
Cell Formulas
RangeFormula
B2:D5B2=RANDARRAY(4,3,10,100,TRUE)
F2:F13F2=ARRAY2DTO1D(B2#)
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,223,575
Messages
6,173,148
Members
452,502
Latest member
PQCurious

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top