Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default insert every other column from other excel cells

Hi, I have 3 data sets, A, B, C in 3 different sections of one Excel
sheet( I use Office 2003). They all have the same size. I want to re-
arrange the data in the following way:

A1, B1, C1, A2, B2, C2...

A1, means column 1 in A; since each has over 20 columns, I wonder if
there is an easy way to do it? Thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default insert every other column from other excel cells

There are only two methods. Do it manually by cutting and inserting the
column or write a macro. By the time you write the macro you can do it
manually. You have to do trade-offs between the time, accuracy, and number
of times you perform these operations to determine when to write macros and
when to do it manually.

"sabrina" wrote:

Hi, I have 3 data sets, A, B, C in 3 different sections of one Excel
sheet( I use Office 2003). They all have the same size. I want to re-
arrange the data in the following way:

A1, B1, C1, A2, B2, C2...

A1, means column 1 in A; since each has over 20 columns, I wonder if
there is an easy way to do it? Thanks


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default insert every other column from other excel cells

Here's a good compromise.

Assuming the data sets are already lined up (row-wise), are already in
A, B, C, order, and there are no extra data columns between those sets
(blank columns ok)...

- Temporarily insert a blank row at top (if necessary).
- For each data set, use the blank row to number its columns 1 through
20 (whatever).
- Select all columns encompassing all sets.
- Sort, with sort Options set as "left to right."

The end result will be 1 1 1 ... 2 2 2 ... ... 20 20 20.

If the data sets are not already in A, B, C order, then before sorting
add a second blank row. Fill it with a's, b's and c's as appropriate,
and use it as a 2nd sort key.







On Jul 5, 9:51 am, sabrina wrote:
Hi, I have 3 data sets, A, B, C in 3 different sections of one Excel
sheet( I use Office 2003). They all have the same size. I want to re-
arrange the data in the following way:

A1, B1, C1, A2, B2, C2...

A1, means column 1 in A; since each has over 20 columns, I wonder if
there is an easy way to do it? Thanks



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 you insert a phrase at the start of all cells in a column? Elskan Excel Discussion (Misc queries) 4 March 4th 10 07:03 AM
I can't insert an @ (at symbol) into all cells in a column. Blake Excel Discussion (Misc queries) 2 September 25th 09 12:36 AM
Insert the same word at the start of a column of cells Ann Excel Discussion (Misc queries) 3 June 5th 09 11:35 PM
Insert a column within a range of cells Retirement Guy Excel Worksheet Functions 4 June 23rd 07 12:04 AM
Insert contents of various cells in a column into one cell? TextCells Excel Discussion (Misc queries) 1 April 2nd 06 10:41 PM


All times are GMT +1. The time now is 10:36 AM.

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"