How to match data between 3 columns

Hi @Filipe_Silva

Refer this thread

If possible can you share the Sample input excel file and output

Regards
Gokul