Solved

check if cell contains specific text

Posted on 2016-07-22
4
61 Views
Last Modified: 2016-07-22
Hi,
I would like a formula that would determine if a cell contains specific text,
example
cell A2 contains     Babyface (NR)
If the cell contains (NR) as part of the text I want to return blank cell in B2
Help much appreciated as always
Many thanks
Ian
0
Comment
Question by:racepro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 51

Accepted Solution

by:
Rgonzo1971 earned 250 total points
ID: 41724463
Hi,

pls try
=IF(ISERROR(FIND("(NR)",A2)),A2,"")

Open in new window

Regards
0
 
LVL 31

Assisted Solution

by:Subodh Tiwari (Neeraj)
Subodh Tiwari (Neeraj) earned 250 total points
ID: 41724466
Or use simply this....

=IF(COUNTIF(A2,"*(NR)*"),"",A2)

Open in new window

0
 

Author Comment

by:racepro
ID: 41724476
Thanks guys,  both work. Almost a dead heat again :)
0
 
LVL 31

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41724483
You're welcome. Glad we could help. :)
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question