How to get row index if Excel has duplicate row

Hi,

Can you elaborate your question with specific sample?

Regards,