Copy random range of cells to the same random format

raamdrvr

New Member
Joined
May 12, 2017
Messages
10
hi

I want to copy the cells by random range and paste it in the same random range

for example refer the insert image


Thank you
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
for example: if I select the cell A2, A4, A6 and A7 to copy and then have to paste the same in B2, B4, B6 and B7 as shown the table below.
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Value[/TD]
[TD]Result[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]4566[/TD]
[TD]4566[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]598[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]23[/TD]
[TD]23[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]666[/TD]
[TD]666[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]789[/TD]
[TD]789[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
Normal pasting places the values one under another, so I think this would have to be done via VBA, Im not an expert in that area.
 
Last edited:
Upvote 0
at a time I have to select these all cells A2, A4, A6 and A7 and paste it to another cell with same "row intervals"
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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