Solved

Excel advanced transpose or pivot

Posted on 2013-01-14
4
414 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

696 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