Index/Match returning only the first value

Tronno

New Member
Joined
Nov 10, 2017
Messages
2
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.

A
NR
B
Part Number
C
Serial number
D
Result
E
Part Number
F
Serial number
1
2196729
010-001010-0012196729
010-001
22196728
U-17-02U-17-022196728U-17-02
32196727
U-12-01
U-12-01
2196727U-12-01
42196727U-16-01
U-12-012196727U-16-01
52196726099-01099-012196726099-01
62196725977-01977-01
2196725977-01
72196725088-01977-012196725088-01
82196724536-01536-012196724536-01
9219672311
21967231
10
21967232121967232

<tbody>
</tbody>

<colgroup><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
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,215,360
Messages
6,124,493
Members
449,166
Latest member
hokjock

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