cflorackis
Board Regular
- Joined
- Aug 18, 2002
- Messages
- 137
Dear friends,
I have some problems with transposing my data. Say, for example that we have the following table:
Column A reports the firm's name, column B the names of the major ivestors within the firm (e.g. firm1 has 3 major investors--john, nick and helen), column C the stake of each investor and column D the investor type. Instead of having the data in such a format (i.e. columns A to D), I need to find a way and transpose the data and make them look as in columns F to L. For example I want in column F the company name to be reported, in columns G and H the stake and the type of the 1st largest investor respectively, in columns I and J those of the second largest and in columns K and L those of the third largest investor and so on. Please be aware that one investor can hold shares in more than one companies (e.g. John has invested in both firm1 and firm3)
I have been trying to find a formula to transpose the data since early this morning but I have not been successfull so far
Any help would be greatly appreciated
c.
I have some problems with transposing my data. Say, for example that we have the following table:
transpose.xls | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | |||
1 | Firm | Investor | Stake | Type | Firm | 1st largest investor | Type | 2nd largest Investor | Type | 3nd Largest Investor | Type | |||
2 | firm1 | john | 10 | 1 | firm1 | 10 | 1 | 9 | 2 | 8 | 4 | |||
3 | firm1 | nick | 8 | 4 | firm2 | 55 | 4 | 6 | 6 | 4 | 5 | |||
4 | firm1 | helen | 9 | 2 | firm3 | 25 | 3 | 6 | 2 | |||||
5 | firm2 | nick | 6 | 6 | ||||||||||
6 | firm2 | micael | 4 | 5 | ||||||||||
7 | firm2 | jack | 55 | 4 | ||||||||||
8 | firm3 | helen | 25 | 3 | ||||||||||
9 | firm3 | john | 6 | 2 | ||||||||||
Sheet1 |
Column A reports the firm's name, column B the names of the major ivestors within the firm (e.g. firm1 has 3 major investors--john, nick and helen), column C the stake of each investor and column D the investor type. Instead of having the data in such a format (i.e. columns A to D), I need to find a way and transpose the data and make them look as in columns F to L. For example I want in column F the company name to be reported, in columns G and H the stake and the type of the 1st largest investor respectively, in columns I and J those of the second largest and in columns K and L those of the third largest investor and so on. Please be aware that one investor can hold shares in more than one companies (e.g. John has invested in both firm1 and firm3)
I have been trying to find a formula to transpose the data since early this morning but I have not been successfull so far
Any help would be greatly appreciated
c.