How to vertically concatenate multiple blocks of 'two columns' where each block is generated with a single spill from one cell?

Rnkhch

Well-known Member
Joined
Apr 28, 2018
Messages
528
Office Version
  1. 365
Platform
  1. Windows
Hello,

This question is related to my other post here: How to spill a second column from the spill formula in one cell? (two-dimensional spill :) ?)

In that example, we were able to output two columns of data with a spill from a single cell. Now suppose that there are multiple spills, one in D1, another say in F1, another in H1, etc.

Is there a way that I can output all spills such that they are vertically concatenated with no spaces in between, so overall they would look like two longer columns of data? I tried a few things with CONCAT, but wasn't successful (and only got concatenated data inside the cell 😂). The reason I don't want to manually paste them under each other is that their sizes will grow over time as more data is added to the sheet. So it will be really nice to have this longer columns to adapt automatically and get longer over time :ROFLMAO:.

Thanks for any input!
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
How about
Fluff.xlsm
ABCDEFGHIJK
112u37f12u37f37f
237f32h16o49z32h
332h49z8f4349z
416o4318f2343
549z48h24r17y48h
68f24r2319k24r
7432317y23
848h46j19k46j
918f50l50l
1024r12u
112316o
1217y8f
1346j18f
1419k24r
1550l23
1617y
1719k
1837f
1949z
2043
2123
2217y
2319k
24
Main
Cell Formulas
RangeFormula
D1:E9D1=LET(f,FILTER(""&A1:B15,A1:A15>20),IFERROR(f+0,f))
F1:G8F1=LET(f,FILTER(""&A1:B15,A1:A15<25),IFERROR(f+0,f))
H1:I6H1=LET(f,FILTER(""&A1:B15,MOD(A1:A15,2)=1),IFERROR(f+0,f))
J1:K23J1=LET(ra,ROWS(D1#),rb,ra+ROWS(F1#),s,SEQUENCE(rb+ROWS(H1#)),IF(s<=ra,D1#,IF(s<=rb,INDEX(F1#,s-ra,{1,2}),INDEX(H1#,s-rb,{1,2}))))
Dynamic array formulas.
 
Upvote 0
Solution
If/when you have the VSTACK function ...

22 07 22.xlsm
ABCDEFGHIJK
112u37f12u37f37f
237f32h16o49z32h
332h49z8f4349z
416o4318f2343
549z48h24r17y48h
68f24r2319k24r
7432317y23
848h46j19k46j
918f50l50l
1024r12u
112316o
1217y8f
1346j18f
1419k24r
1550l23
1617y
1719k
1837f
1949z
2043
2123
2217y
2319k
VSTACK
Cell Formulas
RangeFormula
D1:E9D1=LET(f,FILTER(""&A1:B15,A1:A15>20),IFERROR(f+0,f))
F1:G8F1=LET(f,FILTER(""&A1:B15,A1:A15<25),IFERROR(f+0,f))
H1:I6H1=LET(f,FILTER(""&A1:B15,MOD(A1:A15,2)=1),IFERROR(f+0,f))
J1:K23J1=VSTACK(D1#,F1#,H1#)
Dynamic array formulas.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,522
Messages
6,120,022
Members
448,939
Latest member
Leon Leenders

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