Solved

Excel advanced transpose or pivot

Posted on 2013-01-14
4
353 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

708 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now