Jon von der Heyden
MrExcel MVP, Moderator
- Joined
- Apr 6, 2004
- Messages
- 10,912
- Office Version
- 365
- Platform
- Windows
Hi,
This is a piece of a table that I'm working with:
I'm trying to split the range into all their various elements into different columns. Num - Num depicts a range of prefixes between the numbers, those split out by "," are individual prefixes.
Any idea how I can create a series of columns displaying all prefixes? I have thousands...
Many thanks,
Jon
This is a piece of a table that I'm working with:
International Repricing Model.xls | ||||||
---|---|---|---|---|---|---|
B | C | D | E | |||
2 | Country | Operative Date | Code | Range | ||
3 | Afghanistan | 18.03.2005 | 93 | 70 - 72, 79 | ||
4 | Albania | 18.10.2002 | 355 | 68, 69 | ||
5 | Algeria | 23.07.2004 | 213 | 61, 62 | ||
6 | Algeria | 01.05.2002 | 213 | 7 | ||
7 | Andorra | 01.05.2002 | 376 | 3 | ||
8 | Andorra | 21.05.2004 | 376 | 4 | ||
9 | Andorra | 21.05.2004 | 376 | 6 | ||
10 | Angola | 17.10.2003 | 244 | 91 | ||
11 | Angola | 17.10.2003 | 244 | 92 | ||
12 | Antigua & Barbuda | 01.01.2004 | 1268 | 464 | ||
13 | Antigua & Barbuda | 01.01.2004 | 1268 | 723-729 | ||
14 | Antigua & Barbuda | 01.01.2004 | 1268 | 764 | ||
15 | Antigua & Barbuda | 01.01.2004 | 1268 | 770-775 | ||
16 | Antilles (Netherlands) | 17.06.2005 | 599 | 3181, 3184 | ||
17 | Antilles (Netherlands) | 15.04.2005 | 599 | 4161, 4165, 4166 | ||
18 | Antilles (Netherlands) | 15.04.2005 | 599 | 520 - 524, 526 | ||
19 | Antilles (Netherlands) | 15.04.2005 | 599 | 55 | ||
20 | Antilles (Netherlands) | 29.10.2004 | 599 | 580, 581 | ||
21 | Antilles (Netherlands) | 15.04.2005 | 599 | 78, 79 | ||
22 | Antilles (Netherlands) | 15.04.2005 | 599 | 951, 952, 954, 956 | ||
Sheet2 |
I'm trying to split the range into all their various elements into different columns. Num - Num depicts a range of prefixes between the numbers, those split out by "," are individual prefixes.
Any idea how I can create a series of columns displaying all prefixes? I have thousands...
Many thanks,
Jon