W wynn May 17, 2004 #1 I want to check if a cell contains a value, i.e. return "yes" if A2 contains "Bob" A2 = "Bob goes to the store"
I want to check if a cell contains a value, i.e. return "yes" if A2 contains "Bob" A2 = "Bob goes to the store"
H Harlan Grove May 17, 2004 #2 I want to check if a cell contains a value, i.e. return "yes" if A2 contains "Bob" A2 = "Bob goes to the store" Click to expand... One way, =IF(COUNTIF(A2,"*Bob*"),"yes","no")
I want to check if a cell contains a value, i.e. return "yes" if A2 contains "Bob" A2 = "Bob goes to the store" Click to expand... One way, =IF(COUNTIF(A2,"*Bob*"),"yes","no")
D Domenic May 17, 2004 #4 wynn said: I want to check if a cell contains a value, i.e. return "yes" if A2 contains "Bob" A2 = "Bob goes to the store" Click to expand... Try, case sensitive =IF(ISNUMBER(FIND("Bob",A2)),"Yes","") not case sensitive =IF(ISNUMBER(SEARCH("Bob",A2)),"Yes","") Hope this helps!
wynn said: I want to check if a cell contains a value, i.e. return "yes" if A2 contains "Bob" A2 = "Bob goes to the store" Click to expand... Try, case sensitive =IF(ISNUMBER(FIND("Bob",A2)),"Yes","") not case sensitive =IF(ISNUMBER(SEARCH("Bob",A2)),"Yes","") Hope this helps!
C CLR May 18, 2004 #5 Now Harlan, ..............THAT is cool...........it's going in my personal goodie box.........thanks Vaya con Dios, Chuck, CABGx3
Now Harlan, ..............THAT is cool...........it's going in my personal goodie box.........thanks Vaya con Dios, Chuck, CABGx3