Ravindra BagaleCourses & study guides मराठी Track your progress

11. What-If Analysis

Excel

11.1 Goal Seek

Find the input that reaches a known target

A fictional grocery delivery team knows monthly fixed costs and its modeled contribution per order. It can already use Excel to answer “How much would we earn at 1,200 orders?” The manager asks a different question: “Which order count would make the modeled result equal to zero?” This time the output is known and the input is unknown. Excel's Goal Seek works in that direction. You give it the formula cell, the target result and the one input it may change.

In this lesson you will use two fictional store cases, one quick monthly model and the full daily Wakad model. The examples are for a delivery service like Blinkit and use invented figures. You will verify an exact root in the simple case, inspect fractional daily counts and paise values in the larger workbook and practice what to do when a result is outside capacity. A number found by Excel still needs a useful explanation and an independent test.

Set one formula to a target by changing one input. Check the returned formula result, physical units and feasible bounds before using the number.

Know what goes in the three fields

  • Set cell. The cell that contains the output formula. It must respond to the input you are allowing Excel to change.
  • To value. The desired numerical result of that formula. For modeled break-even it is 0 rupees after the defined costs.
  • By changing cell. The one editable numeric assumption Goal Seek adjusts. In the first exercise it is the monthly order count.

Some workbook designs use “Set cell” to refer to a price or count from a previous example. Always inspect the current worksheet first. The target formula can depend on the changing cell indirectly through other formulas. It does not have to mention the input's address in its first line. What matters is that an actual calculation path connects them. If the final result is a manually typed value, there is no path. If the changing cell is a formula, use the editable assumption behind it instead of overwriting the model.

Recognize the direction of the calculation

A forward calculation declares every input and lets the formula determine the output. It answers “At 1,200 orders and contribution ₹18 per order, what is the modeled result?” Goal Seek reverses that question for one unknown. It asks “What must the order count be to get the specified result?” Use a Data Table when you want the results for 1,200, 1,300, 1,400 and 1,500 as a list. The same formula serves all three exercises. Each returns a different type of result for the reader.

Spend a minute reading the signs before starting. When each additional order contributes a positive amount, a greater order count leads toward a larger modeled result. When the contribution turns negative, adding orders lowers the result. A target should have a meaningful unit. Enter 0 for a break-even rupee amount. If the target cell computes a margin fraction and you require 20%, enter its corresponding numeric fraction 0.20, according to the input field and display in your client. Changing the visual number format of a target cell does not change the values used by the formula.

A useful model can answer several one-input questions in separate runs. Start by clarifying which of the possible variables is truly adjustable. A team can explore required average basket value, delivery cost or order count. It cannot always set any of them independently in the real world. The result is a condition to discuss with the decision owner. Treat observed delivery costs, negotiated plans and speculative target values as different kinds of inputs in your worksheet notes.

Lab 1. Use the shortest break-even model first

Build a four-cell practice sheet

Create a disposable sheet named MiniGoal. Use these exact labels in column A and fill column B. The modeled contribution for each order is the part left after the approved variable costs in that exercise. It is separate from the monthly rent and other specified fixed costs. Use a plain numeric amount without a group separator when entering the formula input, and format the outputs as rupees afterward.

Fictional monthly order model for the first Goal Seek practice
CellRoleContent
B1Monthly order count1200
B2Contribution per order, ₹18
B3Monthly fixed cost, ₹27000
B4Modeled monthly result, ₹=B1*B2-B3

At 1,200 orders the total contribution is 1200 × 18 = ₹21,600. The model gives ₹21,600 less ₹27,000, or −₹5,400. If you set B1 to 1,201 in a practice attempt, B4 should increase by ₹18 to −₹5,382. This first response test proves that changing B1 moves the formula in the expected direction. Restore B1 to 1,200 before the Goal Seek trial so the initial state is known.

  1. Choose the target formula. Open the Goal Seek command in a supported desktop version, typically Data → What-If Analysis → Goal Seek. Choose B4 for Set cell.
  2. Set the outcome. Enter 0 in To value. That signifies zero modeled monthly result under the specified costs.
  3. Allow one input change. Enter B1 in By changing cell. Leave the per-order contribution and monthly fixed cost at their original values.
  4. Read the result. The exact model solution is 1,500 orders. Excel may show a value close to 1500 and a formula result close to zero. Inspect the actual value and verify the desired tolerance.
  5. Verify and save the intended state. Multiply 1,500 by ₹18 and compare with ₹27,000. If you accept the Goal Seek solution, record the previous input. To keep future practice consistent, restore B1 to 1,200 or use a separate named copy for the result.

In a desktop client the result prompt normally offers a way to keep the attempted result or cancel and restore the prior input. Verify the cell after your choice. Keeping a solution changes the selected workbook input. It can affect dependent charts and other calculations that expect the baseline values. A screenshot of the dialog is not itself a saved scenario. Store the original input, method, observed result and verified interpretation.

Goal Seek sets formula B4 to 0 by changing B1 from 1,200 to 1,500 monthly orders, while contribution 18 and fixed cost 27,000 remain the same.
One formula output, one numeric target and one input Excel may change. Check the other assumptions before accepting the result.

Read the mathematical result as a business condition

The model says if each monthly order contributes ₹18 and fixed cost is ₹27,000, 1,500 monthly orders cover the included fixed costs. It does not say 1,500 orders will arrive. To apply it, ask whether the average ₹18 is stable, whether any omitted cost matters and whether staff can process that volume. If the model represents only part of a real business, call the display a modeled result under stated cost assumptions rather than reporting observed profit.

Try a changed target value in the same worksheet. A target of ₹3,600 means contribution must cover ₹27,000 fixed plus ₹3,600 desired result. Required contribution is ₹30,600. At ₹18 each this requires 1,700 monthly orders. Set B4 to 3600 by changing B1 in a copy and check the formula against that arithmetic. If the worksheet displays a rounded thumb rule without the cost and volume assumptions, a reader cannot reproduce the new number.

Check a discrete condition with real neighboring values

In MiniGoal an integer order changes contribution by ₹18. A target such as ₹7 of modeled surplus has an exact continuous root just above 1,500. No whole monthly order count produces exactly ₹7 while retaining these assumptions. At 1,500 the model yields ₹0, and at 1,501 it yields ₹18. If the actual decision is “at least ₹7,” 1,501 is the smallest whole count that satisfies it. Ask whether the business means exact equality or at least a target before deciding what to keep.

Try writing a separate model that uses =ROUND(B1,0)*B2-B3 on a sandbox copy. Here varying B1 slightly may leave the output unchanged across adjacent fractional values because the formula rounds before calculation. A numerical search can have difficulty finding a stepwise equality or it may find one of many input values that round to the same integer. Compare the relevant integer candidates directly. Keep the original simple arithmetic in the first lab where the exact continuous link is useful for learning.

For a numeric check use a separate residual cell. If the desired result is stored in D2, type =B4-D2 in D3. A residual of ₹0 is exact in the model. If a numerical algorithm returns a close value, inspect the sign and size in rupees. For a classroom check an example tolerance is within ₹0.01 for an unrounded continuous result. That tolerance does not relax business feasibility. Apply appropriate units or approved rules, then verify the resulting feasible candidate in the original model.

Lab 2. Check daily orders and alternate inputs in Wakad

Use the original full model with a known baseline

Create the Model worksheet from the chapter overview, or enter the original inputs below. Add the formulas after each shown address. B2 represents daily orders, so B9 multiplies by the 30 operating days. Gross margin percentage is 18% stored as 0.18. The delivery cost is ₹28 per monthly order. Fixed costs are ₹4,50,000 per month. In the baseline the formula must show −₹94,800 before starting the what-if tasks.

B2   400
B3   320
B4   30
B5   18%
B6   28
B7   450000
B9   =B2*B4
B10  =B9*B3
B11  =B10*B5
B12  =B9*B6
B13  =B11-B12-B7

The contribution per order after delivery is 320 × 18% − 28 = ₹29.60. If you add one order per day in this 30-day model, the monthly result improves by ₹888. Set B13 to zero by changing B2. With all else fixed, the exact fractional target is 450000 ÷ 888, around 506.7568 daily orders. Inspect B13 to see how close the actual result is to zero. A display formatted to zero decimals can look like zero when a small residual remains.

To recommend a fixed whole daily count under this positive slope, check the neighbors. A fixed 506 per day produces −₹672. A fixed 507 per day produces +₹216, so 507 is the smallest fixed whole count at or above the target. You can compute this with =ROUNDUP(450000/888,0) for the positive result, then plug it back into the full model. Rounding to a whole count is not enough without checking its direction and effect. At a different initial root ordinary rounding to the nearest integer can select the value below the target.

Distinguish a schedule from a planning average

The continuous daily result can be an average across a varying month. The smallest whole monthly order total for 29.60 rupees each against ₹4,50,000 fixed is 15,203. This is about 506.77 per day across 30 days. A team can schedule some days at 506 and some at 507. For example 23 days at 507 and 7 days at 506 produce 15,203 orders. The original recommendation of 507 every day gives 15,210 orders. State whether you are planning an actual daily target, a monthly volume or an average.

A physical capacity of 500 daily orders invalidates the fixed 507 plan. At 500 the model loses ₹6,000 after the specified costs. You can still report what the workbook calculates. The discussion moves to whether the average basket, gross margin or delivery cost can improve under that capacity. Goal Seek can answer one of those questions at a time while the other inputs stay fixed. Solver supports combined changes when you add meaningful constraints and an objective.

Fixed-volume outcomes. Capacity at 500 orders per day loses 6,000 rupees. At 506 it loses 672. At the target 507 it produces 216.
Check feasible whole values around the fractional root. A business limit of 500 keeps the current model below zero.

Follow the candidate from input to decision

  1. Choose the formula and the target

    B13 contains the modeled monthly result. Use 0 rupees for break-even.

  2. Let one assumption vary

    Change B2 and keep the 30 days, ₹320 basket, 18% gross margin, ₹28 delivery and fixed costs.

  3. Check the continuous result

    Monthly contribution increases ₹888 for each extra daily order, giving a root around 506.7568.

  4. Check feasible whole orders

    At 506 the model shows a ₹672 loss. At 507 it gains ₹216 in the simplified model. Confirm capacity before calling it a plan.

Confirm assumptions by changing one variable back and forth

Work through a miniature diagnosis outside the dialog. In the original daily model set orders to 400 and note ₹94,800 loss. Increase orders to 410 and keep the other cells unchanged. The result improves by 10 times ₹888, or ₹8,880, so the new modeled loss is ₹85,920. Verify that change exactly. If it moved by only ₹296, the formula might be missing the factor of 30 days. This manual check detects a unit mismatch before you let Excel test many changing values.

Restore orders to 400. Temporarily increase delivery cost from ₹28 to ₹29 and compute what should move. Total orders remain 12,000. Delivery cost increases by ₹12,000, so the modeled monthly loss is ₹1,06,800. A result that moves in the opposite direction suggests a sign error or a misplaced reference. Paste the verified value back before solving a new case. This creates two independent response tests for differently measured inputs.

To write a short review note, include the variable name, starting value, target, result, independent arithmetic and actual status of the modeled plan. Include the optional capacity and rounding requirement on the same line when interpreting results. A small display can report “Volume required: 507 per day under baseline costs. Current tested cap: 500. No feasible break-even by volume alone.” This makes it hard to accidentally present a correct calculation as an approved operating plan.

Find the other original practice answers

Reset each time before switching the changing cell

The baseline tells you which input and formula are active. Start each of the next questions with B2 at 400 and the original settings. Otherwise an earlier successful calculation can make the next result incorrect for the question. A test requiring exactly 400 orders per day should not reuse the 506.7568 input from the previous break-even search.

Original Wakad Goal Seek tasks with independently checked continuous answers
QuestionSet cellTarget ₹ChangeAnswer before rounding
Daily volume for break-evenB130B2506.7568 orders/day
Basket value for break-even at 400/dayB130B3₹363.8889/order
Delivery cost for ₹50,000 result at 400/dayB1350000B6₹15.9333/order
Gross margin for break-even at 400/dayB130B520.46875%

At 400 daily orders for 30 days, there are 12,000 orders. To reach zero, each must contribute ₹37.50 after the modeled delivery cost. Add ₹28 to get gross margin amount required per order, ₹65.50. Divide by the 0.18 margin fraction to get a basket of about ₹363.8889. If a practice policy accepts adjustments to the nearest paise and the target is at least zero, ₹363.89 gives +₹2.40, while ₹363.88 gives −₹19.20. Enter each amount and verify the exact sign of B13.

The original challenge asks for the delivery cost that would produce a modeled ₹50,000 result at 400 daily orders. For that target 12,000 orders need total contribution after delivery of ₹5,00,000 because ₹4,50,000 pays fixed costs. That is ₹41.6667 after delivery per order. An order currently has ₹57.60 gross margin before delivery. Delivery cost must therefore be about ₹15.9333. If you need at least the target with paise units, round the cost down. At ₹15.93 the model gives ₹50,040. At ₹15.94 it gives ₹49,920. Higher cost lowers profit, which reverses the direction of the practical rounding.

For the gross margin task use the same ₹65.50 gross amount required per order, but divide by ₹320 basket value to get a fraction of 0.2046875, or 20.46875%. A rate input goes in B5 as a percentage or underlying fraction. If the pricing rule changes in 0.01 percentage point increments, 20.47% gives a modeled ₹48 surplus, while 20.46% gives a loss of ₹336. Check the numeric equality yourself instead of judging the result from a one-decimal display.

Derive the one-input directions from the same cost formula

Let q be daily orders, d operating days, a average rupee basket, g the gross margin fraction, c rupee delivery cost per order, and f fixed monthly costs. The calculation is q times d times the difference between a times g and c, minus f. The target in rupees is t. Moving fixed costs to the target side gives the required total contribution f plus t. With positive orders and days, required contribution per order is that number divided by q times d. This rearrangement is the same across the original AOV, delivery cost and margin exercises.

For break-even volume, hold a, g, c and d fixed. Divide f plus t by d times actual per-order contribution, provided that divisor is valid. For basket value, add c to the required contribution per order and divide by g, provided gross margin is positive. For delivery cost, subtract required per-order contribution from a times g. For gross margin, add c to required per-order contribution and divide by the basket value. These checks apply to the stated linear assumptions. A change in volume-dependent costs or a relationship between price and demand can change the formula you need to solve.

Record the sign for each variable. Higher volume helps only when a modeled extra order has positive contribution. Higher AOV helps in this simple model when margin fraction is positive and volume remains fixed. Higher delivery cost makes the outcome lower when orders are positive. Higher gross margin fraction helps when basket value and volume are positive. This reasoning tells you whether a tested practical value has to sit at the high or low side of a continuous solution.

Check why a numerical search may fail or suggest an unusable value

Start from the model and test its behavior

Goal Seek tries a value for the editable input and evaluates the output formula. It repeats that process while searching for an input that makes the formula sufficiently close to the desired result. You do not need to know its precise internal search algorithm to troubleshoot the workbook. Check whether modest changes to the input move the result through the target logically. If a result is approximate, inspect the actual formula value and calculate an independent residual.

On a copy, change B6 to 57.60 with other Wakad inputs at the original values. The modeled contribution per order after delivery is zero. Profit stays −₹4,50,000 even if daily orders double. No order count can bring the assumed result to zero. Another failure case is ₹60 delivery cost. Contribution is then −₹2.40 per order. Increasing valid nonnegative volume makes the modeled result lower, so any negative-order answer is outside the allowed business domain. The appropriate conclusion states which other assumptions would have to change.

Input changes can also be discontinuous or affect the answer in multiple places. On a separate sandbox sheet enter a numeric test variable in C2 and =(C2-5)*(C2-15) in C3. Both 5 and 15 make C3 zero. At 10 the output is −25, and at 0 it is 75. A search that finds one zero does not establish a unique answer. Starting values can affect a nonlinear search. Test relevant roots and allowed ranges, and do not try to force a single interpretation when the model allows several.

Review a separate cost threshold before committing

Suppose the approved staffing plan requires an extra ₹60,000 monthly above 500 daily orders. Add that only to a practice version, for example rewrite B13 as =B11-B12-B7-IF(B2>500,60000,0). At exactly 500 there is no extra monthly cost and the model gives −₹6,000. At 501 the new cost applies and it gives −₹65,112. The original root around 506.76 falls into the higher cost band and no longer reaches target. Evaluate the modeled rules on the territory in which each applies.

Above 500 the fixed cost total becomes ₹5,10,000. The revised root in that band is 510000 ÷ 888, about 574.3243. At 574 the result is −₹288; at 575 it is +₹600. The first segment's numeric candidate is outside its applicable band. The second segment's candidate belongs to the upper band, which still needs a capacity check. This reasoning provides a reliable cross-check of a numerical search through a formula that includes a step.

Find an answer that exceeds capacity by a large margin

Use a practice version with delivery cost at ₹56 and all other baseline inputs unchanged. Contribution is still positive at ₹1.60 per order. With 30 operating days, one extra daily order contributes ₹48 to the monthly result. The pure spreadsheet break-even is 9,375 daily orders. At a plausible cap of 600, the model produces −₹4,21,200. A positive slope and an attainable mathematical target over all numbers are insufficient if the answer falls far outside allowed operations. Record both the model answer and the modeled limit result.

Now test the analogous negative contribution example. At a ₹60 delivery cost, slope is −₹72 per extra daily order after multiplying by 30 days. The equation would give a root at −6,250 per day. A negative order count cannot represent this plan. A result dialog or calculated equality is not an approval of the value. With no zero crossing in the allowed range, report infeasibility of the volume-only condition and propose the required evidence for a different input.

Verify the result and communicate the limits

Use simple operating checks when a dialog fails

  • Target is unchanged. Make a small deliberate input change on a copy. Check the formulas along the path to the Set cell.
  • By changing cell contains a formula or text. Find the proper editable numeric input rather than removing part of the model.
  • Result shown looks like zero but is not exact. Reveal more precision and inspect the formula and residual. Check required rounding or an agreed tolerance.
  • Input answer violates a business limit. Test the closest feasible values. If volume has a maximum, check the maximum output. Use a model with enforced constraints when needed.
  • Two roots fit the target. Test the allowed domain and distinguish alternatives. One returned input cannot prove the equation has just one solution.
  • Next exercise displays an unexpected result. Compare all input assumptions with the baseline. Restore the appropriate model before making a new comparison.

Microsoft documents the Goal Seek procedure for supported Windows and Mac desktop versions. Menu groups can vary. If you do not have that option, the direct arithmetic exercise still works for this model. Calculate required contribution per order, known months or days and the corresponding single unknown quantity. For more complex formulas, compare known points and use an appropriate supported model or constraint tool. A manually checked example can be more useful than a dialogue a reader cannot reproduce.

Practise a reproducible solution handoff

Give a classmate the starting Model cells and a question card that says “Find the maximum modeled delivery cost at 400 orders per day while achieving at least ₹50,000.” Have them run the seek or direct calculation on a copy, test both neighboring paise values and then restore the original assumptions. Ask them to point to the formula proving the outcome. Explain why the chosen rounded answer must be the lower paise value when the business needs at least a target. Using “maximum delivery cost” also makes it clear that smaller costs would produce even more than the target.

For an independent check, ask them to run the margin target next and confirm B6 was returned to ₹28 first. A margin run with the delivery cost still at ₹15.93 answers a different question. Show both original and returned assumptions in a review note. There is no need to overwrite your main planning baseline. Keep an unmodified model or clear record so later scenarios and tables reflect the intended held values.

Try an exact named case where the result format matters. In the short model compare a target of ₹3,600 and a target of −₹3,600. The positive case needs 1,700 and the negative case needs 1,300 monthly orders. The starting case of 1,200 is below both. Writing a dash or currency sign in the wrong format can look like a zero target. Record target numbers as ordinary numeric inputs with a separate role label for profit or loss. Then inspect how the formula reacts.

Finally record whether the result is continuous, a checked whole count, a constrained feasible solution or unavailable under the model. A single column labeled “Goal Seek answer” cannot capture those distinctions. Include the starting and accepted input, resulting money amount, business limit and preserved baseline. That record turns a numerical exercise into a repeatable planning check that a teammate can verify on the next reporting cycle.

Set a valid date period and test the changed target

Try a separate 26-operating-day model with all other baseline assumptions preserved. The extra daily order now contributes 26 times ₹29.60, or ₹769.60 per month. The monthly order requirement remains 15,203 because the monthly fixed costs and per-order contribution are unchanged. If you require the same whole count each day, 585 is the smallest daily target for break-even. At 584 daily the modeled loss is ₹553.60, and at 585 the modeled surplus is ₹216. This is a valid comparison only because the fixed-cost assumption continues to apply to the changed operating calendar.

In a fresh copy test the extreme of zero operating days. A positive contribution per order does not make a daily Goal Seek useful when daily orders are multiplied by zero. There is no flow of orders and the modeled fixed cost still applies in this fixture, so the result stays −₹4,50,000. State the assumptions and the reason for no solution. A worksheet intended for actual planning should reject or clearly label an invalid or closed-month period rather than attempting to find a new daily volume within it.

Business owners sometimes compare a threshold rounded to one decimal with a published integer measure. Decide which number will be enforced. Ten thousand expected orders in an entire month can support one policy. A minimum every day can be more restrictive. A break-even target in the formula has units of rupees after the stated costs. The changing cell can be in orders, percentage or currency per order. Label both in the review note. If a target is recorded as a fraction, keep its original numerical form rather than relying on a visual percent label.

As a final mental check, ask whether a higher or lower answer would help adoption. A smaller required volume could be more practical. A reduction in allowable delivery cost can be more difficult. The number's role in the constraint matters more than its direction on the screen. Show the proposed feasible candidate next to the existing baseline and expected difference. Explain any missing assumptions without asking users to infer them from an updated input figure alone.

If you share a single answer in a meeting, accompany it with the unit and the other inputs you held constant. For example, “₹15.93 delivery cost per order, at 400 orders per day, targeting at least ₹50,000 in this model.” That sentence tells the reader how to use the value.

Check your understanding

Five practice questions

Which cell is the output in the short monthly model?

B4. It holds the formula that takes monthly order count times ₹18 and subtracts ₹27,000 fixed cost. Goal Seek should change B1.

Which fixed daily count first reaches break-even in the original Wakad model?

507. At 506 the model shows −₹672, and at 507 it shows +₹216. This is valid given the baseline assumptions and capacity to process 507 each day.

Why round the recommended delivery cost down for a minimum ₹50,000 result?

Cost reduces the result. Rounding the continuous cost of ₹15.9333 up to ₹15.94 lowers modeled profit below target. ₹15.93 clears the condition.

What replaces the volume result if the contribution is zero?

With positive fixed cost, no volume reaches zero because the contribution after variable cost never increases. Report the infeasibility under current assumptions.

At 400 daily orders, what gross margin gives modeled break-even?

20.46875% before practical rounding. The gross per-order margin amount must be ₹65.50, which is 65.50 divided by the ₹320 basket.

Five interview questions with worked answers

How would you explain Goal Seek to a beginner?

I supply the result I want, point to the formula that calculates it and allow Excel to alter one editable input. Then I check that the resulting value and its units fit the decision.

How do you diagnose a changing input that produces no output movement?

I manually vary the input and follow the cell references to the output. The formula may reference another cell or be replaced by a value. I also check whether the relationship is mathematically flat in that region.

What do you verify before selecting a rounded answer?

I check whether the objective is to reach at least or at most the target, and whether raising the input raises or lowers the result. I test the nearest feasible values in the model.

Can Goal Seek find one solution even when others exist?

Yes. For a model such as the product of x minus 5 and x minus 15, both 5 and 15 give zero. I inspect allowed domains and verify other roots instead of claiming uniqueness.

When do you switch from Goal Seek to Solver?

I consider Solver when more than one decision input can change, when rules constrain the choices, or when I need a best feasible result rather than one linked input for one target.

Revision cards

  • Set cell. A formula that calculates the desired result.
  • To value. The numerical target in the formula's units.
  • Changing cell. One editable numeric input.
  • Residual. Compare the achieved output with the target.
  • Feasibility. Check capacity, whole values and rounding direction.
  • Reset. Record the answer and restore the intended baseline.

Continue to Scenario Manager to replay named input sets, or use the Excel Task Hub for more cost and target exercises.

Microsoft references