crossdog90
New Member
- Joined
- Jul 1, 2020
- Messages
- 4
- Office Version
- 365
- Platform
- Windows
I have a spreadsheet with hundreds of lists that each have a header and vary in length. The headers all follow a similar format (ABCD 123AB) and I want all columns for which the headers share the first 8 characters (including the space) to be combined into a single column with the header being the first 8 characters of the original headers only. Below is a very simplified version of what I am starting with...
And here is what I would like to end up with:
I have seen similar problems but all slightly different and I can't figure out how to apply the solutions to my problem. If I need to start off by replacing all column headers using LEFT(A1,8) so lists with the same headers can be combined I can do that...
Any help would be very greatly appreciated!
AAAA 100A | AAAA 100B | AAAA 100C | AAAA 101A | AAAA 201A | AAAA 201B | BBBB 100AA | BBBB 100AB | BBBB 101 |
1 | 6 | 13 | 22 | 5 | 17 | 1 | 16 | 2 |
2 | 7 | 14 | 23 | 7 | 20 | 2 | 17 | 3 |
3 | 8 | 15 | 24 | 8 | 21 | 4 | 20 | 4 |
4 | 9 | 16 | 25 | 15 | 24 | 9 | 22 | 5 |
5 | 10 | 17 | 25 | 10 | 8 | |||
11 | 18 | 11 | 10 | |||||
12 | 13 |
And here is what I would like to end up with:
AAAA 100 | AAAA 101A | AAAA 201 | BBBB 100AA | BBBB 101 |
1 | 22 | 5 | 1 | 2 |
2 | 23 | 7 | 2 | 3 |
3 | 24 | 8 | 4 | 4 |
4 | 25 | 15 | 9 | 5 |
5 | 17 | 10 | 8 | |
6 | 20 | 11 | 10 | |
7 | 21 | 16 | 13 | |
8 | 24 | 17 | ||
9 | 25 | 20 | ||
10 | 22 | |||
11 | ||||
12 | ||||
13 | ||||
14 | ||||
15 | ||||
16 | ||||
17 | ||||
18 |
I have seen similar problems but all slightly different and I can't figure out how to apply the solutions to my problem. If I need to start off by replacing all column headers using LEFT(A1,8) so lists with the same headers can be combined I can do that...
Any help would be very greatly appreciated!