How to write match if both has the same values in excel?

How do I write it like =if(B1=A1,“True”,“False”) like in the example below

A B Match?
123 12 False
123 77 False
123 123 True


i hope you are getting the values in 2 different variables, you can try condition like below

if (var1.tolower.trim = var2.tolower.trim)


hey @shaikmdrafi
lets suppose you want to write True/False in c1 cell then
in write cell activity you can use formula :-