shyam
Active Member
- Joined
- Jul 18, 2005
- Messages
- 302
I have a statement which runs into some 200 rows. I need to transpose only certain columns (3rd, 4th and 5th) and repeat the data in that corresponding row (1st and 2nd columns) twice below. eg. is given below :
Is there any method by which I can derive the result and given above. (either through formula or thru VB).
Many thanks for your kind help.
Regards
Shyam
Excel Workbook | |||||||
---|---|---|---|---|---|---|---|
C | D | E | F | G | |||
1 | Query | * | * | * | * | ||
2 | * | * | * | * | * | ||
3 | 3000806 | AAA | 101.5 | 7.0 | 7.0 | ||
4 | 3000821 | BBB | 93.0 | 7.0 | 7.0 | ||
5 | 3000837 | CCC | 26.5 | 6.0 | 7.0 | ||
6 | 3000900 | DDD | 50.0 | 7.0 | 7.0 | ||
7 | * | * | * | * | * | ||
8 | * | * | * | * | * | ||
9 | Answer | * | * | * | * | ||
10 | * | * | * | * | * | ||
11 | 3000806 | AAA | 101.5 | * | * | ||
12 | 3000806 | AAA | 7.0 | * | * | ||
13 | 3000806 | AAA | 7.0 | * | * | ||
14 | * | * | * | * | * | ||
15 | 3000821 | BBB | 93.0 | * | * | ||
16 | 3000821 | BBB | 7.0 | * | * | ||
17 | 3000821 | BBB | 7.0 | * | * | ||
18 | * | * | * | * | * | ||
19 | 3000837 | CCC | 26.5 | * | * | ||
20 | 3000837 | CCC | 6.0 | * | * | ||
21 | 3000837 | CCC | 7.0 | * | * | ||
22 | * | * | * | * | * | ||
23 | 3000900 | DDD | 50.0 | * | * | ||
24 | 3000900 | DDD | 7.0 | * | * | ||
25 | 3000900 | DDD | 7.0 | * | * | ||
Sheet1 |
Is there any method by which I can derive the result and given above. (either through formula or thru VB).
Many thanks for your kind help.
Regards
Shyam