Help with SharePoint list calculated field or filter

I have a sharepoint list and I need the ability to either add a filter that says "DOES NOT CONTAIN" which I cant find or add a calculated field to the list that could be set if another field DOES NOT CONTAIN a certain phrase
Matt PinkstonEnterprise ArchitectAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

colly92002Commented:
You can use "SEARCH" to find a string in a string (i.e. does contain), and use the ISERR function which returns YES when an error (i.e. "does not contain")
 
e.g.
=ISERR(SEARCH("String I am searching for",[ColumnName],1))

returns "Yes" where the field you are searching in does not contain the string.
0
Matt PinkstonEnterprise ArchitectAuthor Commented:
so the though here is how would I combine the following in such a statement

if TOV or EV GE 5000000
AND
if Opportunity Name does not contain "Option Y"
if Opportunity Name does not contain "Option P"
0
colly92002Commented:
Off the top of my head, it will be something like:

=IF(AND(TOV >= 5000000,
  OR(ISERR(SEARCH("Option Y",[Opportunity Name],1)),
        ISERR(SEARCH("Option P",[Opportunity Name],1)) = "Yes")
             ), "DOES NOT CONTAIN", "DOES CONTAIN"
     )

Have a look here to learn the syntax and refine if required:
http://sharepoint.rackspace.com/calculated-columns-tutorial
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.