Solved

Transpose Data

Posted on 2013-06-06
3
168 Views
Last Modified: 2013-06-08
On the attached sample file, I need to flip the data from table 1 into the format of table 2.
I am finding that I am not able to use Transpose due to having some cells merged.
If possible I would like to have some VB code which I can insert into each sheet to accomplish this.

Thank you in advance
Sample-Table.xlsx
0
Comment
Question by:gixxer1020
  • 2
3 Comments
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 500 total points
ID: 39227587
Try

=IF(INDEX($C$4:$P$7,MATCH(IF(C$11="",B$11,C$11),$B$4:$B$7,0),MATCH($B12,$C$3:$P$3,0)+(C$11=""))="","",INDEX($C$4:$P$7,MATCH(IF(C$11="",B$11,C$11),$B$4:$B$7,0),MATCH($B12,$C$3:$P$3,0)+(C$11="")))
0
 

Author Closing Comment

by:gixxer1020
ID: 39231157
Thank you,

This worked really well.  Unfortunately there has been a change in the table and now need a different format...I will post the next question privately to you for resolution

Thank you,

Edwin
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39231170
You can continue to post here or if it is significantly different then you can open a new question and post the link here so that I can see where it is.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

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…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
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 will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

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