Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Excel advanced transpose or pivot

Posted on 2013-01-14
4
Medium Priority
?
441 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 2000 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

604 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