Find match for rows in excel

Hi ,

I have flagged the original post and asked the moderator to delete it since the requirement is not precise and I havent achieved the desired solution on that.The requirements for this is different from the original one.

Regards,
G