I know very little about excel but am willing to put in work to figure things out... I just don't know what formulas to start with.
Background: Wife works with 22 other dietitians in a clinical hospital setting, but only four are allowed to take time off at a time. Wife wants to quit her job because the holiday scheduling is so inflexible. I said, "Wait! I can fix this with Excel!" I know what I want it to do but I don't know how to get there yet.
Vision: I want to create a scheduling calendar that automatically reassigns workloads to qualified (in that area) dietitians if available to allow for flex scheduling, e.g. if there's another person that can cover transplant my wife can take her day off. The twist: not all dietitians are equally qualified so I have to track coverage counts to keep the workload evenly distributed (and not punish the most competent folks with the most work).
Where I'm at: I have an input page created with a time off request entry area, list of employees, buttons for "add new employee," "remove employee," "request time off," and "update dietitian qualifications." I have a separate sheet with a qualification matrix (employee name vs qualification with X for qualified and Y for primary qual, aka what would need to be covered if that person took time off). I have another sheet with a horizontal annual calendar where all 23 dietitians are color-coded by department (and thus, qual).
Where I need help:
- I don't know how to create a people-picker dropdown to ensure name input misspellings don't throw off the code
- I don't know how to code my if/then where if an employee requests time off, then excel looks for a replacement from my matrix of qualifications starting with the *next* person (to create some sort of waterfall of extra duty so employee 1 doesn't get saddled with all the extra work) or to create an additional duty tracker that excel uses to assign work to the qualified person with the least amount of add'l duty days
- I don't know how to make excel look at long requests as separate entries broken down by week so one person doesn't get saddled with long absences (like maternity leave)
- I don't know how to convert the days off request input to a horizontal calendar input but I feel confident I can youtube that without help here
*solved*
- I don't know how to create a tool that adds or removes a text line to multiple locations (my "add new employee" button), some as an inserted cell and some as an inserted row.
- I don't know how to make the program ask for inputs in a popup text box for updating quals (a nicety but def not required, I'm planning on just linking the button to a macro to open the right sheet for manual entry
*solved*
So, I'm very much a beginner in excel but I know the program has the capability, especially with formulas and VBA. Please help point me in the right direction for formulas to research and I'll take it from there (unless this has been done before and instead of letting me reinvent the wheel you can drop a link). Thanks!
Dave
Bookmarks