Returning name values from a dynamic columns in an array

dcolella15

New Member
Joined
Oct 28, 2015
Messages
11
Here is the Data set I am working with.

What I am looking to do is Create a dynamic column where I can change the date and them return the Names of the people that are available to work.

Date11/111/211/311/411/511/611/711/8
Name
John Doe
Available
Need ScheduleAvailableNeed ScheduleNeed ScheduleNeed ScheduleNeed ScheduleNeed Schedule
Jane DoeNeed ScheduleNeed ScheduleNeed ScheduleAvailableNeed ScheduleNeed ScheduleAvailableNeed Schedule
MarkNeed ScheduleAvailableNeed ScheduleAvailableAvailableAvailableAvailableAvailable
BobNeed ScheduleNeed ScheduleAvailableNeed ScheduleNeed ScheduleAvailableNeed ScheduleAvailable
RachelAvailableNeed ScheduleNeed ScheduleNeed ScheduleAvailableNeed ScheduleAvailableNeed Schedule

<tbody>
</tbody>



Date(Dynamic Date Based on Table Above)

<tbody>
</tbody>
Status(dynamic) (Available or Need Schedule)

<tbody>
</tbody>


(Name)
(Name)
(Name)
(Name)

<tbody>
</tbody>


Hope this makes sense...But I want to select the Date, then the status from a dynamic dropdown (which i know how to do), and then comb the dataset, and return for me the names of the people who are available to work on that date.

Thanks for any advice/help!
Dan
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Row\Col
A​
B​
C​
D​
E​
F​
G​
H​
I​
J​
1​
Date
1-Nov
2-Nov
3-Nov
4-Nov
5-Nov
6-Nov
7-Nov
8-Nov
2​
Name
3​
John DoeAvailableNeed ScheduleAvailableNeed ScheduleNeed ScheduleNeed ScheduleNeed ScheduleNeed Schedule
4​
Jane DoeNeed ScheduleNeed ScheduleNeed ScheduleAvailableNeed ScheduleNeed ScheduleAvailableNeed Schedule
5​
MarkNeed ScheduleAvailableNeed ScheduleAvailableAvailableAvailableAvailableAvailable
6​
BobNeed ScheduleNeed ScheduleAvailableNeed ScheduleNeed ScheduleAvailableNeed ScheduleAvailable
7​
RachelAvailableNeed ScheduleNeed ScheduleNeed ScheduleAvailableNeed ScheduleAvailableNeed Schedule
8​
9​
10​
11​
12​
date
13​
3-Nov​
14​
status
15​
available
16​
2​
17​
#List#
18​
John Doe
19​
Bob
20​

In A16 just enter:
Rich (BB code):

=COUNTIFS(INDEX($C$3:$J$7,0,MATCH(A13,$C$1:$J$1,0)),A15)<strike></strike>

In A18 control+shift+enter, not just enter, and copy down:
Rich (BB code):

=IF(ROWS($A$18:A18)<=$A$16,INDEX($A$3:$A$7,
  SMALL(IF(INDEX($C$3:$J$7,0,MATCH($A$13,$C$1:$J$1,0))=$A$15,
  ROW($A$3:$A$7)-ROW($A$3)+1),ROWS($A$18:A18))),"")<strike></strike>
 
Upvote 0
The reverse pivot table will do this:

https://www.youtube.com/watch?v=xmqTN0X-AgY

it will have the filters already set up so you can pick the dates too

Excel 2010
ABC
1RowColumnValue
19Mark11/2/2015Available

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

Thanks for the suggestion Sheetspread. This was the first thin that I tried, but it looks like in the original sheet the table headers are part of a reference formula, so the users didn't want to use the table method.

Looks like the formulas from the next post solved the issue. Thank you so much for your time!

Dan
 
Upvote 0
Dead on Aladin Akyurek! looks like this worked perfectly. I could think through this, and I knew the functions were there, i just couldn't figure out the language.

I appreciate your time and effort!

Dan
 
Upvote 0

Forum statistics

Threads
1,217,098
Messages
6,134,582
Members
449,878
Latest member
Paris Dave

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