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

hi

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

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

thanks…

hey @shaikmdrafi
lets suppose you want to write True/False in c1 cell then
in write cell activity you can use formula :-
“=exact(a1,b1)”