We are scheduling surgeries and need to adjust start times according to the previous procedure length. I am currently using a Time column and a Length column and a VLOOKUP formula pulling times from another sheet in the background...
=IF(lvl@row = "0", "", IF(lvl1 = 0, "09:00", IF(Length1 = "50", VLOOKUP(Time1, {Time Range}, 6, false), IF(Length1 = "45", VLOOKUP(Time1, {Time Range 1}, 2, false), IF(Length1 = "30", VLOOKUP(Time1, {Time Range 1}, 3, false), IF(Length1 = "60", VLOOKUP(Time1, {Time Range 1}, 4, false), VLOOKUP(Time1, {Time Range 1}, 3, false)))))))
The issue is that if we cancel a procedure, it breaks the formula and I have to go in and re-add a row and replace the formula for that specific row...We are tracking 10 surgeons schedules so having to replace formulas every time we need to reschedule a procedure is very time consuming...Thank You in advance...
Below is the reference sheet which has the procedure lengths and the check-in times used in the formulas...