Can someone help on this simple if statement. I am trying to combine 2 conditions such that:

IF B7=E7 or if A7=D7, return "Match" if true, "0" if not. Is this the correct statement to use:


=IF(B7=E7,"Match","0"),IF(A7=D7,"Match","0")

Appreciate any help,
Thanks!