Staff Rotas Name List

Simont485

Board Regular
Joined
May 19, 2018
Messages
50
I have 2 workbooks that are used for staff rotas (A & B). In both Rotas the layout is shown as: names in Column A A2:A7 dates in Row 1 A2 :NL2. Shifts are shown as D, E, M or N

In Rota A there is a cell to input a date and the rota scrolls across to that date.

I would like it to then show the names of staff on shift for the same date from Rota B.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Hello,

there are probably many ways to do this. Also depends on how you want the results to be shown.

So, I have the two workbooks, laid out the same as per your post.

In Rota A, cell A10 I have a date, in cell B10 i have this formula:

=IF(ISBLANK(INDEX('[Rota B.xls]Sheet1'!$A$1:$N$7,ROW()-8,MATCH($A$10,'[Rota B.xls]Sheet1'!$1:$1,0))),"",'[Rota B.xls]Sheet1'!$A2)

copy down to B15.

You will need to change sheet names (and possible filenames) to suit.

Is this of any use?
 
Upvote 0

Forum statistics

Threads
1,215,034
Messages
6,122,782
Members
449,095
Latest member
m_smith_solihull

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