Creating a dropdown list that returns a defined numerous columns of data

kapadons

Board Regular
Joined
Jun 16, 2012
Messages
70
abcd
1mondaytuesdaywednesdaythurs
2tedbillfrankmary
3frankwilltedtony
4billbobbobted

<tbody>
</tbody>
Sheet 2








sheet 1
ab
1
2
3
4

<tbody>
</tbody>









We use excel for sceduling purposes and each and every day we fill out a floor chart with who is working that day. As it stands now we have to print out a template and hand write all names or type them in and print it out. What I would like to try and do is define each set of names and allow for easy access to auto fill these names. I feel it needs to be a simple process as not all of our managers are expierenced in excel or formulas. What I would like to try an accomplish is in sheet 1 cell A1 to be able to create a drop list or formula that that would let me return all the names for a given day. For the purposes of this discussion we can just define each list as the day that is the header ( IE A2:A4 on sheet 2 would be defined as "monday". Also, I already have the names autofilled based off of what the our schedule has. I'm curious if I could create a drop down list with each day of the week as an option, and if they select Tuesday it will then return all the names defined as Tuesday in a column below.And the next day be able to return Wednesday names and so on.

I'm not stuck on it being a drop down list. Maybe if they could just type and =(defined name) in the box above and it would return all the names.

I have tried an =(defined name) and it does return the value but only for the first cell and it has to be in the same row for it to return the name. Which doesn't work becuase I would like the names that are being defined on a separate sheet.

Thank you for your time and any help would be greatly appreciated.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Hi kapadons,

I don't know why that didn't work for you.

If you define a range named "monday" that consists of the range that holds several names, you should be able to use data validation to have that as a drop down list with all the named in that range. This works even if the name range is on a different sheet (although it needs to be in the same workbook).

When you setup your data vaidation make these entries:
Allow: List
Source: =monday
Check In-cell dropdown.

Note there are no quotes or parentheses in =monday

EDIT: Rereading your post, I think you were trying to enter =monday directly into the cell.
Instead of that, you need to select Data Validation from the Ribbon and follow the prompts.
 
Upvote 0

Forum statistics

Threads
1,215,491
Messages
6,125,102
Members
449,205
Latest member
ralemanygarcia

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