Excel if and or statement

Viewed 53

EXCEL: Need help creating a formula that will return a true/false statement. I was thinking of using the IF/IFERROR(SEARCH) statement

Checking row to see if these conditions are true or false.

Conditions: Contains word: "yellow"

OR contains 8 number string AND 8 number string does not begin with the letter "B"

1 Answers

Try below formula-

=OR(ISNUMBER(SEARCH("Yellow",A1)),AND(LEN(A1)=8,LEFT(A1,1)<>"B"))

enter image description here

Related