Compare string with excel column values

Currentrow(X).tostring.equal(currentrow(y).tostring)
Try this