Contact

Zoho Sheet · Analysis and modeling · Intermediate

Optimize a constrained model with Solver in Zoho Sheet

Use Tools → Solver to maximize an explicit target subject to cell constraints, then verify the proposed answer independently.

Editorial standards

Quick answer

Use Tools → Solver to maximize an explicit target subject to cell constraints, then verify the proposed answer independently.

Before you start

Zoho Sheet web editor in an English desktop browser; rolling service, official documentation reviewed 20 October 2026. Not desktop-app or mobile instructions. Use an editable practice file containing only synthetic data. Keep the original unchanged and record the file name and storage location so that you reopen the same copy. These are documentation-based instructions and independently checked examples, not a claim of native application testing.

Build a one-variable production model

This exercise intentionally uses one continuous decision variable so its optimum can be verified without guessing an algorithm or relying on integer-setting support.

Enter the labels and values below in A1:B6:

Row A: Meaning B: Value or formula
1 Production hours 0
2 Contribution per hour 30
3 Contribution =B1*B2
4 Material used =2*B1
5 Material available 16
6 Maximum hours 10

B1 is the only decision cell. B3 is the target formula. B4 is a resource-use formula, while B2, B5 and B6 are fixed assumptions. All quantities are synthetic and expressed in compatible units.

The problem is to maximize contribution while keeping production hours nonnegative, within 10 hours, and material consumption at most 16 units. Independently, the material constraint gives 2 × hours ≤ 16, so hours ≤ 8. Because contribution increases by 30 for each hour, the optimum is 8 hours and contribution 240.

Configure Solver

  1. Choose Tools → Solver.
  2. Set the Target cell to B3 and the Variant cell to B1.
  3. Choose the maximize objective, not minimize.
  4. Add constraints representing B1 ≥ 0, B1 ≤ B6 and B4 ≤ B5, using the dialog’s displayed cell and comparison fields.
  5. Review every reference before clicking Solve. The documentation describes adding constraints but does not promise a particular algorithm or every advanced setting; do not import those assumptions from another spreadsheet program.
  6. Inspect the proposed values and the worksheet formulas before keeping the result. B1 should be approximately 8, B3 approximately 240 and B4 approximately 16, allowing only a small numerical tolerance appropriate to this simple model.

The initial zero is feasible but not optimal. A successful calculation message is not the same as proof that the right objective and constraints were entered.

Verify the solution and the boundary

Check all three inequalities. Eight hours is nonnegative and no greater than ten; material used is exactly sixteen. Try 9 manually in a separate copy: contribution rises to 270, but material use becomes 18 and violates the resource limit. This explains why the larger objective is not an acceptable solution.

Now change material available in B5 to 12 and solve again. The independent bound becomes 6 hours. Expect contribution 180 and material used 12. If the original result remains, inspect whether the constraint references B5 or a literal 16. A constraint linked to the assumption cell makes this sensitivity test meaningful.

Troubleshoot the model, not just the button

If the answer is unbounded or implausibly large, check the upper constraints and maximize/minimize choice. If no feasible answer exists, inspect whether you accidentally required more hours than the resource can support. If B3 does not depend on B1, Solver cannot improve the intended target by changing the variant.

This model allows fractional hours. For indivisible products, integrality is a separate requirement; do not round a continuous solution and assume every resource constraint still holds. Confirm the deployed solver’s supported controls before expanding the model.

Preserve the original assumptions and the solved scenario separately. Reopen the workbook and recompute contribution and material use from the retained B1 value. Solver output is a candidate decision with assumptions, not a recurring automatic business instruction.

Continue with tables and named ranges.

Official sources

Documentation reviewed 20 October 2026.