if statement - Output text Yes or No if cell has a, and (b or C) and d in Excel -
cell a1 has letters a, b, c, d, e. want output in cell a2 yes or no based on identified in cell a1.
i can do: output yes if a, , b, , c found in a1 by:
=if(and(isnumber(search("*a*",a1)),isnumber(search("*b*",a1)),isnumber(search("*c*",a1))),"yes","no")
but cannot do: output yes if a, , (b or c), , d found in a1...
what formulae modification should make?
consider:
=if(and(isnumber(search("a",a1)),isnumber(search("b",a1)),or(isnumber(search("c",a1)),isnumber(search("d",a1)))),"yes","no")
Comments
Post a Comment