Multiple VLookup with dupes

mrh15

New Member
Joined
Oct 20, 2003
Messages
30
In column A I have have a list of dates, some of which occur more than once
In column B I have a unique job number for each data
In column C I want to return all job numbers for a particular date, eg based on cell d1?

Can I do this without using vb or the advanced filter?


Cheers
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Hi,

=IF(ROW()-ROW($D$1)>COUNTIF($A$2:$A$10,$D$1),"",INDEX($B$1:$B$10,SMALL(IF($A$2:$A$10=$D$1,ROW($A$2:$A$10)),ROW()-ROW($D$1))))

is entered with Ctrl + shift + enter in D2, then dragged down.
Book1.xls
ABCD
1DateNo2002-10-12
22002-10-10100102
32002-10-11101103
42002-10-12102104
52002-10-12103106
62002-10-12104107
72002-10-10105108
82002-10-12106 
92002-10-12107 
102002-10-12108 
Sheet2
 
Upvote 0
When copying the above all I get in column d is "#name?" when I am sure I am copied it correctly?
 
Upvote 0
If you are talking about the formula in krishnakumar's post, it is propably because you have not installed the UDF he is referring to.

If you are talking about my formula, I think you could only get #Name! error if you are running a different language version.
 
Upvote 0
I have not tried the UDF and I never promote the use of such when a native formula solution is at hand. So; did you try the formula I suggested?
 
Upvote 0

Forum statistics

Threads
1,215,374
Messages
6,124,573
Members
449,173
Latest member
Kon123

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