Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Duke Carey
 
Posts: n/a
Default moving alternating rows to a column with the order staying the sam

one way

In B1 place the formula

=IF(MOD(ROW(),2)=1,A2,"")

Copy it all the way to the bottom - you should get alternating rows where
the switch # lines up next to the correct address#

If so, copy the entire column B, the EditPaste Special Values

If you need to keep all of these in the original order, insert a helper
column & fill it with a series of ascending numbers.

Then sort the entire bit on column B & delete all the rows where column B = ""

If needed, resort on the helper column to return the list to the original
order




"ad" wrote:

I am working on a sheet that has more 11000+ rows. I need to move alternating
rows to a column without having to do it manually. However, currently A1
correspondes with A2, A3 with A4, etc. How can I move it from:

address1
switch#1
address2
switch#2

to:

address 1 switch#1
address 2 switch#2
address 3 switch#3

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 do I sort by row instead of by column? PercivalMound Excel Worksheet Functions 7 August 28th 06 10:41 PM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM
I want to delete rows with duplicate entries within one column. kini olegario Excel Discussion (Misc queries) 1 January 15th 05 01:44 AM
Vary the column widths for different rows Marty Excel Discussion (Misc queries) 2 January 4th 05 11:08 PM
Can I set a filter for a merged column across multiple rows and o. Martin Excel Worksheet Functions 2 November 25th 04 01:01 PM


All times are GMT +1. The time now is 07:23 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"