Separating Data in 1 Column to Multiple Columns

carrieebacon

New Member
Joined
Jan 15, 2024
Messages
49
Office Version
  1. 365
Platform
  1. Windows
I will be importing csv files where all of the data is in 1 column. For example, cell A6 is:
p0;\H1.25x;\L\C4;CI #15}\PTYPE C\PFR: 19.00\PINV. IN: 3.00 (N)\PINV. IN: 9.00 (E)\PINV. OUT: 3.00 (S)

I need it to be separated (preferably with a macro). Thankfully, the data is separated by backslashes, so hopefully that somehow makes the process easier.
So I would need p0; in cell A6, H1.25x; in cell B6, and so on. Any help is appreciated!! Thank you!!
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Can you not use the Text to Columns tool on the Data ribbon under Data Tools? Or is there a large number of sheets to process?
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,841
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top