I need help, please!
I created a process that allows employees to request deactivation periods from their snow assignment. The ogranization allows for 5 employees for days and 5 employees from nights to deactivate at one time, per day. I am using the following formula to retrieve the number of slots available:
=IFERROR(INDEX({LSSlotsLeft}, MATCH([Day 1]@row, {LSStartDate}, 0)), "")
Everything is working, I realized an issue. As employees select days to deactivate and should they choose the same day, the number of slots will go down. Generally, this is not an issue, but on popular days like 12/25, more than 5 will request it and the previously approved will now change to denied.
I need the LSSlotsLeft to become static. I can't move the rows to another sheet because then the calendar will not show the correct slots left.
Day 1 -
=[Start Date]@row
Day 1 Available-
=IFERROR(INDEX({LSSlotsLeft}, MATCH([Day 1]@row, {LSStartDate}, 0)), "")
Day 1 Not Available -
=IF(OR(AND(ISNUMBER([Day 1 Available]@row), [Day 1 Available]@row <= 0)), 1, 0)
Thank you,
Ron Anderson