Deleting all text in string prior to final ocurrence of a symbol?

jmckeone

Well-known Member
Joined
Jun 3, 2006
Messages
550
I'm working with a long string and need to, by formula if possible, remove all text prior to the final occurrence of a colon (:) ... and the colon.

Example string below though not all strings follow same format with the exception of what I need being at the end.

Code:
MANUFACTURING, INC@2343 Hoover DR Arkon OH 99999:61.L1XX.001728..TWCC
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Give this a try:

=REPLACE(A2,1,LOOKUP(2,1/(MID(A2,ROW($1:$250),1)=":"),ROW($1:$250)),"")

New data should be put at the end of the list, do not insert them. Increase 250 to a higher value, if there are strings which are longer than 250 characters.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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