Solved

Excel advanced transpose or pivot

Posted on 2013-01-14
4
378 Views
Last Modified: 2013-01-14
Hi Experts, I cant find the words to explain what I require help with so I have attached the image. Is there a way using Transpose or Pivot or any other Excel formula to make the table at the top look like the one at the bottom?

Requirement
0
Comment
Question by:takwirirar
  • 2
4 Comments
 
LVL 7

Expert Comment

by:Jignesh Thar
ID: 38774062
takwirirar - Does number of weeks always remain 6 (20-Jan till 24-Feb in your case)?

Transposed number of rows will depend on how many week's worth data you have.

Can you post the base excel (which you have taken screenshot of) so that I can add formula into it?
0
 
LVL 1

Author Comment

by:takwirirar
ID: 38774092
Thanks! No these are the week ending dates so it'll have the whole Financial Year i.e. 52 weeks. Please find spreadsheet attached. Also there'll be more than 2 products
Forecast.xlsx
0
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 500 total points
ID: 38774132
Try this formula for the given file

=INDEX($A$1:$I$3,((ROW()-ROW($A$7))/6+1)*(COLUMN()<>3)+1,IF(COLUMN()<3,COLUMN(),4+MOD(ROW()-ROW($A$7),6)))

To use it elsewhere change
$A$1:$I$3 to your source range,
the two instances of $A$7 to the first cell below the header in the target range
and the two instances of 6 to the number of weeks in each row
0
 
LVL 1

Author Closing Comment

by:takwirirar
ID: 38774539
Thank you. This is fantastic
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question