joining multiple columns of populated results into one

excelNewbie22

Well-known Member
Joined
Aug 4, 2021
Messages
510
Office Version
  1. 365
Platform
  1. Windows
hi,

i've dozens of columns like the example below,

any way to join them into one but with the formulas, not just the values?

or

placing each formula in an even distance from each other, like each 210 rows





test.xlsx
ABCDEFGHIJKLMNOP
1123456782828wanted result
21-2-3-4-5-611-12-13-14-15-161-2-3-4-5-6
311121314151617181-2-3-4-5-711-12-13-14-15-171-2-3-4-5-7
41-2-3-4-6-711-12-13-14-16-171-2-3-4-6-7
51-2-3-5-6-711-12-13-15-16-171-2-3-5-6-7
61-2-4-5-6-711-12-14-15-16-171-2-4-5-6-7
71-3-4-5-6-711-13-14-15-16-171-3-4-5-6-7
82-3-4-5-6-712-13-14-15-16-172-3-4-5-6-7
91-2-3-4-5-811-12-13-14-15-181-2-3-4-5-8
101-2-3-4-6-811-12-13-14-16-181-2-3-4-6-8
111-2-3-5-6-811-12-13-15-16-181-2-3-5-6-8
121-2-4-5-6-811-12-14-15-16-181-2-4-5-6-8
131-3-4-5-6-811-13-14-15-16-181-3-4-5-6-8
142-3-4-5-6-812-13-14-15-16-182-3-4-5-6-8
151-2-3-4-7-811-12-13-14-17-181-2-3-4-7-8
161-2-3-5-7-811-12-13-15-17-181-2-3-5-7-8
171-2-4-5-7-811-12-14-15-17-181-2-4-5-7-8
181-3-4-5-7-811-13-14-15-17-181-3-4-5-7-8
192-3-4-5-7-812-13-14-15-17-182-3-4-5-7-8
201-2-3-6-7-811-12-13-16-17-181-2-3-6-7-8
211-2-4-6-7-811-12-14-16-17-181-2-4-6-7-8
221-3-4-6-7-811-13-14-16-17-181-3-4-6-7-8
232-3-4-6-7-812-13-14-16-17-182-3-4-6-7-8
241-2-5-6-7-811-12-15-16-17-181-2-5-6-7-8
251-3-5-6-7-811-13-15-16-17-181-3-5-6-7-8
262-3-5-6-7-812-13-15-16-17-182-3-5-6-7-8
271-4-5-6-7-811-14-15-16-17-181-4-5-6-7-8
282-4-5-6-7-812-14-15-16-17-182-4-5-6-7-8
293-4-5-6-7-813-14-15-16-17-183-4-5-6-7-8
3011-12-13-14-15-16
3111-12-13-14-15-17
3211-12-13-14-16-17
3311-12-13-15-16-17
3411-12-14-15-16-17
3511-13-14-15-16-17
3612-13-14-15-16-17
3711-12-13-14-15-18
3811-12-13-14-16-18
3911-12-13-15-16-18
4011-12-14-15-16-18
4111-13-14-15-16-18
4212-13-14-15-16-18
4311-12-13-14-17-18
4411-12-13-15-17-18
4511-12-14-15-17-18
4611-13-14-15-17-18
4712-13-14-15-17-18
4811-12-13-16-17-18
4911-12-14-16-17-18
5011-13-14-16-17-18
5112-13-14-16-17-18
5211-12-15-16-17-18
5311-13-15-16-17-18
5412-13-15-16-17-18
5511-14-15-16-17-18
5612-14-15-16-17-18
5713-14-15-16-17-18
test
Cell Formulas
RangeFormula
N1:O1N1=COUNTA(N2:N9999)
N2:N29N2=LET(d,TOROW(A1:L1,1,1),N,6,c,COUNT(d),x,BYROW(IF(MOD(INT(SEQUENCE(2^c,,0)/2^SEQUENCE(,c,0)),2),d,""),LAMBDA(r,IF(COUNT(r)=N,TEXTJOIN("-",,r),""))),FILTER(x,x<>""))
O2:O29O2=LET(d,TOROW(A3:H3,1,1),N,6,c,COUNT(d),x,BYROW(IF(MOD(INT(SEQUENCE(2^c,,0)/2^SEQUENCE(,c,0)),2),d,""),LAMBDA(r,IF(COUNT(r)=N,TEXTJOIN("-",,r),""))),FILTER(x,x<>""))
P2:P29P2=LET(d,TOROW(A1:L1,1,1),N,6,c,COUNT(d),x,BYROW(IF(MOD(INT(SEQUENCE(2^c,,0)/2^SEQUENCE(,c,0)),2),d,""),LAMBDA(r,IF(COUNT(r)=N,TEXTJOIN("-",,r),""))),FILTER(x,x<>""))
P30:P57P30=LET(d,TOROW(A3:H3,1,1),N,6,c,COUNT(d),x,BYROW(IF(MOD(INT(SEQUENCE(2^c,,0)/2^SEQUENCE(,c,0)),2),d,""),LAMBDA(r,IF(COUNT(r)=N,TEXTJOIN("-",,r),""))),FILTER(x,x<>""))
Dynamic array formulas.
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,215,780
Messages
6,126,857
Members
449,345
Latest member
CharlieDP

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