changeCell(worksheet_instance, 155, 2, "New Value") For the comparisons, you can use the string methods find and rfind (which searches from the right). They return the index of the position of the substring within the string. They return -1 if the substring is not found. Ergo, you se...