cut, delete, and paste: use formula or macro?

kioken

New Member
Joined
Jun 16, 2016
Messages
1
I need to cut some stuff from one column and paste them into the next one, and delete a character a long the way, though I'm not sure how to do it.

For example, there's this text in one column:

[TABLE="width: 393"]
<colgroup><col></colgroup><tbody>[TR]
[TD]X73-215_front__studio.jpg|X73-215_left__studio.jpg|X73-215_back__studio.jpg|X73-215_right__studio.jpg|X73-215_angle__studio.jpg
[/TD]
[/TR]
</tbody>[/TABLE]

I need to cut everything after the first pipe and paste it into the next column, then delete the pipe that's leftover. In the end, the first column should look like this:

X73-215_front__studio.jpg

And the second column should look like this:

X73-215_left__studio.jpg|X73-215_back__studio.jpg|X73-215_right__studio.jpg|X73-215_angle__studio.jpg

Is this something you do with a formula or with a macro?
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Forum statistics

Threads
1,224,524
Messages
6,179,304
Members
452,904
Latest member
CodeMasterX

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