Vlookup Question

gmazza76

Well-known Member
Joined
Mar 19, 2011
Messages
767
Office Version
  1. 365
Platform
  1. Windows
Good Morning,

Is there a way of using a vlookup up to return more than 1 piece of information?

I have a list of Ref Numbers (Column A) and dates (Column B) but the reference number can appear more than once.
I realise if I do a vlookup it will stop the first time it sees the number in that column and select the reference you need next to it.

Is there any formula (which is best) I can use to pick up then by pass the 2nd or 3rd time it is in the column but still bring the other columns infomration in.

I am looking for the number and want to find the 2nd and 3rd dates I have sent info to the customer.

thanks in advance
Gavin
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
E1 houses a reference number of interest.

In E2 control+shift+enter, not just enter, and copy down:

=IFERROR(INDEX($B$2:$B$1000,SMALL(IF($A$2:$A$1000=E$1,ROW($B$2:$B41000)-ROW($B$2)+1),ROWS(E$2:E2))),"")
 
Upvote 0

Forum statistics

Threads
1,216,235
Messages
6,129,650
Members
449,524
Latest member
RAmraj R

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