Hi All,
My data is all contained in a single column and I want to split it into columns. The structure looks like this -
2021 507982 GINKOZAC 30 CAPSULE P909 Cash RONZAC HEALTH & WELLNESS NUTRICEUTICALS FOOD SUPPLEMENT BLOOD CIRCULATION GINKOBILOBA Cash 0 90914429750198 2021-04-11 00:00:00.000 Yes 2.00000 300.00000 -150.00000 0.00000 150.00000
I know the order of columns contained but they all have varying lengths. For e.g., the first 4 characters are year 2021, the next 6 characters after the space is product ID. However, beyond that, the next column (product description) etc. will be varying length. I am unable to come up with a unique identifier to split this data into my desired set of columns.
Year | Item ID | Item description | Store ID | Customer type | Item type | Category 1 | Category 2 | Category 3 | Category 4 | Category 5 | Customer type breakdown | 0 | Transaction ID | Date | Loyal? | Qty | Gross sales | Promo | Discount | Net sales
Any support on how I can achieve the structure above will be much appreciated.