Staff Rota Formula

runderwood10

New Member
Joined
Aug 4, 2022
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hey everyone.

I've created a staff rota spreadsheet which takes a list of staff members and returns 2 staff names with either a blank "date" cell or the oldest date.

I'm a bit stuck though as I can't seem to get the formula to return 2 unique names. Here are some images to explain further, you will see for Centre 3 on the Formula tab that it is returning the same staff name twice - is anyone able to help at all?

1659601448863.png


1659601472203.png


The formula is as follows:
=INDEX(IFERROR(FILTER('Staff List'!$B$2:$B$80,('Staff List'!$C$2:$C$80=C$1)*('Staff List'!$D$2:$D$80="")),FILTER(SORT(FILTER('Staff List'!$B$2:$D$80,('Staff List'!$C$2:$C$80=C$1)),3,1),{1,0,0})),SEQUENCE(2),SEQUENCE(,1))

Thank you so much in advance!
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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