View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tb tb is offline
external usenet poster
 
Posts: 84
Default How Do I Find Different Values In A String?

I have some part numbers in a string format in column A.
I want to know which ones include the sub-strings "VI", "EP", "PAR",
"BU".

Luckily, only one of these four values can be in each part number.
There are no instances where a part number has two, three, or all four
of the above sub-strings.

So I wrote the following formula:

=find(or("VI","EP","PAR"),a2)

....but it does not work! What do I need to do to make it work?

--
tb