Please Help!! Duplicate values with multi. quantities, Vlookup? Something else?

Mke49048

New Member
Joined
Dec 13, 2013
Messages
4
Need help… Vlookup will only being the first instance back with duplicate valves. In my case I am looking a large amount of part numbers and bring the quantity back. Many of the part numbers repeat with different quantities, with vlookup it only brings the first instance of the part numbers quantity back. <o:p></o:p>
A<o:p></o:p>
10<o:p></o:p>
B<o:p></o:p>
1<o:p></o:p>
A<o:p></o:p>
5<o:p></o:p>
C<o:p></o:p>
3<o:p></o:p>
A<o:p></o:p>
21<o:p></o:p>
E<o:p></o:p>
2<o:p></o:p>

<TBODY>
</TBODY>
<o:p></o:p>
I need it to bring all the values of A back with the different quantities, not just 10.<o:p></o:p>
<o:p></o:p>
Thank you. <o:p></o:p>
<o:p></o:p>
<o:p></o:p>
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
Formula in D1 copied down and across:

Excel 2010
A
B
C
D
E
1
A
10
A
10
2
B
1
A
5
3
A
5
A
21
4
C
3
5
A
21
6
E
2

<TBODY>
</TBODY>
Sheet1

Array Formulas
Cell
Formula
D1
{=IFERROR(INDEX(A$1:A$6,SMALL(IF($A$1:$A$6="A",ROW(A$1:A$6)-ROW(A$1)+1),ROWS(D$1:D1))),"")}

<TBODY>
</TBODY>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

<TBODY>
</TBODY>
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,151,978
Messages
5,767,419
Members
425,411
Latest member
sarmientojayexce03

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
Top