不區分大小寫:=IF(C2=B2,"相同","不同")

區分大小寫:=IF(EXACT(A2,B2)=TRUE,"相同","不同")