Perform VLOOKUP and Return ALL Matches to One Cell

redhots4

Board Regular
Joined
Aug 30, 2004
Messages
107
I have a lengthy spreadsheet displaying medications for a group of patients. Each patient takes between 1-5 medications per day at varied intervals (some at 8AM, 12PM and 6PM, some at 8AM, 6PM, bedtime, etc.)

I need a way to create a "cheat sheet" for the staff. It would show, at a glance, which meds are to be given at which time slots for each patient.

To do this, I need to perform a LOOKUP of the patient's name, and then return multiple values from another sheet (one for each medication that they take). Here's the kicker, I want to display the medications in ONE cell next to the patient's name. For example, A2 would contain "Jim Smith" and B2 would contain "Zoloft, Clonadine, Concerta".

I've looked at the posts about INDEX, etc to return multiple results, but I'm having a hard time getting the results to appear in a single cell.
 

Some videos you may like

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Watch MrExcel Video

Forum statistics

Threads
1,122,463
Messages
5,596,284
Members
414,051
Latest member
tabecker

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