Remove all text left of certain text

cfer

Well-known Member
Joined
Jul 29, 2002
Messages
560
Hi,

I have a column where in each cell there is a summary.

I want to be able to delete all the text and number's to the left, including the colon, in the cell with the following text.

Full description of Incident:

The text before can vary in length.

Formula, or VBA, as the column is dynamic.

I have tried

=RIGHT(N1,LEN(N1)-FIND("Incident:",N1))

it deletes everything but still leaves "ull description of Incident"

Thanks in advance
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
If you still want the "Full......" use this:

=TRIM(MID(A1,SEARCH("Full description of Incident:",A1),LEN(A1)))

if not:

=TRIM(MID(A1,SEARCH("Full description of Incident:",A1)+29,LEN(A1)))
 
Upvote 0
is

"Full description of Incident:" the entire entry?

if you delete all to the left of the ":" you wouldn't have anything?
 
Upvote 0
Your description of what you want is not all that clear. Are you trying to remove all the text before the first colon, plus the colon itself? If so, try this...

=TRIM(REPLACE(A1,1,FIND(":",A1),""))
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,279
Members
452,630
Latest member
OdubiYouth

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