Index/Match returning only the first value

Tronno

New Member
Joined
Nov 10, 2017
Messages
2
[TABLE="width: 507"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Hi,

I am having a issue with Index/Match. I am trying to quality check some input. B/C is the correct data in my main sheet, but I need to verify that the input from another sheet is correct E/F.

In column D i use the formula: INDEX(F:F;MATCH(E2;B:B;0), But when the part number have multiple serial numbers, it only returns the first serial number. I appreciate if someone can help with this.

[TABLE="width: 507"]
<tbody>[TR]
[TD]A
NR
[/TD]
[TD]B
Part Number
[/TD]
[TD]C
Serial number
[/TD]
[TD]D
Result
[/TD]
[TD]E
Part Number
[/TD]
[TD]F
Serial number
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD="align: center"]2196729
[/TD]
[TD]010-001[/TD]
[TD]010-001[/TD]
[TD="align: center"]2196729
[/TD]
[TD]010-001[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD="align: center"]2196728
[/TD]
[TD]U-17-02[/TD]
[TD]U-17-02[/TD]
[TD="align: center"]2196728[/TD]
[TD]U-17-02[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD="align: center"]2196727
[/TD]
[TD]U-12-01
[/TD]
[TD]U-12-01
[/TD]
[TD="align: center"]2196727[/TD]
[TD]U-12-01
[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD="align: center"]2196727[/TD]
[TD]U-16-01
[/TD]
[TD]U-12-01[/TD]
[TD="align: center"]2196727[/TD]
[TD]U-16-01[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD="align: center"]2196726[/TD]
[TD]099-01[/TD]
[TD]099-01[/TD]
[TD="align: center"]2196726[/TD]
[TD]099-01[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD="align: center"]2196725[/TD]
[TD]977-01[/TD]
[TD]977-01
[/TD]
[TD="align: center"]2196725[/TD]
[TD]977-01[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD="align: center"]2196725[/TD]
[TD]088-01[/TD]
[TD]977-01[/TD]
[TD="align: center"]2196725[/TD]
[TD]088-01[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD="align: center"]2196724[/TD]
[TD]536-01[/TD]
[TD]536-01[/TD]
[TD="align: center"]2196724[/TD]
[TD]536-01[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD="align: center"]2196723[/TD]
[TD]1[/TD]
[TD="align: right"]1
[/TD]
[TD="align: center"]2196723[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]10
[/TD]
[TD="align: center"]2196723[/TD]
[TD]2[/TD]
[TD="align: right"]1[/TD]
[TD="align: center"]2196723[/TD]
[TD]2
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
As long as columns E & F are sorted in the same order as B & C then this array formula should do what you want.

This is an array formula and must be entered with CTRL-SHIFT-ENTER.
Drag formula down as needed.
Excel Workbook
ABCDEF
1NRPart NumberSerial numberResultPart NumberSerial number
212196729010-001010-0012196729010-001
322196728U-17-02U-17-022196728U-17-02
432196727U-12-01U-12-012196727U-12-01
542196727U-16-01U-16-012196727U-16-01
652196726099-01099-012196726099-01
762196725977-01977-012196725977-01
872196725088-01088-012196725088-01
982196724536-01536-012196724536-01
10921967231121967231
111021967232221967232
Sheet
 
Upvote 0
You're welcome. Thanks for the feedback and welcome to the forum.
 
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