Need help combining two columns

BEDE

New Member
Joined
Mar 29, 2024
Messages
18
Office Version
  1. 365
Platform
  1. Windows
Hello, I need help combing these these every other row.

1st - in DK26
TRANSPOSE(TAKE(AB12#,12))-TAKE(DROP(AB12#,1),12)
2nd
SEQUENCE(,COLUMNS(DK26#))&" "&"/"&" "&SEQUENCE(ROWS(DK26#))

I'm hoping to have the header first row, data second...


Screenshot 2024-05-02 111109.png
 

Attachments

  • 1714662723010.png
    1714662723010.png
    74.7 KB · Views: 1
Maybe
Excel Formula:
=LET(a,TRANSPOSE(TAKE(AB12#,12))-TAKE(DROP(AB12#,1),12),SORTBY(VSTACK(SEQUENCE(,COLUMNS(a))&" "&"/"&" "&SEQUENCE(ROWS(a)),a),VSTACK(SEQUENCE(ROWS(a),,,2),SEQUENCE(ROWS(a),,2,2))))
But if this does not work, you are going to have to post some data using the XL2BB add-in as already requested.
It works! I said it does. It just does this:
Screenshot 2024-05-02 123530.png
 
Upvote 0

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
DELTAFORCE123 (version 1).xlsb
PQRSTUVWXYZAAABAC
151.551 / 12 / 13 / 14 / 15 / 16 / 17 / 18 / 19 / 110 / 111 / 112 / 1
163.551 / 22 / 23 / 24 / 25 / 26 / 27 / 28 / 29 / 210 / 211 / 212 / 2
175.551 / 32 / 33 / 34 / 35 / 36 / 37 / 38 / 39 / 310 / 311 / 312 / 3
187.551 / 42 / 43 / 44 / 45 / 46 / 47 / 48 / 49 / 410 / 411 / 412 / 4
199.551 / 52 / 53 / 54 / 55 / 56 / 57 / 58 / 59 / 510 / 511 / 512 / 5
2011.551 / 62 / 63 / 64 / 65 / 66 / 67 / 68 / 69 / 610 / 611 / 612 / 6
2113.551 / 72 / 73 / 74 / 75 / 76 / 77 / 78 / 79 / 710 / 711 / 712 / 7
2215.551 / 82 / 83 / 84 / 85 / 86 / 87 / 88 / 89 / 810 / 811 / 812 / 8
2317.551 / 92 / 93 / 94 / 95 / 96 / 97 / 98 / 99 / 910 / 911 / 912 / 9
2419.551 / 102 / 103 / 104 / 105 / 106 / 107 / 108 / 109 / 1010 / 1011 / 1012 / 10
2521.551 / 112 / 113 / 114 / 115 / 116 / 117 / 118 / 119 / 1110 / 1111 / 1112 / 11
2623.55-202468101214161820
27-4-2024681012141618
28-6-4-20246810121416
29-8-6-4-202468101214
30-10-8-6-4-2024681012
31-12-10-8-6-4-20246810
32-14-12-10-8-6-4-202468
33-16-14-12-10-8-6-4-20246
34-18-16-14-12-10-8-6-4-2024
35-20-18-16-14-12-10-8-6-4-202
36-22-20-18-16-14-12-10-8-6-4-20
Sheet1
Cell Formulas
RangeFormula
P15:P26P15=SEQUENCE(12,,1.55,MOD(2,3.6))
R15:AC36R15=LET(a,TRANSPOSE(TAKE(P15#,12))-TAKE(DROP(P15#,1),12),VSTACK(SEQUENCE(,COLUMNS(a))&" "&"/"&" "&SEQUENCE(ROWS(a)),a))
Dynamic array formulas.
 
Upvote 0
That is not the formula from post#10. ;)
 
Upvote 0
That is not the formula from post#10. ;)
🤫😂

I can get here: but is there no way to this with scan or map or byrow? what if I wish to manipulate and take on diagnol basis(Not sure that's the right way to say it).

DELTAFORCE123 (version 1).xlsb
PQRSTUVWXYZAAAB
151.551 / 11 / 21 / 31 / 41 / 51 / 61 / 71 / 81 / 91 / 101 / 11
163.55-2-4-6-8-10-12-14-16-18-20-22
175.552 / 12 / 22 / 32 / 42 / 52 / 62 / 72 / 82 / 92 / 102 / 11
187.550-2-4-6-8-10-12-14-16-18-20
199.553 / 13 / 23 / 33 / 43 / 53 / 63 / 73 / 83 / 93 / 103 / 11
2011.5520-2-4-6-8-10-12-14-16-18
2113.554 / 14 / 24 / 34 / 44 / 54 / 64 / 74 / 84 / 94 / 104 / 11
2215.55420-2-4-6-8-10-12-14-16
2317.555 / 15 / 25 / 35 / 45 / 55 / 65 / 75 / 85 / 95 / 105 / 11
2419.556420-2-4-6-8-10-12-14
2521.556 / 16 / 26 / 36 / 46 / 56 / 66 / 76 / 86 / 96 / 106 / 11
2623.5586420-2-4-6-8-10-12
277 / 17 / 27 / 37 / 47 / 57 / 67 / 77 / 87 / 97 / 107 / 11
281086420-2-4-6-8-10
298 / 18 / 28 / 38 / 48 / 58 / 68 / 78 / 88 / 98 / 108 / 11
30121086420-2-4-6-8
319 / 19 / 29 / 39 / 49 / 59 / 69 / 79 / 89 / 99 / 109 / 11
3214121086420-2-4-6
3310 / 110 / 210 / 310 / 410 / 510 / 610 / 710 / 810 / 910 / 1010 / 11
341614121086420-2-4
3511 / 111 / 211 / 311 / 411 / 511 / 611 / 711 / 811 / 911 / 1011 / 11
36181614121086420-2
3712 / 112 / 212 / 312 / 412 / 512 / 612 / 712 / 812 / 912 / 1012 / 11
3820181614121086420
Sheet1
Cell Formulas
RangeFormula
P15:P26P15=SEQUENCE(12,,1.55,MOD(2,3.6))
R15:AB38R15=LET(a,TRANSPOSE(TAKE(P15#,12))-TAKE(DROP(P15#,1),12), b,SEQUENCE(,COLUMNS(a))&" "&"/"&" "&SEQUENCE(ROWS(a)), c,LAMBDA(x,TOCOL(x,0,FALSE)), d,HSTACK(c(b),c(a)), e,TOCOL(d,0,FALSE), f,WRAPCOLS(e,24,""),f)
Dynamic array formulas.



OH I get it now. Sorry. lol
DELTAFORCE123 (version 1).xlsb
QRSTUVWXYZAAAB
421 / 12 / 13 / 14 / 15 / 16 / 17 / 18 / 19 / 110 / 111 / 112 / 1
43-202468101214161820
441 / 22 / 23 / 24 / 25 / 26 / 27 / 28 / 29 / 210 / 211 / 212 / 2
45-4-2024681012141618
461 / 32 / 33 / 34 / 35 / 36 / 37 / 38 / 39 / 310 / 311 / 312 / 3
47-6-4-20246810121416
481 / 42 / 43 / 44 / 45 / 46 / 47 / 48 / 49 / 410 / 411 / 412 / 4
49-8-6-4-202468101214
501 / 52 / 53 / 54 / 55 / 56 / 57 / 58 / 59 / 510 / 511 / 512 / 5
51-10-8-6-4-2024681012
521 / 62 / 63 / 64 / 65 / 66 / 67 / 68 / 69 / 610 / 611 / 612 / 6
53-12-10-8-6-4-20246810
541 / 72 / 73 / 74 / 75 / 76 / 77 / 78 / 79 / 710 / 711 / 712 / 7
55-14-12-10-8-6-4-202468
561 / 82 / 83 / 84 / 85 / 86 / 87 / 88 / 89 / 810 / 811 / 812 / 8
57-16-14-12-10-8-6-4-20246
581 / 92 / 93 / 94 / 95 / 96 / 97 / 98 / 99 / 910 / 911 / 912 / 9
59-18-16-14-12-10-8-6-4-2024
601 / 102 / 103 / 104 / 105 / 106 / 107 / 108 / 109 / 1010 / 1011 / 1012 / 10
61-20-18-16-14-12-10-8-6-4-202
621 / 112 / 113 / 114 / 115 / 116 / 117 / 118 / 119 / 1110 / 1111 / 1112 / 11
63-22-20-18-16-14-12-10-8-6-4-20
Sheet1
Cell Formulas
RangeFormula
Q42:AB63Q42=LET(a,TRANSPOSE(TAKE(P15#,12))-TAKE(DROP(P15#,1),12),SORTBY(VSTACK(SEQUENCE(,COLUMNS(a))&" "&"/"&" "&SEQUENCE(ROWS(a)),a),VSTACK(SEQUENCE(ROWS(a),,,2),SEQUENCE(ROWS(a),,2,2))))
Dynamic array formulas.
 
Last edited:
Upvote 0
What is wrong with the formula in post#10?
 
Upvote 0

Forum statistics

Threads
1,216,076
Messages
6,128,670
Members
449,463
Latest member
Jojomen56

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