Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default select rows of data & move to new column

I'm trying to select every other row of data (2,4,6,8, etc) and move
these to a new column. What is the simplest and quickest way of doing
this?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default select rows of data & move to new column

I use an additional column.

I put A in row 1 and B in row 2
I select the cells in x1:X2 (say)
and then copy down as far as I need

Then I apply data|filter|autofilter
show only the A's (or show only the B's) and
copy the visible rows
and paste to the new worksheet.

wrote:

I'm trying to select every other row of data (2,4,6,8, etc) and move
these to a new column. What is the simplest and quickest way of doing
this?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,339
Default select rows of data & move to new column

Hi,

One simply way;

For i=2 to 100 step 2
Cells(i,"C")=Cells(i,"A")
Next i

will move (put) data from A to C for rows 2 to 100 incrementing by 2

HTH

" wrote:

I'm trying to select every other row of data (2,4,6,8, etc) and move
these to a new column. What is the simplest and quickest way of doing
this?


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
How to select data in non adjacent rows of a column automatically jdpf Excel Discussion (Misc queries) 5 March 23rd 09 10:32 PM
Move Column data to rows poppy Excel Programming 2 December 8th 05 09:19 AM
In Excel: select the last 20 rows of data in a column Tad Blanchard Excel Worksheet Functions 2 November 25th 05 09:35 AM
Need a macro to move data from column into rows floss Excel Programming 4 June 5th 04 06:06 AM
Move data from different columns into one column, but different rows. willik[_2_] Excel Programming 2 February 27th 04 02:58 PM


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

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

About Us

"It's about Microsoft Excel"