Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Reversing date from column to Row

I need to change data from this format
ItemNo PCAL PCBW PCCH
PH53015 43 43 16

to this format.
Item Code Value
PH53015 PCAL 43
PH53015 PCBW 43
PH53015 PCCH 16

Can some one help me out?

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Reversing date from column to Row

Put the data in a pivot table. Place the cell anywhere in the middle of your
data and select Data - Pivot Table. When the wizard comes up you can
probably just select Finish as the default settings shoud be good enough. it
will create a new sheet with a pivot table on it. Place the Items in the left
column, the codes in the row across the top and the values in the middle...
--
HTH...

Jim Thomlinson


" wrote:

I need to change data from this format
ItemNo PCAL PCBW PCCH
PH53015 43 43 16

to this format.
Item Code Value
PH53015 PCAL 43
PH53015 PCBW 43
PH53015 PCCH 16

Can some one help me out?

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Reversing date from column to Row

Try these, assuming data starts in row 2:

Item No:
=INDIRECT("A" &INT((ROW()-2)/3)+2)
Code:
=INDEX($B$1:$D$1,,MOD(ROW()-2,3)+1)
Value:
=OFFSET($B$2,INT((ROW()-2)/3),MOD(ROW()-2,3),1)

and copy all three down.

(I input the formulas on the same sheet in columns F to G; if you put them
on a separate sheet, qualify the above with the sheet name.

HTH

" wrote:

I need to change data from this format
ItemNo PCAL PCBW PCCH
PH53015 43 43 16

to this format.
Item Code Value
PH53015 PCAL 43
PH53015 PCBW 43
PH53015 PCCH 16

Can some one help me out?

Thanks


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Reversing date from column to Row

Thank you. I tried both ways they both worked perfect.

Jim Thomlinson wrote:
Put the data in a pivot table. Place the cell anywhere in the middle of your
data and select Data - Pivot Table. When the wizard comes up you can
probably just select Finish as the default settings shoud be good enough. it
will create a new sheet with a pivot table on it. Place the Items in the left
column, the codes in the row across the top and the values in the middle...
--
HTH...

Jim Thomlinson


" wrote:

I need to change data from this format
ItemNo PCAL PCBW PCCH
PH53015 43 43 16

to this format.
Item Code Value
PH53015 PCAL 43
PH53015 PCBW 43
PH53015 PCCH 16

Can some one help me out?

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
macro unouwanme Excel Discussion (Misc queries) 9 August 31st 06 09:38 PM
date formula hitesh Excel Discussion (Misc queries) 0 August 29th 06 05:01 PM
insert date Larry Excel Worksheet Functions 28 July 15th 06 02:41 AM
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM


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