Split Column
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I have a column with the below data
Column |
1111(AO-D 20221021, AD 20221021, PD 20221021) |
I want to split the data in to multiple column as shown below
No | AO-D | AD | PD |
1111 | 20221021 | 20221021 | 20221021 |
How can I do this?
- Labels:
- Help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Jaspal80 are you able to provide a little more info here - is this a consistent pattern/format and you'll always be splitting the data into 4 columns with these names? If so you can use RegEx in Tokenize mode which will extract x occurrences of a pattern (in this case more than 1 number, 4 times, which looks to be what you want to pull out). We then just use a select to remove the original column and set the names:
If there's variation and perhaps different names etc then we'll need more information and a wider range of examples. Hope this helps to get you started.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you so much. This works
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you for your help with this.
