Duplicate Values and Index Match

mrhuman

New Member
Joined
Sep 14, 2015
Messages
13
I have a table with Column A and B.
Column A has unique values and B with repetitive or duplicate values.
I used index match (column B) to pull the values to another table but the formula is bringing only the first occurrence repeatedly
[TABLE="width: 300"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]Test1[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]Test2[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]Test3[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]Test4[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]Test5[/TD]
[TD]10[/TD]
[/TR]
</tbody>[/TABLE]

Table2
[TABLE="width: 300"]
<tbody>[TR]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]Test1 (=INDEX($A$1:$B$6,(MATCH($C1,$B$1:$B$5,0)),1))[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]Test1[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]Test1[/TD]
[/TR]
</tbody>[/TABLE]

Hope I explained myself clearly. Thanks
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,224,120
Messages
6,176,495
Members
452,733
Latest member
Gao87

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