Best Practices to compare two strings / dates

I have successfully get the data needed from a pdf form and exported to an excel
I want to use the excel cell to compare with excel cell in another excel file.
If they match, I want to show come messages saying that they match and proceed to next step. If Not match, I want the process to show message “not match” and stop the process.
How can I do that? Is it flowchart?

Try with lookup datatable activitiy @Andy_Chow

Hi @Andy_Chow,

I think a simple If statement is ok, without using a flowchart.

Then if the excel cell is just one, you can use a simple Cell=Value Statement as a condition

Else a Lookup Datatable is better

@Andy_Chow

Check below post for your reference
https://forum.uipath.com/t/tutorial-how-to-check-a-string-is-present-in-excel-sheet-part-1/243696/2

Hope this helps you

Thanks