Return Multiple Values with Date as Column Header

AdamGR

New Member
Joined
Mar 10, 2009
Messages
1
I have read hundreds of forum posts about this both at MrExcel and other places, so I'm sorry if this is already available but I really can't find it. I see that people here have a way to insert an actual Excel looking section in their posts but I don't know how to do that either so I'm going to have to fake this.

I have a table that holds a schedule. The first column lists a person's name. The next 42 colums are labeled by date. For example, the schedule might start on 3/22/2009 and run through 5/2/2009. For each person listed on the schedule, there will be an X if they work first shift, a Y if they work second shift, and a Z if they work second shift. If the person is off that day, the cell will be blank.

I want to be able to go to another worksheet preferably in another workbook), type a date in a certain field, and have it return the names and shift types of everyone who is working on that date, ideally sorted by shift (but this is not crucial).

I have tried every combination of lookup and get I can think of. I've tried using Microsoft Query, but it forces me to specify which column I'm querying, and that does me no good because I want it to be dynamic based on which date someone types in a specific field. Obviosuly if this were Access I would have had this work done six hours ago but the team I'm working with cannot use Access.

Any suggestions?
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,203,081
Messages
6,053,415
Members
444,662
Latest member
AaronPMH

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