Multiple Vlookups #num! Error

nehpets12

Active Member
Joined
Feb 22, 2002
Messages
453
What is wrong with this formula? I get a #num! Error
Vliookup differant rows.xls
ABCDEFG
17Steve1Steve1
18Steve3Darren2
19Steve5Steve3
20Steve#NUM!Darren4
21Steve#NUM!Steve5
22Steve#NUM!Darren6
23Steve#NUM!Steve7
24Steve#NUM!Darren8
25Steve#NUM!Steve9
26Steve#NUM!Darren10
27Steve11
28Darren12
29Steve13
30Darren14
31Steve15
32Darren16
33Steve17
34Darren18
35Steve19
36Darren20
37Steve21
38Darren22
39Steve23
40Darren24
41Steve25
42Darren26
Sheet1
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
I think D17:D22 should be D17:D42 instead.
 
Upvote 0
Try This

INDEX($D$17:$G$42,SMALL(IF($D$17:$D$42=$A17,ROW($D$17:$D$42)-ROW($D$17)+1),COUNTIF($A$17:$A17,A17)),4)


Hardeep kanwar
 
Upvote 0

Forum statistics

Threads
1,214,915
Messages
6,122,217
Members
449,074
Latest member
cancansova

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