TextAfter Solution

Kmitchell

Active Member
Joined
Feb 27, 2007
Messages
363
Office Version
  1. 365
Platform
  1. Windows
Hello I am having difficulty extracting a number and including text that follows. The TTEXTAFTER(C53," ",-1) is not always working. Any recommended systematic approaches are greatly appreciated.

Column C is a drug product name. I want to display the formulation separately.

Here are a few examples:

NICOTROL INH = Formulation would be blank
ENTRING MIS 7.5/24HR = Formulation would be 7.5/24HR
LIDOCAINE SOL 4% = Formulation would be 4%
RETACRIT INJ 20000UNI = Formulation would be 20000UNI
ATROPINE SUL SOL 1% OP = Formulation would be 1% OP
TRI-LO- TAB SPRINTEC = Formulation would be blank

 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Perhaps:
=LET(a,MIN(IFERROR(FIND(SEQUENCE(10,,0),A1),"")),IF(a,MID(A1,a,255),""))
 
Upvote 0
Solution

Forum statistics

Threads
1,221,522
Messages
6,160,308
Members
451,637
Latest member
hvp2262

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