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

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
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,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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