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

pls help.

i have a excel sheet with
code 1 code 2 code 3 description amount 1 amount 2 amount 3

15000 25000 35000 guest 1000 150 1150

i need result
15000 guest 1000
25000 guest 150
35000 guest 1150

--
thanks
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default creating transpore

Assume source data as posted is in Sheet1,
in cols A to G, data from row 2 down

In another sheet, put in
A2: =OFFSET(Sheet1!$A$2,INT((ROWS($1:1)-1)/3),MOD(ROWS($1:1)-1,3))
B2: =OFFSET(Sheet1!$D$2,INT((ROWS($1:1)-1)/3),)
C2: =OFFSET(Sheet1!$E$2,INT((ROWS($1:1)-1)/3),MOD(ROWS($1:1)-1,3))
Select A2:C2, copy down as far as required to transform it exactly as required

Success ? Celebrate it here, click the YES button below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:300 Subscribers:70
xdemechanik
---
"greg" wrote:
i have a excel sheet with
code 1 code 2 code 3 description amount 1 amount 2 amount 3

15000 25000 35000 guest 1000 150 1150

i need result
15000 guest 1000
25000 guest 150
35000 guest 1150


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
creating Yes,No Amin Excel Discussion (Misc queries) 3 November 8th 08 10:02 PM
Creating IF with OR Joe Gieder Excel Worksheet Functions 3 April 19th 07 06:21 PM
creating a pdf Andrew R Excel Discussion (Misc queries) 4 September 19th 06 08:21 PM
Creating Id shail Excel Worksheet Functions 8 September 14th 06 06:30 PM
Creating ActualSelf Excel Discussion (Misc queries) 1 October 20th 05 08:03 PM


All times are GMT +1. The time now is 08:55 AM.

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"