Copy data from Sheet 2 to Sheet1 and paste it in alternate rows in a new sheet

zaveedd

New Member
Joined
Apr 23, 2021
Messages
12
Office Version
  1. 2016
  2. 2010
Platform
  1. Windows
Hi,

I have data in 2 sheets . sheet1 and sheet2 are the sheet names. Data is available A to M in both the sheets.

Both will have same data except 1will have positive value the other will have Negative value.

Both the sheets have row headers .want the output in a new sheet with 2nd row from sheet 1 and 2nd row from sheet 2 ,.3rd row sheet 1 ,3rd row sheet 2 etc. Find below a sample image.

Can anybody help me with the VBA code to get this accomplished?
 

Attachments

  • Query.JPG
    Query.JPG
    119 KB · Views: 7

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Hi,​
if the Output sheet is in the same workbook what is its name ?​
Without any attachment you may have to amend any solution you could receive …​
 
Upvote 0
Hi,​
if the Output sheet is in the same workbook what is its name ?​
Without any attachment you may have to amend any solution you could receive …​
Output sheet name can be anything as long as the Data is correct. You can name it as " output" or "Merged"etc.
 
Upvote 0
I was meaning for an already existing worksheet in the same workbook or should be in a new workbook ?​
 
Upvote 0
I was meaning for an already existing worksheet in the same workbook or should be in a new workbook ?​
Hi Marc ,

Thank you for trying to help, It can be in the same workbook.
 
Upvote 0
So without an attachment I must know what is the name of the existing Output worksheet …​
 
Upvote 0
So without an attachment I must know what is the name of the existing Output worksheet …​
Currently i dont have that sheet ready did a copy paste manually to show the requirement. Please let me know if any other details are needed.
I am unable to attach the sample excel wb. its asking me to install XLBB.Any other way i can send the sample WB to you?
 
Upvote 0
As you can use any files hosting website …​
 
Upvote 0

Forum statistics

Threads
1,215,467
Messages
6,124,984
Members
449,201
Latest member
Lunzwe73

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