So i want a formula that goes like
"If B2 contains "X" in the first 3 characters, 1, 2"
I can't get this for the life of me and any help would be appreciated
=IFERROR(FIND("x",LEFT(A1,3),1),2)
I assume the 1 is the value for true and 2 is the value for false.
Code:=IF(ISNUMBER(SEARCH("x",LEFT(B1,3))),1,2)