Extracting data from a list with multiple criteria

kr0nic

New Member
Joined
Jan 29, 2015
Messages
7
Hello all,

this is for Excel 2010.

Column A - list of staff
Column B, C, D, E - day of the week they can work (Mon, Tue, Thurs, Sat only)

ABCDEF
1staff AMon Mon
2staff BMon Thurs Staff A
3staff C TueThurs Staff B
4staff D Tue SatStaff E
5staff EMon Sat

<colgroup><col><col span="6"></colgroup><tbody>
</tbody>

<colgroup><col><col span="6"></colgroup><tbody>
</tbody>


I want column F to display all the staff for a particular day when I input the day into F1.

Please help! many thanks
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
F2, control+shift+enter, not just enter, and copy down:
Rich (BB code):



=IFERROR(INDEX($A$1:$A$5,SMALL(IF(1-(INDEX($B$1:$E$5,0,
   MATCH(F$1,{"Mon","Tue","Thurs","Sat"},0))=""),
   ROW($A$1:$A$5)-ROW($A$1)+1),ROWS($F$2:F2))),"")
 
Upvote 0

Forum statistics

Threads
1,216,550
Messages
6,131,304
Members
449,642
Latest member
jobon

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