vlookup with multiple results

AceFI

Board Regular
Joined
Apr 20, 2012
Messages
91
Hi all,
i'm sure this has been done to death... but can't seem to find an answer...

i have a 'prospect database' that has about 2500 results in it, for a variety of employees.. some prostects are 'dead' some not.
Daily, i'm wanting to on a separate sheet, list all of the 'current' prospects, and also on the same sheet return '12 month follow up' prospects

I can do this no problem - as long as there is only 1 result...

any ideas / suggestions on this?
The lead database is numerically sequential

thanks :)
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Thank you. Before proceeding, is there any other 'filtering' we need to take into account? I know this is all obvious to you.
 
Upvote 0
its hard when you don't use it every day :) pretty much the main filter is REP and DEAD
thanks :)
 
Upvote 0
OK. So, have a look at this. The reason some of the columns are not pulling through is that the headings don't match sheet 1 - you need to make them match for this to work properly. The formula in A4 is an array formula and needs entering with CTRL+SHIFT+ENTER, and then drag copying down. The formula in B4 is a standard formula entered with ENTER and drag copied down and across.

Excel 2016 (Windows) 32 bit
ABCDEFGHIJKLMNOP
1REP:A
2
3Lead #Date InFirstLastEmailPhoneP/CLead TypeSourceInterested InPurchased?Marketing Opt OutDeadContact 1Contact 2
4217/03/2017alexAAalexAA@gmail.com0400 222 333Referal ProspectnoNo00/01/1900Manager LMTC 1/5/1713/4/17 Emailed Finance email, with $100 fuel voucher
5322/03/2017michaekKerlinmichaekKerlin@gmail.com0400 333 444Sales Leadnoy0.00Manager LMTC 1/5/1713/4/17 Emailed Finance email, with $100 fuel voucher
61903/04/2017GordonBrownGordonBrown@gmail.com0400 333 444Sales LeadnoNo0.00NO RETURN CONTACT13/4/17 Emailed Finance email, with $100 fuel voucher
72003/04/2017KerryGardnerKerryGardner@gmail.com0400 444 555Referal ProspectyesNo0.00Manager LMTC 1/5/1700/01/1900

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet2

Worksheet Formulas
CellFormula
B4=IFNA(INDEX(Sheet1!$B$2:$P$28,MATCH(Sheet2!$A4,Sheet1!$A$2:$A$28,0),MATCH(Sheet2!B$3,Sheet1!$B$1:$P$1,0)),"")

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

Array Formulas
CellFormula
A4{=IFERROR(INDEX(Sheet1!A:A,SMALL(IF(Sheet1!$J$2:$J$28=Sheet2!$B$1,IF(Sheet1!$N$2:$N$28="",ROW($A$2:$A$28))),ROWS($A$1:A1))),"")}

<thead>
</thead><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>
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,084
Messages
6,123,021
Members
449,092
Latest member
ikke

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