Copying Parts of Cells

Henry1807

New Member
Joined
Apr 22, 2002
Messages
21
Hi All,

I have an interesting problem. I have a few hundred records with cells that have slashes ("/") in them, and I'm trying to copy what's before and after the slashes into two different cells. For example:

1234/56 --> 1234 and 56
123456/7 --> 123456 and 7
etc. (I hope this is clear).

I've figured out how to check to see if a particular character is in a cell. But how do I tell Excel to copy what's before or after this character in the cell (in this case, the character being the slash).

Thanks.

Henry
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

PaddyD

MrExcel MVP
Joined
May 1, 2002
Messages
14,234
Hi - select the column, go to data | text to columns. select delimited, click next, put the / as the delimiter (for the 'other' option), click next, sdelect a destination (if you want to preserve the original data), click finish

paddy
 

Forum statistics

Threads
1,143,742
Messages
5,720,596
Members
422,292
Latest member
Bernd0501

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
Top