Solved

Transpose Data

Posted on 2013-06-06
3
141 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

772 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