ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   paste data in different sheet but skip rows. (https://www.excelbanter.com/excel-discussion-misc-queries/203133-paste-data-different-sheet-but-skip-rows.html)

CarmK

paste data in different sheet but skip rows.
 
Hi,

I would like to copy a column of names from one sheet to another but would
like to paste the data into every second row.

i.e. Sheet1!A7 goes to Sheet2!A7 ; Sheet1!A8 goes to Sheet2!A9 ; Sheet1!A9
goes to Sheet2!A11 etc.

I have seen similar posts / answers using the INDEX formula but can't work
out how to make it work for me!

Any help would be much appreciated!

Thanks
Carmel

Bernie Deitrick

paste data in different sheet but skip rows.
 
Carmel,

In sheet2, cell A7, enter

=IF(MOD(ROW(),2)=1,INDEX(Sheet1!$A$7:$A$5000,ROW(A 2)/2),"")

and copy down as far as you need.

HTH,
Bernie
MS Excel MVP


"CarmK" wrote in message
...
Hi,

I would like to copy a column of names from one sheet to another but would
like to paste the data into every second row.

i.e. Sheet1!A7 goes to Sheet2!A7 ; Sheet1!A8 goes to Sheet2!A9 ; Sheet1!A9
goes to Sheet2!A11 etc.

I have seen similar posts / answers using the INDEX formula but can't work
out how to make it work for me!

Any help would be much appreciated!

Thanks
Carmel




CarmK

paste data in different sheet but skip rows.
 
Wow, that was fantastic! Thanks a million!! You have saved me hours of work!

Now all I need to do is work out How that works! :-)

"Bernie Deitrick" wrote:

Carmel,

In sheet2, cell A7, enter

=IF(MOD(ROW(),2)=1,INDEX(Sheet1!$A$7:$A$5000,ROW(A 2)/2),"")

and copy down as far as you need.

HTH,
Bernie
MS Excel MVP


"CarmK" wrote in message
...
Hi,

I would like to copy a column of names from one sheet to another but would
like to paste the data into every second row.

i.e. Sheet1!A7 goes to Sheet2!A7 ; Sheet1!A8 goes to Sheet2!A9 ; Sheet1!A9
goes to Sheet2!A11 etc.

I have seen similar posts / answers using the INDEX formula but can't work
out how to make it work for me!

Any help would be much appreciated!

Thanks
Carmel






All times are GMT +1. The time now is 01:37 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com