Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Rearranging columns

Hi,
I've got a task of rearranging columns from 3 sheets into a new sheet(s) in
different ratios, for example if my 3 sheets are X1,X2 and X3 and my new
sheet is called Mix, my mix ratio may be 1:3:2. In this case I cut the firs
column from X1 and paste it into the first column of Mix, then the first 3
columns from X2 and paste into the adjacent column in Mix, then the first 2
columns from X3 and paste into the next adjacent columns in Mix, and carry on
like this until there is no data left to mix. I recorded a macro when I did
it manually but I'm not sure how to set up the loops for different ratios or
how to create a new sheet if 'Mix' gets filled up and there is still data in
X1 X2 and X3. Any help at all would be hugely appreciated,

Nick
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
need some help rearranging columns need-some-help![_2_] Excel Discussion (Misc queries) 1 February 12th 09 02:20 AM
need some help rearranging columns need-some-help![_2_] Excel Discussion (Misc queries) 0 February 12th 09 02:11 AM
Rearranging the Columns Macro XL2003 ruhroh88 Excel Discussion (Misc queries) 0 October 22nd 08 11:28 PM
Rearranging cells into certain columns thelinds Excel Worksheet Functions 1 September 28th 06 11:52 PM
Rearranging columns/rows BernieH Excel Discussion (Misc queries) 1 February 9th 06 09:16 AM


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