Solved

Transpose Data

Posted on 2013-06-06
3
155 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

895 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

15 Experts available now in Live!

Get 1:1 Help Now