1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Issues with scaling a work roster schedule

Our take

Scaling a work roster schedule can be challenging, especially when relying on a leave register to automate AM/PM shifts. By counting blank cells to determine staff availability and filtering a randomized list, you may find it cumbersome to manage variations without manual input. The existing formulas for populating names in the schedule require constant adjustments, complicating the process as you aim for efficiency. Embracing a more streamlined approach could transform your scheduling workflow, allowing for greater flexibility and reduced manual effort over time.

Using a leave register I am trying to automate an AM/PM work roster.

The Leave Register counts blank cells to confirm who's available, & I'm filtering a randomised list of available staff in a separate column (N:Q in image 2):

=LET(

P1AM, FILTER('Leave Register 2026'!A92:A98, 'Leave Register 2026'!C92:C98 = ""),

SORTBY(P1AM, RANDARRAY(ROWS(P1AM)))

)

https://preview.redd.it/y16be41qopqg1.png?width=1008&format=png&auto=webp&s=6ecbcd87549c4537f331b71a0b38150d0ff1d409

I'm using variations of the formula below in C11:C28 & D11:D28:

=LET(

P1AM, N4#,

UsedNames, VSTACK(range to check to avoid duplication),

AvailableNames, FILTER(P1AM, ISNA(XMATCH(P1AM, UsedNames)), ""),

IF(ROWS(AvailableNames)=0, "", INDEX(AvailableNames, 1))

)

The Sales cells (Rows 4 & 7) are manually entered by the user at the start of the week, so each cell below this checks these before populating a name, along with any cells populated prior to the specific cell in question. As each cell has a different range it's checking, this seems hard to grow without manual entry across a week let alone at an annual scale.

https://preview.redd.it/h5dqw6uqopqg1.png?width=1248&format=png&auto=webp&s=38ca2bdc5e3e809779a4391437fdc8227b3ee538

submitted by /u/FishingElbow
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article

Related Articles

Tagged with

#rows.com#financial modeling with spreadsheets#AI formula generation techniques#Excel compatibility#Excel alternatives for data analysis#formula generator#Excel alternatives#work roster#leave register#automate#available staff#blank cells#filtering#LET function#randomised list#SORTBY#RANDARRAY#INDEX function#ROWS function#ISNA