shekhar_pc
Board Regular
- Joined
- Jan 29, 2006
- Messages
- 185
ask.xls | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | H | I | J | K | L | M | N | |||
6 | ABCD | AA-999 | 04:05 | 05:05 | 07:05 | 02:00 | 143 :TOM P(C1) | 631 :**** S(C2) | |||||||
7 | ABC-DEF | 1030 :HARRY GA(C2) | |||||||||||||
8 | 1211 :JULIE (C2) | ||||||||||||||
9 | ABCD | AA-888 | 04:05 | 05:05 | 07:05 | 02:00 | 543 :TIM P(C1) | 1131 :JOHN S(C2) | |||||||
10 | GHI-JKL | 6030 :BOB(C2) | |||||||||||||
11 | 6211 :VIC M(C2) | ||||||||||||||
Sheet1 |
ask.xls | ||||||||
---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | |||
6 | ABCD | AA-999 | 04:05 | 05:05 | 02:00 | 143 :TOM P(C1) | ||
7 | ABC-DEF | 07:05 | 631 :**** S(C2) | |||||
8 | 1030 :HARRY GA(C2) | |||||||
9 | 1211 :JULIE (C2) | |||||||
10 | ABCD | AA-888 | 04:05 | 05:05 | 02:00 | 543 :TIM P(C1) | ||
11 | GHI-JKL | 07:05 | 1131 :JOHN S(C2) | |||||
12 | 6030 :BOB(C2) | |||||||
13 | 6211 :VIC M(C2) | |||||||
Sheet2 |
I have my RAW data in Sheet1 in the range B6:N11 (Actual data would be at B6:Nxx, where xx is not known) . I have to format the RAW data in such a way that it looks like in figure 2 posted above which should be formatted in sheet2 in the range (B6:Gxx)
I have recorded a macro and tweaked it a little bit which gives me a similar answer but not the perfect one that I want. Also my recorded macro is too big. Can anyone help me with this?