Index match to find the results for the 2nd duplicate value

SharmaAntriksh

New Member
Joined
Nov 8, 2017
Messages
31
[TABLE="width: 500"]
<tbody>[TR]
[TD]Antriksh[/TD]
[/TR]
[TR]
[TD]David[/TD]
[/TR]
[TR]
[TD]David[/TD]
[/TR]
[TR]
[TD]Antriksh[/TD]
[/TR]
</tbody>[/TABLE]

how do i use index and match to find the results for the duplicate values? i am getting duplicate result for the second "Antriksh". let me know if this is possible.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Your question is a little light on detail. However, something like this perhaps?


Book1
ABCDE
1Antriksha1Antriksha1
2Davidd1Davidd1
3Davidd2Antriksha2
4Antriksha2Davidd2
Sheet1
Cell Formulas
RangeFormula
B1{=INDEX($E$1:$E$4,SMALL(IF($D$1:$D$4=$A1,ROW($D$1:$D$4)-ROW($D$1)+1),COUNTIF($A$1:$A1,$A1)))}
Press CTRL+SHIFT+ENTER to enter array formulas.


WBD
 
Upvote 0
Thanks a tonne! 1 question for the countif part, i have seen a lot of people using formula incrementer such as ROWS() being used in their but it doesn't work in this case, do you know why?
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top