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

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

iliace

Well-known Member
Joined
Jan 15, 2008
Messages
3,546
Office Version
  1. 365
  2. 2016
  3. 2010
Platform
  1. Windows
I think D17:D22 should be D17:D42 instead.
 
Upvote 0

hardeep.kanwar

Well-known Member
Joined
Aug 13, 2008
Messages
688
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,191,373
Messages
5,986,271
Members
440,015
Latest member
knijgh

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