LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default repeated rows to single rows with many columns

Assume source data in Sheet1, in A2:D2 down,
with the regular repeating pattern as posted

In Sheet2,
In A2: =OFFSET(Sheet1!A$2,ROWS($1:1)*3-3,)
Copy A2 to B2

In C2: =OFFSET(Sheet1!$D$2,ROWS($1:1)*3-3+COLUMNS($A:A)-1,)
Copy C2 to E2. Select A2:E2, fill down to exhaust source data

In C1: =INDEX(Sheet1!$C$2:$C$4,COLUMNS($A:A))
Copy to E1

Success ? Wave it, click the YES button below.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:300 Subscribers:70
xdemechanik
---
"geanswerman" wrote:
Below is shown an extracted table that I need to rearange to show price list.

Material Description Minimum_Qty Sell_Price
10001 Screw,IF,Can,Ti,7X20 1 90
10001 Screw,IF,Can,Ti,7X20 11 83.5
10001 Screw,IF,Can,Ti,7X20 21 76.5
10002 Screw,IF,Can,Ti,7X25 1 90
10002 Screw,IF,Can,Ti,7X25 11 83.5
10002 Screw,IF,Can,Ti,7X25 21 76.5

Material Description 1 11 21
10001 Screw,IF,Can,Ti,7X20 90.00 83.50 76.50
10002 Screw,IF,Can,Ti,7X25 90.00 83.50 76.50


Is this possible? I thought I had done it before but I can not find a
reference for it.

 
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
Transpose columns to rows using first columns repeated. hn7155 Excel Worksheet Functions 7 February 12th 09 11:50 PM
repeating columns containing rows going beyond the repeated column annoni Excel Discussion (Misc queries) 0 June 25th 08 03:01 PM
How to make columns based on repeated rows?? oli merge Excel Discussion (Misc queries) 4 December 18th 07 11:36 AM
single table with columns that have different amounts of rows jleipart New Users to Excel 5 February 28th 06 07:43 PM
repeated transpose from rows to columns with unequal groups kraymond Excel Discussion (Misc queries) 3 December 20th 04 02:39 PM


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