Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
Solved

# check if cell contains specific text

Posted on 2016-07-22
Medium Priority
71 Views
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
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
• 2

LVL 53

Accepted Solution

Rgonzo1971 earned 1000 total points
ID: 41724463
Hi,

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

LVL 33

Assisted Solution

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

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

Author Comment

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

LVL 33

Expert Comment

ID: 41724483
You're welcome. Glad we could help. :)
0

## Featured Post

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calculâ€¦
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
###### Suggested Courses
Course of the Month9 days, 4 hours left to enroll