A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to convert a repeating row of information to fit in 3 columns



 
 
Thread Tools Display Modes
  #1  
Old May 17th, 2006, 10:32 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default How to convert a repeating row of information to fit in 3 columns

I have a spreadsheet with 300 rows and colums up to IR.

The columns repeat- #, description, size. I need to convert the spreadsheet
sp that it is 3 colums wide only with the title above and have all of the
information drop down into these.
  #2  
Old May 18th, 2006, 03:01 AM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default How to convert a repeating row of information to fit in 3 columns

"dawn" wrote:
I have a spreadsheet with 300 rows and colums up to IR.
The columns repeat- #, description, size. I need to convert the spreadsheet
so that it is 3 columns wide only with the title above and have all of the
information drop down into these.


Here's one quick play to try ..

Assuming source data is in sheet: X, cols A to IR (84 sets),
col headers in row1, data in row2 to 301

In another sheet: Y (say)
With 1 set of headers in A1:C1, put:

In A2:
=OFFSET(X!$A$2,MOD(ROW(A1)-1,300),INT((ROW(A1)-1)/300)*3)

In B2:
=OFFSET(X!$B$2,MOD(ROW(A1)-1,300),INT((ROW(A1)-1)/300)*3)

In C2:
=OFFSET(X!$C$2,MOD(ROW(A1)-1,300),INT((ROW(A1)-1)/300)*3)

Then just select A2:C2, copy down to C25201
(84 sets x 300 rows per set = 25,200)

The above will return the desired results.

If required, select cols A to C and freeze the values in Y
via an in-place:
Copy Paste special Check "Values" OK

For easy try-out, just rename your actual source sheet to: X,
then copy n paste the 3 formulas as-is into a new sheet.
Get it working first. Then just restore / rename
the source sheet back to its former name, and
leave it to Excel to auto-update the sheetname in the formulas.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #3  
Old May 18th, 2006, 05:08 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default How to convert a repeating row of information to fit in 3 colu

Thankyou I will try this right now and let you know.

"Max" wrote:

"dawn" wrote:
I have a spreadsheet with 300 rows and colums up to IR.
The columns repeat- #, description, size. I need to convert the spreadsheet
so that it is 3 columns wide only with the title above and have all of the
information drop down into these.


Here's one quick play to try ..

Assuming source data is in sheet: X, cols A to IR (84 sets),
col headers in row1, data in row2 to 301

In another sheet: Y (say)
With 1 set of headers in A1:C1, put:

In A2:
=OFFSET(X!$A$2,MOD(ROW(A1)-1,300),INT((ROW(A1)-1)/300)*3)

In B2:
=OFFSET(X!$B$2,MOD(ROW(A1)-1,300),INT((ROW(A1)-1)/300)*3)

In C2:
=OFFSET(X!$C$2,MOD(ROW(A1)-1,300),INT((ROW(A1)-1)/300)*3)

Then just select A2:C2, copy down to C25201
(84 sets x 300 rows per set = 25,200)

The above will return the desired results.

If required, select cols A to C and freeze the values in Y
via an in-place:
Copy Paste special Check "Values" OK

For easy try-out, just rename your actual source sheet to: X,
then copy n paste the 3 formulas as-is into a new sheet.
Get it working first. Then just restore / rename
the source sheet back to its former name, and
leave it to Excel to auto-update the sheetname in the formulas.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

  #4  
Old May 21st, 2006, 08:17 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default How to convert a repeating row of information to fit in 3 colu

"dawn" wrote:
Thank you I will try this right now and let you know.


You're welcome !
Thanks for the feedback ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert 1 row of data into Multiple columns Mohoney General Discussion 1 August 25th, 2005 12:36 PM
How to Join two tables and avoid multiple rows, and get repeating columns instead! JH General Discussion 2 April 25th, 2005 01:32 AM
Clearing information in certain columns jolly_lolly General Discussion 0 April 21st, 2005 10:44 PM
How to convert columns of data to one column of text devlkat Worksheet Functions 2 April 6th, 2005 04:08 PM
Repeating Header Row in a table does not convert to PDf correctly Gwen Tables 1 November 3rd, 2004 01:49 PM


All times are GMT +1. The time now is 07:45 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.