Retrieve values in multiple rows and columns

JaSc68

New Member
Joined
Aug 6, 2012
Messages
1
Hi all,

i've got a worksheet "patiënts" where in each row fore some columns (hours) a therapist is defined.
Now i want to generate a new tab where i can see for each therapist the time and the patiënts he/she needs to treat.
From ther i can generate a planning overview
If there is a moment where the therapist needs to treat 2 or 3 patiënts in group, those patiënts (multiple values) should be put in one cell.
I need to work with +/- 300 patiënts and +/- 30 therapists.
Is there anyone who knows how can i achieve this result?
I've put a simple example below.

Tab Patiënts;
First row is header
Patient
8:00
8:30
9:00
9:30
10:00
Pat1
Therap1Therap2Therap2
Pat2
Therap3Therap1Therap1
Pat3
Therap4Therap2
Pat4
Therap3Therap1Therap2Therap3

<tbody>
</tbody>

Result should look like this;
Tab Result
First row is header
Therapeut
TimePatiënt
Therap18:00Pat1
Therap18:30Pat4
Therap19:00Pat2
Therap110:00Pat2
Therap28:30Pat1
Therap29:00Pat3
Therap29:30Pat1, Pat4
Therap38:00Pat2, Pat4
Therap310:00Pat4
Therap48:30Pat3

<tbody>
</tbody>

Thanks in advance!
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,215,717
Messages
6,126,424
Members
449,314
Latest member
MrSabo83

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