Solved

check if cell contains specific text

Posted on 2016-07-22
4
46 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
  • 2
4 Comments
 
LVL 48

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 28

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 28

Expert Comment

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

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now