Solved

Transpose Data

Posted on 2013-06-06
3
181 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
[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
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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

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!
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
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…

738 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