Drop-down list

Martin_H

Board Regular
Joined
Aug 26, 2020
Messages
122
Office Version
  1. 2016
Platform
  1. Windows
Hi there,

I have a sheet named Workers with 2 columns. Each column has around 1000 rows. Under the column Shift (B clomun) there are only 3 options: mornig, evening, afternoon. Under the column Name (A column) are names of workers (example below).

NameShift
Johnmorning
Paulevening
Michaelafternoon

Then, there is another sheet named Shift_Book with drop-down list located in the cell B2. Inside this drop-down list I can choose between shifts (morning, evening, afternoon).

Inside the sheet Shift_Book there is a range B5:B50. Inside this range, in every single cell, I want to have a drop-down list of names, of workers from sheet Workers based on the value in sheet Shift_Book in the cell B2.


So for example. If I select morning from the drop-down list in the cell B2 in sheet Shift_Book, I want to see workers that are working on morning shift inside drop-down lists in the range B5:B50.


Is that possible?
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,140,917
Messages
5,703,167
Members
421,279
Latest member
emzy

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