• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Conditional Text

Status
Not open for further replies.

arifanmol

Member
using search or if or whatever alternative formula, I want that if B column contains Patel the result yes should be displayed in D column
but if the same cell contain Patel and Native, then the resultant text in D Column should be No
plz check the file and give some solution
 

Attachments

  • mysheet.xlsx
    9.7 KB · Views: 6
try
=IF(AND(ISNUMBER(SEARCH("patel",B5,1)),ISNUMBER(SEARCH("Native",B5,1))),"No",IF(ISNUMBER(SEARCH("patel",B5,1)),"Yes",""))
 

Attachments

  • mysheet-ETAF.xlsx
    11.1 KB · Views: 1
I checked but it shows yes in all active columns
Then, use

=IF(B5<>"", IF(AND(ISNUMBER(SEARCH({"patel","native"},B5))),"No","Yes"),"")

or,

=IF(B5<>"", IF(ISERR(SEARCH("patel",B5)*SEARCH("native",B5)),"Yes","No"),"")

82585
 

Attachments

  • NoOrYes.xlsx
    12.4 KB · Views: 3
thanks a lot but if the text does not contain PATEL OR NATIVE then also it should display NO only
plz do the needful
 
thanks a lot but if the text does not contain PATEL OR NATIVE then also it should display NO only
plz do the needful
Please be noted that all answers based on the Post #1 attached file.

Any addition question different from that will become a new question.

Ae per the forum rule: "one post one question".

You should need post a new thread for your new question.

This post is closed.
 
Status
Not open for further replies.
Back
Top