How to get row index if Excel has duplicate row

Hi,

Please add proper condition to write your expected value using IF activity and variable c. As there is no information about it, I omitted IF.

Regards,