List of unused staff

tigerzen

Board Regular
Joined
Mar 8, 2023
Messages
165
Office Version
  1. 365
Platform
  1. Windows
Book2
BCDEFGHIJKL
2MonTuesWedThuFriSat SunList
3AMEd LCLCEdEd5
4LunchLCLCLCEdLCDCTimLC7
5DinnerTimTim EdTimTimTimEdLCTim6
6DC1
7
8Not listedNot listedNot listedNot listedNot listedNot listedNot listed
9EdDC
10DC
Sheet1
Cell Formulas
RangeFormula
L3:L6L3=COUNTIF($C$3:$I$5,"*"&K3&"*")


I'm after a formula/function on Excel 2019 that returns the staff in column K who are not scheduled as per Row 9 & 10 for each day. I've put the desired output in for Monday and Tuesday.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Hi, here's one option you can try:
Book2
ABCDEFGHIJKL
1
2MonTuesWedThuFriSat SunList
3AMEd LCLCEdEd5
4LunchLCLCLCEdLCDCTimLC7
5DinnerTimTim EdTimTimTimEdLCTim6
6DC1
7
8Not listedNot listedNot listedNot listedNot listedNot listedNot listed
9EdDCEdLCEdTimDC
10DC DCDCDC  
11       
12       
13       
Sheet1
Cell Formulas
RangeFormula
L3:L6L3=COUNTIF($C$3:$I$5,"*"&K3&"*")
C9:I13C9=IFERROR(INDEX($K$3:$K$6,AGGREGATE(15,6,(ROW($K$3:$K$6)-MIN(ROW($K$3:$K$6))+1)/(1-ISNUMBER(MATCH("* "&$K$3:$K$6&" *"," "&C$3:C$5&" ",0))),ROWS(C$9:C9))),"")
 
Upvote 0
Thanks FormR, that does the trick. Your formula is fairly advanced and will take me a little to digest, it does highlight the advantage of using Office 365 where a simple Filter and Match will achieve the same thing. Much appreciated FormR.
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,959
Members
449,096
Latest member
Anshu121

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