Match Question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Greetings!

I hope some expert or not so expert can help me with this question.

I have a work book the three columns involved are D,E,R

D2= ACETAMINOPHEN 500MG/15ML SOLN 240ML
E2 = ACETAMINOPHEN
R2= ACETAMINOPHEN 160 MG/5 ML

I need to ensure R2 matches the name of the drug in either D2 or E2.

Any help would be gratefully appreciated.



Cheers,
Jules
 
If drug name in R2 is always from first character to first blank i.e.
leftmot part of string with NO embedded blanks:

Try ....

=IF(ISNA(MATCH("*"&LEFT(R2,FIND(" ",R2,1)-1)&"*",D2:E2,0)),"No
Match","Matched")

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top