Vlookup Multiple Results

coreyjames

Board Regular
Joined
Apr 19, 2011
Messages
71
I have looked all over for a way to return a vlookup with multiple results. I have found some answers but I am looking for a different format. Please see my example below.

A1: B1:
Corey 27
Jeff 25
Taj 45
Keith 24
Corey 32

Most solutions I have found will post the data as follows:

Corey 27
32

The way I have my spreadsheet setup this will not work. I want to be able to get the results like this:

Corey 27 (1st occurance)
Tal 45
Keith 24
Corey 32 (formulas knows it already posted 27 so now it posts 32)

Thanks!
 
I got it to work but its working like a vlookup. lol. If I have case number 970716 and it returns a Hernia Repair for the procedure the next time is sees case number 970716 it returns the Hernia Repair again when it should return bowel resection.
 
Upvote 0

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Thanks very much sir. I had the formula typed in wrong and I now have it fully working but how do I get rid of the #NUM! ? Can I do an ifiserror so that they are blank if there is no returned criteria?
 
Upvote 0
Thanks very much sir. I had the formula typed in wrong and I now have it fully working but how do I get rid of the #NUM! ? Can I do an ifiserror so that they are blank if there is no returned criteria?
What version of Excel are you using?
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,813
Members
452,945
Latest member
Bib195

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