Specific Text Removal

daza34

Board Regular
Joined
Feb 14, 2017
Messages
63
Hi,

I have text in column A that I need to extract part of it to put in column B, Everything from were it says GBR to the right, (example GBR-R-02240_13121)

Please help

aB
CM DAN36 HW_GBR-R-02240_13121
CM DANS120-24 MLI_GBR-R-00064_6
CM DAN36 HW_GBR-R-02240_13123
CM DANS120-24 HW_GBR-R-00064_5
CM DAN36 HW_GBR-R-02240_13125
CM WAN674g MLI_GBR-R-00164_11_13126
CM DAN36 HW_GBR-R-02240_13127
CM DANS210-48 HW_GBR-R-00064_3
CM DAN36 HW_GBR-R-00189_43
CM DANS210-48 MLI_GBR-R-00064_2
CM DANS210-48 HW_GBR-R-00064_1
CM DAN36 MLI_GBR-R-06461_54025
CM DAN36 HW_GBR-R-06461_54024
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
If it also said ROI and GBR, so hypothetically looking for both.

CM DANS210-48 MLI_ROI-R-00064_2
CM DANS210-48 HW_GBR-R-00064_1
CM DAN36 MLI_ROI-R-06461_54025
CM DAN36 HW_GBR-R-06461_54024
 
Upvote 0
Did you update your 365 and, if so, does the TEXTAFTER function work for you now?
 
Upvote 0
It looks like you have been back on this thread for about 10 minutes, and, for whatever reason, you have not answered my question yet. So I'll assume you are fully updated now and working. With that said, give this single formula (it will spill the desired results) a try (change the two ranges to match the actual location of your data)...
Excel Formula:
=SUBSTITUTE(A1:A4,TEXTBEFORE(A1:A4,{"GBR","ROI"}),"")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,831
Messages
6,127,142
Members
449,363
Latest member
Yap999

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