Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Data is not in an actual pivot table (so it can't be reversed to get what I
want), it's just entered in a crosstab format: June July August Andy 2 3 4 Dave 3 6 2 Any easy way to convert it to this format? Name Month Sales Andy June 2 Andy July 3 Andy August 4 Dave June 3 Dave July 6 Dave August 2 TIA. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Assuming source table below is in A1:D3
June July August Andy 2 3 4 Dave 3 6 2 In F2: =OFFSET($A$2,INT((ROWS($1:1)-1)/3),) In G2: =INDEX($B$1:$D$1,MOD(ROWS($1:1)-1,3)+1) In H2: =OFFSET($B$2,INT((ROWS($1:1)-1)/3),MOD(ROWS($1:1)-1,3)) Copy F2:H2 down to H7 to extract desired results Adapt to suit .. eg: the "3" = the number of "month" cols in the source -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Eric" wrote: Data is not in an actual pivot table (so it can't be reversed to get what I want), it's just entered in a crosstab format: June July August Andy 2 3 4 Dave 3 6 2 Any easy way to convert it to this format? Name Month Sales Andy June 2 Andy July 3 Andy August 4 Dave June 3 Dave July 6 Dave August 2 TIA. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You can also use this cool method from J Walkenbach's site
http://www.j-walk.com/ss/excel/usertips/tip068.htm Ed Ferrero www.edferrero.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Set calculation type for all value fields in a pivot table at once | Excel Discussion (Misc queries) | |||
Database table (aka Reverse pivot table) | Excel Discussion (Misc queries) | |||
When refreshing pivot tables my pivot table chart type changes | Excel Discussion (Misc queries) | |||
reverse a pivot table | Excel Discussion (Misc queries) | |||
get SQL Server text data type into Excel pivot table | Excel Discussion (Misc queries) |