Use Excel's Solver tool to schedule your employees
Takeaway: Solve a problem with Excel's Solver. This tool can help you help you optimize your employees by determining the right number of techs you need at any particular time.
You don't need to guess when it comes to determining how many employees you will need to cover a shift -- Excel's Solver can help. Excel's Solver can help. With the Solver what-if analysis tool, you can find an optimal result for a formula in one cell (called the target cell) by having Solver adjust the values in other cells (called the adjustable cells) according to your specifications and constraints.
For example, Solver can help you create a schedule for your IT staff who are working the weekend shift. Factors to consider include: an employee will work Friday and Saturday or Saturday and Sunday but not all three days; also, you want to keep costs down, but you need to schedule at least 25 employees on Friday, 35 on Saturday, and 12 on Sunday.
If you do not have Solver on your Excel 2003/2002 Data menu, you will need to install it first. Follow these steps:
- Go to Tools | Add-ins.
- Click the Solver Add-in check box.
- Click OK and then click Yes in the Install message box.
After it is installed, Solver will display on the Tools menu.
To continue with scheduling, follow these steps:
- Open a blank worksheet.
- In C2, enter Total Weekend Employees.
- In C3, enter =SUM(C5:C6).
- In C4, enter Number Starting.
- In D4, enter Day Employee Starts.
- In E4, enter Friday.
- In F4, enter Saturday.
- In G4, enter Sunday.
- In D5, enter Friday.
- In E5, enter 1.
- In F5, enter 1.
- In G5, enter 0.
- In D6, enter Saturday.
- In E6, enter 0.
- In F6, enter 1.
- In G6, enter 1.
- In D8, enter Number Working.
- In E8, enter the formula =SUMPRODUCT($C$5:$C$6,E5:E6).
- Copy the formula in E8 to F8 and G8.
- In D9, enter >=.
- In D10, enter Number Needed.
- In E10, enter 25.
- In F10, enter 35.
- In G10, enter 12.
- Go to Tools | Solver.
- Enter $C$3 in the Set Target Cell text box.
- Click the Min button.
- Enter $C5:$C6 in the By Changing Cells text box.
- Click the Add button.
- Enter $C5:$C6 in the Cell Reference box.
- Click the drop-down arrow, select int, and then click Add.
- Enter $E$8:$G$8 in the Cell Reference box.
- Click the drop-down arrow and select >=.
- Enter $E$10:$G$10 in the Constraint box and then click Add.
- Click Cancel, and then click the Options button.
- Click the Assume Linear Model and the Assume Non-Negative check boxes and then click OK.
- Click Solve.
Solver results show that, in order to cover all shifts over the weekend, you will need 25 people to start on Friday and 12 to start on Saturday, with a minimum of 37 employees for the entire weekend.
To see an example of the worksheet, click here.
Miss a tip?
Check out the Microsoft Excel archive, and catch up on our most recent Excel tips.
Help users increase productivity by automatically signing up for TechRepublic's free Microsoft Office Suite newsletter, featuring Word, Excel, and Access tips, delivered each Wednesday.
Print/View all Posts Comments on this article
SponsoredWhite Papers, Webcasts, and Downloads
- Live Webcast: The Top 5 Ways to Save Money with CRM TechRepublic
- Creating Business Value Through Process Integration and Composition SAP
- CRM Your Salespeople Will Love Oracle
- Voice over IP Reliability: Architecture Matters ShoreTel
- Accelerating Secure Business Applications Podcast Riverbed
Article Categories
- Security
- Security Solutions, IT Locksmith
- Networking and Communications
- E-mail Administration NetNote, Cisco Routers and Switches
- CIO and IT Management
- Project Management, CIO Issues, Strategies that Scale
- Desktops, Laptops & OS
- Windows 2000 Professional, Microsoft Word, Microsoft Excel, Microsoft Access, Windows XP,
- Data Management
- Oracle, SQL Server
- Servers
- Windows NT, Linux NetNote, Windows Server 2003
- Career Development
- Geek Trivia
- Software/Web Development
- Web Development Zone, Visual Basic, .NET
