How to get row index if Excel has duplicate row

Got it , but my question is what should I write in below highlighted part?
image