Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
Solved

# Excel advanced transpose or pivot

Posted on 2013-01-14
Medium Priority
460 Views
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?

0
Question by:takwirirar
• 2

LVL 7

Expert Comment

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

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

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
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

ID: 38774539
Thank you. This is fantastic
0

## Featured Post

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
###### Suggested Courses
Course of the Month11 days, 8 hours left to enroll