Jackyk1994
New Member
- Joined
- Jul 16, 2024
- Messages
- 5
- Office Version
- 365
- Platform
- Windows
Hi everyone, I have a batch of data at column A starting at A3 and I call them “cell.value”
In short, I need to use semicolons to separate my data and replace in the same cell, but I may need to separate multiple times in the same cell.
Raw data example:
PRODUCT0105ABCDE0201L0302AD
PRODUCT0103IPC0201D0303AUS
PRODUCT0106QWERTY0201D0405ASDFG
I want the result to be replaced by:
PRODUCT;0105ABCDE;0201L;0302AD
PRODUCT;0103IPC;0201D;0303AUS
PRODUCT;0106QWERTY;0201D;0405ASDFG
Criteria:
1.“PRODUCT” is always here
2.Each phase is starting with 01-30 which is column name such as product id, no analysis at this stage but fixed 2 length and not all column is mandatory
3.After the 01-30 column name, we have a variable length here, for “0105ABCDE”, 01 is column name no analysis, 05 is the length of the column value which is “ABCDE” and fixed 2 length
4.Pattern is always the same 2 + 2 length fixed + variable length
5.Need to replace at same cell, can’t open new column
Thanks for your help.
In short, I need to use semicolons to separate my data and replace in the same cell, but I may need to separate multiple times in the same cell.
Raw data example:
PRODUCT0105ABCDE0201L0302AD
PRODUCT0103IPC0201D0303AUS
PRODUCT0106QWERTY0201D0405ASDFG
I want the result to be replaced by:
PRODUCT;0105ABCDE;0201L;0302AD
PRODUCT;0103IPC;0201D;0303AUS
PRODUCT;0106QWERTY;0201D;0405ASDFG
Criteria:
1.“PRODUCT” is always here
2.Each phase is starting with 01-30 which is column name such as product id, no analysis at this stage but fixed 2 length and not all column is mandatory
3.After the 01-30 column name, we have a variable length here, for “0105ABCDE”, 01 is column name no analysis, 05 is the length of the column value which is “ABCDE” and fixed 2 length
4.Pattern is always the same 2 + 2 length fixed + variable length
5.Need to replace at same cell, can’t open new column
Thanks for your help.