Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Quickly moving rows of 5-column groups on 1 continuous line

I've got a worksheet with about 50+ rows of 5-column's worth of numbers (a
5x50 grid). I'm trying to turn this into 1 continuous row that uses data
from A1, B1, C1, D1, E1, A2, B2, C2, D2, E2, A3, B3...

Is there any way to automate some of this? Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Quickly moving rows of 5-column groups on 1 continuous line

I assume you want the value from A1 in Column A, From B1 column B... From A2
in Column F, from B2 in Column G etc.
if so go below your data (Say row 100) and in A1100 enter
=INDIRECT("A"&CEILING(COLUMN()/5,1))
in B100 enter
=INDIRECT("B"&CEILING(COLUMN()/5,1))
continue to column E putting in appropriate letters.
copy A100:E100 and copy out to 250 columns.
"C.O." wrote:

I've got a worksheet with about 50+ rows of 5-column's worth of numbers (a
5x50 grid). I'm trying to turn this into 1 continuous row that uses data
from A1, B1, C1, D1, E1, A2, B2, C2, D2, E2, A3, B3...

Is there any way to automate some of this? Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Quickly moving rows of 5-column groups on 1 continuous line

Hi!

One way:

Assume your data is in the range A1:E50

Enter this formula in some cell and copy across as needed:

=OFFSET($A$1,INT((COLUMNS($A$1:A1)-1)/5),MOD(COLUMNS($A$1:A1)-1,5))

Biff

"C.O." wrote in message
...
I've got a worksheet with about 50+ rows of 5-column's worth of numbers (a
5x50 grid). I'm trying to turn this into 1 continuous row that uses data
from A1, B1, C1, D1, E1, A2, B2, C2, D2, E2, A3, B3...

Is there any way to automate some of this? 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
Copy rows of one sheet into mutiple sheets based on column value Wesley Breshears Excel Discussion (Misc queries) 0 October 18th 06 03:19 PM
Positioning Numeric Values Resulting from 6 Column Array Formula Sam via OfficeKB.com Excel Worksheet Functions 2 January 5th 06 02:03 AM
need help righting script to sort rows alphabetically then seperate them to line up [email protected] Excel Worksheet Functions 0 November 15th 05 01:23 AM
redistribute a column by a groups of rows Bill Davis Excel Worksheet Functions 1 April 29th 05 11:04 PM
moving alternating rows to a column with the order staying the sam ad Excel Discussion (Misc queries) 3 April 28th 05 09:49 PM


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