Formula to paste Data from column to Row (Non contiguous cells)

cidfidou

Board Regular
Joined
Jan 19, 2009
Messages
163
Hi Excel Masters,

Here is my issue. I have a list of data listed in Columns and I would need to retrieve those data in a row format in non contiguous cells.


-- removed inline image ---


I would need to a formula to paste down to give me J2 in C2, K2 on C3, L2 in C4 and then J3 in C5, K3 in C6 , L3 in C7 and so on...
As usual, Thanks in advance
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
If I understand what you're saying correctly, select the columns and then go to the area where you want to paste them. Right click, paste special, and tick transpose on the bottom right.
 
Upvote 0
HI YOU CAN DO THIS WITH HELP OF ONE HELPER COLUMN DO THE FOLLOWING

First Put
D2=2
D3=2
D4=2

And in D5 = =D2+1 and Drag Down As you need and

Now Put in Column C
C2 =INDIRECT("J"&D2)
C3 =INDIRECT("k"&D3)
C4 =INDIRECT("l"&D4)

AND NOW SELECT ALL 3 CELL C2:C4 AND DRAG DOWN AS YOU NEED THATS IT
 
Last edited:
Upvote 0
Thanks DirtyChinchila but my spreadsheet is quite big...

Keva thank you for your solution.... do you think it is possible without one helper column? i have already thought bout it but doing that in spreadsheet will mean rework??
 
Upvote 0
try macro
Code:
Sub test()
Dim r As Range, c As Range


Set r = Range(Range("J2"), Range("j2").End(xlToRight).End(xlDown))
For Each c In r
c.Copy
Cells(Rows.Count, "C").End(xlUp).Offset(1, 0).PasteSpecial


Next c
end sub
 
Upvote 0
After Thinking more so one formula can do it easily try like below

Excel Workbook
CDEFGHIJKL
21******123
32******456
43******789
54******101112
65******131415
76******161718
87******192021
98******222324
109******252627
1110******282930
1211******313233
1312******343536
1413******373839
1514******404142
1615******434445
1716******464748
1817******495051
1918******525354
2019******555657
2120******585960
2221******616263
2322******646566
Sheet2
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,945
Messages
6,127,856
Members
449,411
Latest member
adunn_23

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