ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Reversing date from column to Row (https://www.excelbanter.com/excel-discussion-misc-queries/109098-reversing-date-column-row.html)

[email protected]

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


Jim Thomlinson

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



Toppers

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



[email protected]

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





All times are GMT +1. The time now is 04:46 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com