Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
GM GM is offline
external usenet poster
 
Posts: 23
Default How do I copy/paste odd or even rows from Exel?

I have a 10,000 record list in Excel.
I want to separate the list by odd and even rows. How can I do that?

Thank you,

Gabriela
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default How do I copy/paste odd or even rows from Exel?

You didn't mention how many fields you have.

With data starting in A1,

For *even* rows, enter this anywhere and copy down as needed:

=INDEX(A:A,2*ROWS($1:1))

For *odd* rows, enter this anywhere and copy down as needed:

=INDEX(A:A,2*ROWS($1:1)-1)

Post back if you need to copy additional fields across columns.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"GM" wrote in message
...
I have a 10,000 record list in Excel.
I want to separate the list by odd and even rows. How can I do that?

Thank you,

Gabriela


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default How do I copy/paste odd or even rows from Exel?

"GM" wrote:
I have a 10,000 record list in Excel.
I want to separate the list by odd and even rows. How can I do that?


One way ..

Assume data in cols A to D, from row2 down
Enter a label in E1, Enter in E2: x, Input in E3: o
Select E2:E3, fill down to the last row of data
Then just do a Data Filter Autofilter on col E
Filter out "x" from droplist in E1, copy filtered rows & paste elsewhere
Repeat with filter for: "o"
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
auto expand rows [email protected] Excel Worksheet Functions 3 December 14th 05 07:45 AM
Rows & Columns in Excel seadragon69 Excel Worksheet Functions 2 December 7th 05 05:54 PM
Automatically inserting rows ausdiver99 Excel Worksheet Functions 1 June 2nd 05 02:15 PM
Hiding Rows if the linked rows are blank KG Excel Discussion (Misc queries) 9 May 18th 05 02:32 AM
flexible paste rows function that inserts the right number of rows marika1981 Excel Discussion (Misc queries) 1 February 18th 05 02:40 AM


All times are GMT +1. The time now is 09:50 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"