Solved

check if cell contains specific text

Posted on 2016-07-22
4
50 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 49

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 29

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 29

Expert Comment

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

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

777 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