I have the following worksheet that I need to transpose according to the number of occurrence in a column (same name etc) within a specific column (B1) and copy the entire column and its row content on to one new row below. The 2nd occurrence of the same name should start on Column Q in this case:
Thanks in advance!
Code.xlsm | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | |||
1 | Site | Name | Start Weekday | Week 1 Name | Week 1 Min Paid | Week 1 Max Paid | Week 1 1 DayOff | Week 1 1 Shift | Week 1 1 Start | Week 1 1 Paid | Week 1 1 Activity 1 | Week 1 2 DayOff | Week 1 2 Shift | Week 1 2 Start | Week 1 2 Paid | Week 1 2 Activity 1 | ||||
2 | Green Site | Adam Smith | Week 1 | 2 | 08:00 TP | 07:30:00 | 07:30:00 | 2 | 17:30 TP | 09:00:00 | 08:00:00 | |||||||||
3 | Adam Smith | Week 2 | 2 | 08:00 TP | 07:30:00 | 07:30:00 | 2 | 17:30 TP | 09:00:00 | 08:00:00 | ||||||||||
4 | John Fox | Week 1 | 2 | 16:00 TP | 10:00:00 | 08:00:00 | 2 | 17:30 TP | 10:00:00 | 08:00:00 | ||||||||||
5 | John Fox | Week 2 | 2 | 16:00 TP | 10:00:00 | 08:00:00 | 2 | 17:30 TP | 10:00:00 | 08:00:00 | ||||||||||
6 | Matt Anderson | Week 1 | 2 | 16:00 TP | 09:00:00 | 07:30:00 | 2 | 17:30 TP | 09:45:00 | 07:15:00 | ||||||||||
7 | Matt Anderson | Week 2 | 2 | 16:00 TP | 09:00:00 | 07:30:00 | 2 | 17:30 TP | 09:45:00 | 07:15:00 | ||||||||||
8 | ||||||||||||||||||||
9 | ||||||||||||||||||||
10 | ||||||||||||||||||||
11 | ||||||||||||||||||||
Main |
Thanks in advance!