Copy & remove text before & after specific character

mljohn

Board Regular
Joined
Aug 26, 2004
Messages
196
Office Version
  1. 365
Platform
  1. Windows
How do I move to another column, all text from a cell that follows a specific character, such as ":"?

Also, How do I move to another column, all text from a cell that precedes a specific character, such as ">"?
 
Hi all,
I have a very similar question. I need to strip off a cell all the content between the following characters []*, including the brackets


Example cell a1 contain
[00:00:00.000]Here's a loaner...[00:00:00.840]
[00:00:00.914]Just be sure and juggle the handle a little to open the door.[00:00:03.257]

I need a formula that copies just the brackets in the next cell b2

[00:00:00.000]
[00:00:00.840]
[00:00:00.914]
[00:00:03.257]

thanks a mill

<tbody>
</tbody>



Very precious commands.

How to do B2 if there is more than 2 words and multiple ":". For example Fred:Scuttle:Paris and I want to have only the last word? Right now it would give "Scuttle:Paris"

Thanks
 
Upvote 0

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
I have the same issue trying to copy the last of a string after ">" Example:

Pilot Supplies>Apparel & Eyewear>T-Shirts
Pilot Supplies>Bags & Cases>by Brand>ASA

<colgroup><col></colgroup><tbody>
</tbody>
In some cells, I have two ">" others I have three or more ">" I only want the text after the last ">"


=RIGHT(A14,LEN(A14)-FIND(">",A14)) GIves me the text after the first ">"


Thanks!!!
 
Upvote 0
I have the same issue trying to copy the last of a string after ">" Example:

Pilot Supplies>Apparel & Eyewear>T-Shirts
Pilot Supplies>Bags & Cases>by Brand>ASA

<tbody>
</tbody>
In some cells, I have two ">" others I have three or more ">" I only want the text after the last ">"


=RIGHT(A14,LEN(A14)-FIND(">",A14)) GIves me the text after the first ">"


Thanks!!!

I'm trying to have a column of just the last text IE: T-shirts and ASA.
 
Upvote 0
Welcome to the board.

Use Find & Replace: Find *> replace with nothing
 
Upvote 0
I don't think that is correct....

Column A
Pilot Supplies>Apparel & Eyewear>T-Shirts
Pilot Supplies>Bags & Cases>by Brand>ASA



Column B needs to read everything after the last > sometimes there are 3 > sometimes there are 2 >...

T-shirts

ASA


If I use the same code from the original question I would get:
Apparel & Eyewear>T-Shirts
Bags & Cases>by Brand>ASA

Which is everything after the first >... I'm trying to get everything after the last...>

<tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0
Did you try it, or are you speculating?
 
Upvote 0
Did you try it, or are you speculating?

I apologize your correct but I was hoping there was as formula so the data could be changing vs having to click and replace. However this helps me out quite a bit.

Thank you guys!
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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