an explanation of the formula you have:
=IF(ISNUMBER(SEARCH(235; B67)); 562; (IF(ISNUMBER(SEARCH(X6X;B67)); 615; 610)))
if 235 is found anywhere in B67, put it as 562.
the second search isn't valid because you need to put double quotes when searching for texts like "x6x". so if i put the double quotes, it will return 615 if "x6x" is found in B67
only when the 2 tests fails, it will return 610. so changing it to this will work (if i assume correctly):
=IF(ISNUMBER(SEARCH(235, B39)), 562, (IF(ISNUMBER(SEARCH("X6X",B39)),615, 610)))
Bookmarks