Microsoft Excel Mastery
Part VII: Advanced Excel
What-If Analysis, Goal Seek, Scenario Manager, Advanced Data Tables, Solver Add-in — with real Indian business examples from Banking, GST, and Investments.
📊 69 Solved Examples | 📝 36 Exercises | 🎯 25 MCQs | 💼 5 Mini Projects | 🎤 15 Interview Questions
What-If Analysis — Exploring Outcomes by Changing Inputs
🏠 Why Does This Matter?
Imagine you're buying your first home in Pune. The bank offers a ₹50,00,000 loan — but your EMI depends on interest rate, tenure, and down payment. What if the interest rate goes up by 0.5%? What if you extend tenure from 20 to 25 years? What-If Analysis lets you test dozens of scenarios instantly without manually changing each value.
🎯 Learning Objectives
- Understand What-If Analysis and its three tools: Data Tables, Goal Seek, Scenario Manager
- Create one-variable data tables with row input and column input cells
- Build two-variable data tables to test combinations of two inputs
- Apply What-If Analysis to real Indian financial scenarios — EMIs, GST, FD returns
- Set up and interpret sensitivity analysis tables professionally
- Combine data tables with financial functions like PMT, FV, and PV
📖 Theory — What is What-If Analysis?
What-If Analysis is a powerful set of tools in Excel that allows you to explore different outcomes by changing one or more input values in your formulas. Instead of manually editing cells one at a time, you can see the results for multiple input values simultaneously in a structured table.
Think of it like a restaurant menu: instead of ordering one dish at a time to taste it, you get a "tasting plate" with all options at once. What-If Analysis is your tasting plate for numbers.
The Three What-If Analysis Tools
| Tool | Purpose | Variables | Best For |
|---|---|---|---|
| Data Tables | Test multiple values of 1 or 2 inputs | 1–2 input variables | Sensitivity analysis, comparison tables |
| Goal Seek | Find the input needed for a desired output | 1 input variable | Break-even, target percentage, EMI targets |
| Scenario Manager | Save and compare named sets of inputs | Up to 32 variables | Best/Worst/Most Likely scenarios |
Understanding Data Tables
A Data Table is a range of cells that shows the results of changing one or two variables in a formula. It automatically calculates the output for each value you specify — no need to write multiple formulas.
One-Variable Data Table
A one-variable data table tests how changing one input affects the result. You can arrange it in two ways:
- Column Input: Input values are listed in a column (vertically), and the formula is in the cell one row above and one column to the right of the first input value.
- Row Input: Input values are listed in a row (horizontally), and the formula is in the cell one column to the left and one row below the first input value.
Two-Variable Data Table
A two-variable data table tests how changing two inputs simultaneously affects the result. The formula goes in the top-left corner, one set of values goes across the top row, and another set goes down the left column. Excel fills in the entire grid with results.
Indian banks like SBI, HDFC, and ICICI use What-If Analysis internally to stress-test their loan portfolios. When RBI changes the repo rate, banks instantly recalculate EMIs for millions of customers using sensitivity tables — the same concept you're learning here!
Start with the EMI example — students relate to it immediately because many have parents with home or car loans. Show the one-variable table first (varying interest rate), then introduce the two-variable table (varying both interest rate and tenure). The visual "aha moment" when the entire table fills up at once is very impactful.
📋 Step-by-Step: Creating a One-Variable Data Table
Scenario: EMI at Different Interest Rates
You want to calculate the EMI for a ₹50,00,000 home loan for 20 years at different interest rates from 7% to 10%.
Step 1: Set up your base data in cells:
| Cell | Label | Value |
|---|---|---|
| B2 | Loan Amount | 5000000 |
| B3 | Annual Interest Rate | 8.5% |
| B4 | Tenure (Years) | 20 |
| B5 | Monthly EMI | =PMT(B3/12, B4*12, -B2) |
Step 2: Create the input values list. In cells D3:D10, enter interest rates: 7.0%, 7.5%, 8.0%, 8.5%, 9.0%, 9.5%, 10.0%, 10.5%
Step 3: In cell E2 (one row above, one column right of first input), enter the formula: =B5 (this links to your EMI formula)
Step 4: Select the entire range D2:E10 (input values + formula cell)
Step 5: Go to Data → What-If Analysis → Data Table
Step 6: In the Data Table dialog box:
- Row input cell: Leave blank (we're using column input)
- Column input cell: Click on B3 (the cell containing interest rate)
Step 7: Click OK. Excel fills the table with EMIs for each interest rate!
| Interest Rate | Monthly EMI (₹) |
|---|---|
| 7.0% | 38,765 |
| 7.5% | 40,280 |
| 8.0% | 41,822 |
| 8.5% | 43,391 |
| 9.0% | 44,986 |
| 9.5% | 46,607 |
| 10.0% | 48,251 |
| 10.5% | 49,920 |
The formulas Excel generates inside a data table use the special {TABLE} array formula. You cannot edit individual cells inside a data table — you must delete the entire result range if you want to modify it.
📋 Step-by-Step: Creating a Two-Variable Data Table
Scenario: EMI Varying Both Interest Rate AND Tenure
Step 1: Use the same base data (Loan = ₹50,00,000, Rate = 8.5%, Tenure = 20 years)
Step 2: In cell D2, enter the formula: =B5
Step 3: In cells E2:I2 (top row), enter tenure values: 10, 15, 20, 25, 30
Step 4: In cells D3:D10 (left column), enter interest rates: 7.0%, 7.5%, 8.0%, 8.5%, 9.0%, 9.5%, 10.0%, 10.5%
Step 5: Select the entire range D2:I10
Step 6: Go to Data → What-If Analysis → Data Table
Step 7: In the dialog box:
- Row input cell: B4 (tenure cell)
- Column input cell: B3 (interest rate cell)
Result: A grid showing EMI for every combination:
| Rate \ Tenure | 10 yr | 15 yr | 20 yr | 25 yr | 30 yr |
|---|---|---|---|---|---|
| 7.0% | 58,054 | 44,941 | 38,765 | 35,339 | 33,265 |
| 8.0% | 60,664 | 47,783 | 41,822 | 38,591 | 36,688 |
| 8.5% | 61,995 | 49,236 | 43,391 | 40,260 | 38,446 |
| 9.0% | 63,338 | 50,714 | 44,986 | 41,960 | 40,243 |
| 10.0% | 66,075 | 53,735 | 48,251 | 45,436 | 43,935 |
Forgetting the formula cell position: In a two-variable data table, the formula MUST be in the top-left corner (intersection of row and column headers). If you place it anywhere else, the table won't work correctly. Many students place the formula in a random cell and wonder why they get errors.
✏️ Solved Examples
Example 1: FD Interest Comparison
Compare the maturity amount for a ₹10,00,000 Fixed Deposit across different banks with varying interest rates and tenures.
| Cell | Label | Value |
|---|---|---|
| B2 | Principal | 1000000 |
| B3 | Annual Rate | 7% |
| B4 | Years | 5 |
| B5 | Maturity Amount | =FV(B3/4, B4*4, 0, -B2) |
One-Variable Table: Column input rates: 6%, 6.5%, 7%, 7.5%, 8%, 8.5%
| Annual Rate | Maturity Amount (₹) |
|---|---|
| 6.0% | 13,46,855 |
| 6.5% | 13,80,093 |
| 7.0% | 14,14,782 |
| 7.5% | 14,50,945 |
| 8.0% | 14,88,602 |
| 8.5% | 15,27,781 |
Insight: A mere 2.5% rate difference (6% vs 8.5%) results in ₹1,80,926 more — almost 18% additional return!
Example 2: GST Impact on Product Price
A Jaipur handicraft seller sells products at ₹2,500 base price. How does the final customer price vary with different GST slabs?
| GST Rate | GST Amount (₹) | Final Price (₹) |
|---|---|---|
| 0% (Exempt) | 0 | 2,500 |
| 5% | 125 | 2,625 |
| 12% | 300 | 2,800 |
| 18% | 450 | 2,950 |
| 28% | 700 | 3,200 |
Formula used: =B2*(1+D3) where B2=2500 and D3 has GST rates
Example 3: SIP Returns at Different Monthly Amounts
How does your corpus grow if you invest different amounts via SIP for 10 years at 12% annual return?
=FV(rate/12, nper*12, -pmt)
| Monthly SIP (₹) | Total Invested (₹) | Maturity Value (₹) | Wealth Gain (₹) |
|---|---|---|---|
| 5,000 | 6,00,000 | 11,61,695 | 5,61,695 |
| 10,000 | 12,00,000 | 23,23,391 | 11,23,391 |
| 15,000 | 18,00,000 | 34,85,086 | 16,85,086 |
| 20,000 | 24,00,000 | 46,46,781 | 22,46,781 |
| 25,000 | 30,00,000 | 58,08,477 | 28,08,477 |
Example 4: Profit at Different Selling Prices
A Surat textile manufacturer has a cost of ₹350 per meter. Fixed costs are ₹2,00,000/month. Expected sales volume: 2,000 meters. How does profit vary with selling price?
| Selling Price (₹/m) | Revenue (₹) | Variable Cost (₹) | Profit (₹) |
|---|---|---|---|
| 400 | 8,00,000 | 7,00,000 | -1,00,000 |
| 450 | 9,00,000 | 7,00,000 | 0 |
| 500 | 10,00,000 | 7,00,000 | 1,00,000 |
| 550 | 11,00,000 | 7,00,000 | 2,00,000 |
| 600 | 12,00,000 | 7,00,000 | 3,00,000 |
Insight: Break-even at ₹450/meter. Below that, the manufacturer loses money!
Example 5: CBSE Percentage with Different Maths Marks
A student scored: English 85, Hindi 78, Science 92, Social 88. What percentage will they get with different Maths marks?
| Maths Marks | Total (out of 500) | Percentage |
|---|---|---|
| 60 | 403 | 80.6% |
| 70 | 413 | 82.6% |
| 80 | 423 | 84.6% |
| 90 | 433 | 86.6% |
| 95 | 438 | 87.6% |
| 100 | 443 | 88.6% |
Example 6: Two-Variable — Rental Yield Analysis
Property value ranges from ₹40L to ₹80L. Monthly rent ranges from ₹15,000 to ₹30,000. Calculate annual rental yield = (Annual Rent / Property Value) × 100
| Value \ Rent | ₹15,000 | ₹20,000 | ₹25,000 | ₹30,000 |
|---|---|---|---|---|
| ₹40,00,000 | 4.50% | 6.00% | 7.50% | 9.00% |
| ₹50,00,000 | 3.60% | 4.80% | 6.00% | 7.20% |
| ₹60,00,000 | 3.00% | 4.00% | 5.00% | 6.00% |
| ₹70,00,000 | 2.57% | 3.43% | 4.29% | 5.14% |
| ₹80,00,000 | 2.25% | 3.00% | 3.75% | 4.50% |
Example 7: Car Loan EMI — Varying Down Payment
Car price: ₹12,00,000. Rate: 9%. Tenure: 5 years. How does EMI change with different down payments?
| Down Payment (%) | Loan Amount (₹) | Monthly EMI (₹) | Total Interest Paid (₹) |
|---|---|---|---|
| 10% | 10,80,000 | 22,422 | 2,45,320 |
| 15% | 10,20,000 | 21,176 | 2,31,580 |
| 20% | 9,60,000 | 19,931 | 2,17,840 |
| 25% | 9,00,000 | 18,685 | 2,04,100 |
| 30% | 8,40,000 | 17,440 | 1,90,360 |
Example 8: Flipkart Seller — Profit vs Discount %
Product MRP: ₹1,999. Cost: ₹800. Platform fee: 15% of selling price. How does profit change with different discount percentages?
| Discount % | Selling Price (₹) | Platform Fee (₹) | Net Revenue (₹) | Profit (₹) |
|---|---|---|---|---|
| 0% | 1,999 | 300 | 1,699 | 899 |
| 10% | 1,799 | 270 | 1,529 | 729 |
| 20% | 1,599 | 240 | 1,359 | 559 |
| 30% | 1,399 | 210 | 1,189 | 389 |
| 40% | 1,199 | 180 | 1,019 | 219 |
| 50% | 999 | 150 | 849 | 49 |
Example 9: Two-Variable — Zomato Delivery Revenue
Revenue per order depends on average order value and number of orders/day. Monthly revenue = Orders/Day × 30 × Commission Rate × Avg Order Value.
| Orders \ Avg Value | ₹300 | ₹400 | ₹500 | ₹600 |
|---|---|---|---|---|
| 50/day | ₹6,75,000 | ₹9,00,000 | ₹11,25,000 | ₹13,50,000 |
| 100/day | ₹13,50,000 | ₹18,00,000 | ₹22,50,000 | ₹27,00,000 |
| 150/day | ₹20,25,000 | ₹27,00,000 | ₹33,75,000 | ₹40,50,000 |
| 200/day | ₹27,00,000 | ₹36,00,000 | ₹45,00,000 | ₹54,00,000 |
Commission rate assumed at 15%.
Example 10: Electricity Bill — Unit Slab Analysis
BSES Delhi charges: 0–200 units = ₹3/unit, 201–400 = ₹4.50/unit, 401–800 = ₹6.50/unit, 800+ = ₹7/unit. Build a data table showing monthly bill for 100 to 1000 units.
| Units Consumed | Bill Amount (₹) |
|---|---|
| 100 | 300 |
| 200 | 600 |
| 300 | 1,050 |
| 400 | 1,500 |
| 600 | 2,800 |
| 800 | 4,100 |
| 1000 | 5,500 |
Example 11: TCS Employee — Tax Under Old vs New Regime
Salary: ₹12,00,000. Use data table to compare tax payable at different income levels under new regime slabs.
| Taxable Income (₹) | Tax (New Regime) (₹) |
|---|---|
| 3,00,000 | 0 |
| 6,00,000 | 15,000 |
| 9,00,000 | 45,000 |
| 12,00,000 | 90,000 |
| 15,00,000 | 1,50,000 |
Example 12: Two-Variable — Reliance Retail Franchise Revenue
Monthly revenue depends on footfall and average billing. Revenue = Footfall × Conversion Rate × Avg Bill.
| Footfall \ Avg Bill | ₹500 | ₹800 | ₹1,200 | ₹1,500 |
|---|---|---|---|---|
| 1,000 | ₹1,50,000 | ₹2,40,000 | ₹3,60,000 | ₹4,50,000 |
| 2,000 | ₹3,00,000 | ₹4,80,000 | ₹7,20,000 | ₹9,00,000 |
| 3,000 | ₹4,50,000 | ₹7,20,000 | ₹10,80,000 | ₹13,50,000 |
Conversion rate assumed at 30%.
Example 13: PPF Maturity Value Over Different Years
Annual deposit of ₹1,50,000 in PPF at 7.1% interest. Maturity value at different tenures:
| Tenure (Years) | Total Deposited (₹) | Maturity Value (₹) | Interest Earned (₹) |
|---|---|---|---|
| 15 | 22,50,000 | 40,68,209 | 18,18,209 |
| 20 | 30,00,000 | 66,58,288 | 36,58,288 |
| 25 | 37,50,000 | 1,02,41,694 | 64,91,694 |
Example 14: Petrol Bunk Daily Revenue
Petrol price: ₹105/litre. Daily sales vary. How does daily revenue change?
| Litres Sold/Day | Revenue (₹) | Dealer Margin @₹3.5/L (₹) |
|---|---|---|
| 2,000 | 2,10,000 | 7,000 |
| 3,000 | 3,15,000 | 10,500 |
| 5,000 | 5,25,000 | 17,500 |
| 8,000 | 8,40,000 | 28,000 |
Example 15: Two-Variable — Wedding Budget Analysis
Total wedding cost depends on guest count and per-plate cost.
| Guests \ Per Plate | ₹800 | ₹1,200 | ₹1,600 | ₹2,000 |
|---|---|---|---|---|
| 200 | ₹1,60,000 | ₹2,40,000 | ₹3,20,000 | ₹4,00,000 |
| 300 | ₹2,40,000 | ₹3,60,000 | ₹4,80,000 | ₹6,00,000 |
| 500 | ₹4,00,000 | ₹6,00,000 | ₹8,00,000 | ₹10,00,000 |
| 800 | ₹6,40,000 | ₹9,60,000 | ₹12,80,000 | ₹16,00,000 |
📝 Practice Exercises
Exercise 1: Education Loan EMI Table
Create a one-variable data table for an education loan of ₹8,00,000 at rates from 8% to 12% (0.5% increments) for 7 years. Use =PMT(rate/12, years*12, -loan).
Exercise 2: Mutual Fund SIP Comparison
Create a two-variable data table showing the maturity value of a ₹10,000/month SIP with return rates (10%, 12%, 14%, 16%) and tenures (5, 10, 15, 20, 25 years).
Exercise 3: GST Collection Projection
A state's estimated taxable turnover is ₹50,000 crore. Create a data table showing GST collection at rates 5%, 12%, 18%, 28% and compliance rates 60%, 70%, 80%, 90%, 100%.
Exercise 4: Kirana Store Break-Even
A kirana store has fixed costs of ₹45,000/month and average margin of 12%. Create a data table showing profit for monthly sales from ₹2,00,000 to ₹10,00,000 (₹1,00,000 increments).
Exercise 5: Agricultural Yield Revenue
A Punjab farmer grows wheat. Create a two-variable table with yield per acre (15, 20, 25, 30 quintals) and MSP prices (₹2,015, ₹2,125, ₹2,275) to show revenue per acre.
Exercise 6: Tata Motors Showroom
Create a data table for Tata Nexon (₹9,00,000) with down payments from 0% to 40% and interest rates 7%, 8%, 9%, 10% for a 5-year loan. Show EMI for each combination.
Exercise 7: RD Maturity Calculator
Create a one-variable data table for a Recurring Deposit of ₹5,000/month at interest rates from 5% to 8.5% for 5 years.
Exercise 8: Restaurant Revenue Sensitivity
An Udupi restaurant has average bill ₹250 and seats 60 customers. Create a two-variable table varying table turnover rate (2, 3, 4, 5 times) and average bill (₹200, ₹250, ₹300, ₹350).
Alt + A + W + T — Open Data Table dialog (via ribbon shortcut)
Ctrl + Shift + { — Show all precedent cells (useful for tracing data table inputs)
F9 — Recalculate all formulas (data tables recalculate on F9 if calculation is manual)
Ctrl + ` — Toggle formula view to see {TABLE} formulas
📋 MCQ Quiz
In a one-variable data table with column input, where should the formula be placed?
- In the first cell of the input column
- One row above and one column to the right of the first input value
- Anywhere on the sheet
- In the last row of the table
How many input variables can a two-variable data table handle?
- 1
- 2
- 3
- Unlimited
What special formula does Excel use inside data table result cells?
- =VLOOKUP()
- =INDEX()
- {=TABLE(row_input, col_input)}
- =IF()
Which menu path leads to What-If Analysis in Excel?
- Home → What-If Analysis
- Insert → What-If Analysis
- Data → What-If Analysis
- Formulas → What-If Analysis
Can you delete individual cells within a data table result range?
- Yes, like any other cell
- No, you must delete the entire result range
- Only if you press Ctrl+Delete
- Only in Excel 365
Mixing up Row Input and Column Input: If your input values are in a column (vertical), use "Column input cell." If they're in a row (horizontal), use "Row input cell." Getting this backward is the #1 mistake students make with data tables.
🎯 Mini Project: Loan EMI Sensitivity Analyzer
🏠 Home Loan EMI Sensitivity Analyzer
Problem Statement
Build a comprehensive Excel tool that helps a prospective home buyer in India analyze their EMI under various conditions using both one-variable and two-variable data tables.
Requirements
- Sheet 1 — Input Dashboard: Loan amount (₹30L to ₹1Cr), Interest rate (7%–12%), Tenure (10–30 years), Down payment percentage
- Sheet 2 — One-Variable Table 1: EMI varying with interest rate (7% to 12%, 0.25% increments)
- Sheet 3 — One-Variable Table 2: EMI varying with tenure (5 to 30 years, 1-year increments)
- Sheet 4 — Two-Variable Table: EMI grid with interest rates (rows) vs tenure (columns)
- Sheet 5 — Total Interest Paid: Two-variable table showing total interest paid for each combination
- Add conditional formatting: Green for EMIs under ₹40,000, Yellow for ₹40,000–₹60,000, Red for above ₹60,000
Deliverables
- Working Excel file with 5 interconnected sheets
- All data tables properly configured and calculating
- Conditional formatting applied to highlight affordable vs expensive EMIs
- Summary section recommending the best loan option
📋 Assignment
Assignment 1: Compare 5 Indian Banks
Research current home loan rates for SBI, HDFC, ICICI, Axis, and PNB. Create a one-variable data table comparing EMIs for a ₹50,00,000 loan for 20 years at each bank's rate. Add a summary showing which bank offers the lowest EMI and how much you save over the loan tenure.
Assignment 2: Investment Growth Analyzer
Create a two-variable data table comparing mutual fund SIP maturity values for monthly investments of ₹5,000 to ₹50,000 (₹5,000 increments) with expected annual returns of 8%, 10%, 12%, 14%, 16% over a 15-year period.
🎤 Interview Questions
Q1: What is What-If Analysis in Excel and when would you use it?
Answer: What-If Analysis is a group of tools in Excel that allows you to test different scenarios by changing input values and observing the effect on results. It includes three tools: Data Tables (for sensitivity analysis with 1–2 variables), Goal Seek (for finding the input needed to achieve a desired output), and Scenario Manager (for saving and comparing named sets of inputs). I would use it when building financial models — for example, showing a client how their loan EMI changes across different interest rates and tenures, or when preparing business cases with best/worst/most likely scenarios.
Q2: Explain the difference between a one-variable and two-variable data table.
Answer: A one-variable data table changes one input and shows the result. The input values are either in a row or column, and there's one formula. A two-variable data table changes two inputs simultaneously — one set of values in the top row and another in the left column — and shows the result for every combination. The formula is placed at the intersection (top-left corner). Two-variable tables are ideal for sensitivity analysis where you want to see how two factors together impact the outcome.
Q3: Can you edit individual cells in a data table? Why or why not?
Answer: No, you cannot edit individual cells within a data table's result area because Excel generates a special {=TABLE()} array formula for the entire result range. This means all cells are part of a single array and must be treated as a unit. To modify the results, you either change the input values, change the base formula, or delete the entire result range and recreate it. This is by design — it ensures data integrity and prevents accidental corruption of the sensitivity analysis.
📌 Chapter 27 Summary
- What-If Analysis has 3 tools: Data Tables, Goal Seek, and Scenario Manager
- One-variable data table: tests multiple values of ONE input
- Two-variable data table: tests combinations of TWO inputs
- Formula placement is critical: top-left for two-variable, offset position for one-variable
- Data tables use the special {=TABLE()} array formula internally
- You cannot edit individual cells in a data table result range
- Path: Data → What-If Analysis → Data Table
- Ideal for EMI analysis, sensitivity studies, pricing strategies, and financial comparisons
Goal Seek — Finding the Input for a Desired Output
🎯 Reverse Engineering Your Numbers
You know your budget allows a maximum EMI of ₹35,000/month. But how much home loan can you afford? Or — you need 90% in your board exam. You've scored in 4 subjects already. How much do you need in Maths? Goal Seek answers these "backward" questions instantly.
🎯 Learning Objectives
- Understand the concept of Goal Seek — working backward from a desired result
- Use the Goal Seek dialog box: Set cell, To value, By changing cell
- Apply Goal Seek to financial, academic, and business scenarios
- Understand the limitations of Goal Seek (single variable, iterative solver)
- Combine Goal Seek with formulas like PMT, SUM, AVERAGE, and IF
📖 Theory — What is Goal Seek?
Goal Seek is like asking Excel: "I know what answer I want — now tell me what input I need." While normally you change inputs to see outputs, Goal Seek reverses the process. You specify the desired output, and Excel calculates the required input.
The Three Parameters
| Parameter | What It Means | Example |
|---|---|---|
| Set cell | The cell containing the formula whose result you want to control | EMI formula cell (B5) |
| To value | The desired result you want the formula to produce | 35000 (target EMI) |
| By changing cell | The input cell that Excel should adjust to achieve the result | Loan amount cell (B2) |
How to Access Goal Seek
Navigate to: Data → What-If Analysis → Goal Seek
How Goal Seek Works Internally
Goal Seek uses an iterative algorithm. It starts with the current value in the "By changing cell," then tries different values — adjusting up and down — until it finds a value that makes the formula produce the target result (within a small tolerance). It typically finds the answer in milliseconds.
Goal Seek can perform up to 32,767 iterations to find the answer. If it can't converge (find a solution), it'll tell you. You can adjust the maximum iterations and precision under File → Options → Formulas → Calculation Options.
Limitations of Goal Seek
- Can only change one variable at a time
- The "Set cell" must contain a formula (not a hardcoded value)
- The "By changing cell" must contain a value (not a formula)
- Goal Seek may not find a solution if the relationship is non-monotonic or discontinuous
- For multiple variables or constraints, use Solver instead (Chapter 31)
The CBSE marks example is the most relatable for students. Start with: "You need 85% overall. You've already written 4 exams. How much do you need in the last one?" Then transition to financial examples. Students often confuse which cell is "Set cell" and which is "By changing cell" — use the analogy: "Set cell = the answer cell, By changing cell = the question cell."
📋 Step-by-Step: Using Goal Seek
Scenario: Maximum Affordable Home Loan
Your maximum EMI budget is ₹35,000. Interest rate: 8.5%. Tenure: 20 years. What's the maximum loan you can take?
Step 1: Set up the worksheet:
| Cell | Label | Value |
|---|---|---|
| B2 | Loan Amount | 5000000 (initial guess) |
| B3 | Annual Rate | 8.5% |
| B4 | Tenure (Years) | 20 |
| B5 | Monthly EMI | =PMT(B3/12, B4*12, -B2) |
Step 2: Go to Data → What-If Analysis → Goal Seek
Step 3: Fill in the dialog:
- Set cell: B5 (EMI formula)
- To value: 35000
- By changing cell: B2 (Loan Amount)
Step 4: Click OK. Excel iterates and finds: Loan Amount = ₹40,33,062
Result: You can afford a maximum home loan of approximately ₹40.33 lakhs if your budget is ₹35,000/month EMI.
✏️ Solved Examples
Example 1: Required Marks in Maths for 90% Overall (CBSE)
A Class X student has scored: English 88, Hindi 82, Science 95, Social Science 91. What marks does she need in Maths for 90% overall?
| Cell | Subject | Marks |
|---|---|---|
| B2 | English | 88 |
| B3 | Hindi | 82 |
| B4 | Science | 95 |
| B5 | Social Science | 91 |
| B6 | Maths | 80 (initial guess) |
| B7 | Total | =SUM(B2:B6) |
| B8 | Percentage | =B7/500*100 |
Goal Seek: Set cell = B8, To value = 90, By changing cell = B6
Result: She needs 94 marks in Maths to achieve 90% overall.
Example 2: Break-Even Units for a Chai Stall
A chai stall in Mumbai has fixed costs of ₹15,000/month. Each cup costs ₹8 to make and sells for ₹20. How many cups must be sold to break even?
| Cell | Label | Value/Formula |
|---|---|---|
| B2 | Selling Price/Cup | 20 |
| B3 | Cost/Cup | 8 |
| B4 | Fixed Costs | 15000 |
| B5 | Cups Sold | 1000 (initial guess) |
| B6 | Revenue | =B2*B5 |
| B7 | Total Cost | =B3*B5+B4 |
| B8 | Profit | =B6-B7 |
Goal Seek: Set cell = B8, To value = 0, By changing cell = B5
Result: 1,250 cups/month (approximately 42 cups/day) needed to break even.
Example 3: Loan Amount for ₹25,000 EMI
Car loan: Rate 9.5%, Tenure 5 years. Maximum EMI budget: ₹25,000. Maximum affordable loan?
Goal Seek: Set cell = PMT formula, To value = 25000, By changing cell = Loan Amount
Result: Maximum car loan = ₹12,05,341
Example 4: Required Revenue to Achieve Target Profit
A Bengaluru startup has fixed costs of ₹8,00,000/month and variable cost ratio of 40%. Target profit: ₹5,00,000. What revenue is needed?
| Cell | Label | Value/Formula |
|---|---|---|
| B2 | Revenue | 1500000 (guess) |
| B3 | Variable Cost (40%) | =B2*0.4 |
| B4 | Fixed Cost | 800000 |
| B5 | Profit | =B2-B3-B4 |
Goal Seek: Set cell = B5, To value = 500000, By changing cell = B2
Result: Revenue needed = ₹21,66,667
Example 5: Interest Rate for ₹1 Crore FD Maturity
You invest ₹70,00,000 in an FD for 5 years (quarterly compounding). What interest rate gives ₹1,00,00,000 maturity?
Formula: =FV(B3/4, 5*4, 0, -7000000)
Goal Seek: Set cell = FV formula, To value = 10000000, By changing cell = Rate
Result: Required rate ≈ 7.18%
Example 6: Discount % to Clear Inventory
A retailer has 500 units at ₹1,200 MRP. Target revenue: ₹4,50,000. What discount % is needed?
Goal Seek: Set cell = Revenue formula, To value = 450000, By changing cell = Discount %
Result: Discount = 25% (Selling at ₹900 each)
Example 7: Required Salary Hike for Target Take-Home
Current CTC: ₹6,00,000. Tax: 10%. Deductions: ₹60,000. Target monthly take-home: ₹50,000.
| Cell | Label | Value/Formula |
|---|---|---|
| B2 | Annual CTC | 600000 |
| B3 | Tax (10%) | =B2*0.1 |
| B4 | Deductions | 60000 |
| B5 | Annual Take-Home | =B2-B3-B4 |
| B6 | Monthly Take-Home | =B5/12 |
Goal Seek: Set cell = B6, To value = 50000, By changing cell = B2
Result: Required CTC = ₹7,33,333 (22.2% hike needed)
Example 8: Minimum Price for 20% Profit Margin
Cost of goods: ₹5,60,000. Operating expenses: ₹1,40,000. What selling price gives 20% profit margin?
Result: Selling price = ₹8,75,000
Example 9: CIBIL Score Target — Required On-Time Payments
A simplified credit score model: Score = 300 + (On-time payments/Total payments) × 600. Current: 52 on-time out of 70 total. What on-time payment count gives score of 750?
Result: Need 53 on-time payments out of 70 (already close!)
Example 10: Class Average Target
A teacher has 30 students. Current average: 72.5. If 5 students retake the exam, what average do they need to bring class average to 78?
Result: The 5 students need to average 105 — which is impossible (max 100), so the teacher needs to adjust the target or allow more retakes.
Example 11: Manufacturing — Units for Target Revenue
Product sells at ₹450/unit. Target monthly revenue: ₹15,00,000. How many units to sell?
Result: 3,334 units/month
Example 12: SIP Amount for ₹1 Crore Corpus
Expected return: 12% p.a. Duration: 15 years. What monthly SIP creates ₹1 crore?
Formula: =FV(12%/12, 15*12, -B2)
Goal Seek: Set cell = FV, To value = 10000000, By changing cell = SIP amount
Result: Monthly SIP = approximately ₹21,002
=PMT(rate, nper, pv, [fv], [type])
rate = periodic interest rate (annual rate / 12 for monthly)
nper = total number of payment periods (years × 12 for monthly)
pv = present value (loan amount, entered as negative for loans)
Example 1: =PMT(8.5%/12, 20*12, -5000000) → ₹43,391/month
Example 2: =PMT(9%/12, 7*12, -800000) → ₹12,506/month
Example 3: =PMT(10%/12, 5*12, -1200000) → ₹25,497/month
📝 Practice Exercises
Exercise 1: Target CGPA
A student has completed 5 semesters with CGPAs: 7.8, 8.2, 7.5, 8.6, 8.1. Use Goal Seek to find the required 6th semester CGPA to achieve overall CGPA of 8.5.
Exercise 2: Break-Even for Food Truck
A Delhi food truck has fixed costs of ₹50,000/month. Average meal cost: ₹120, selling price: ₹280. Find break-even units using Goal Seek.
Exercise 3: Required Investment for Retirement
Target retirement corpus: ₹5 crore. Expected return: 10% p.a. Years to retirement: 25. Find the required annual investment using Goal Seek with FV function.
Exercise 4: Rent Increase for Profitability
A landlord has 10 rental units. Monthly expenses: ₹1,50,000. Current rent: ₹12,000/unit. Find the rent needed for ₹50,000 monthly profit.
Exercise 5: Optimal Ticket Price
Event costs: ₹3,00,000. Expected attendees: 500. Find ticket price for break-even and for ₹1,00,000 profit.
Exercise 6: Required Sales for Commission Target
A salesperson earns ₹25,000 base + 3% commission. Target monthly income: ₹60,000. Find required sales value.
📋 MCQ Quiz
The "Set cell" in Goal Seek must contain:
- A hardcoded number
- A formula
- Text
- Any value
How many variables can Goal Seek change at a time?
- 1
- 2
- 3
- Unlimited
Goal Seek is accessed from which tab?
- Home
- Formulas
- Data
- View
If Goal Seek cannot find a solution, it means:
- Your Excel is broken
- The formula has an error
- No value of the changing cell can produce the desired result, or Goal Seek hit its iteration limit
- You need to restart Excel
After Goal Seek finds a solution, the "By changing cell" value:
- Stays the same as before
- Is permanently changed to the solution value
- Is changed but you can click Cancel to undo
- Is saved in a separate sheet
Alt + A + W + G — Open Goal Seek dialog directly
Ctrl + Z — Undo Goal Seek result (if you forgot to click Cancel)
Tab — Move between fields in the Goal Seek dialog
Setting the "By changing cell" to a cell with a formula: Goal Seek can only change cells containing values (numbers), not formulas. If you point it to a formula cell, it will overwrite the formula with a number, breaking your spreadsheet. Always double-check that the changing cell contains a plain number.
🎯 Mini Project: Break-Even Analysis Tool
📊 Break-Even Analysis Tool for Small Business
Problem Statement
Build an Excel tool for a small business owner (e.g., a bakery in Hyderabad) that calculates break-even point using Goal Seek and provides sensitivity analysis.
Requirements
- Input Section: Fixed costs (rent, salary, utilities), variable cost per unit, selling price per unit
- Calculations: Revenue, total cost, profit/loss formulas
- Goal Seek Applications:
- Find break-even units (Profit = 0)
- Find units for ₹1,00,000 monthly profit
- Find required selling price for break-even at 500 units
- Find maximum fixed cost for break-even at current production
- Create a break-even chart showing Revenue and Total Cost lines
- Include a one-variable data table showing profit at different production levels (500 to 5,000 units)
Sample Data
| Item | Value |
|---|---|
| Rent | ₹30,000/month |
| Salaries (4 staff) | ₹60,000/month |
| Utilities | ₹10,000/month |
| Cost per cake/pastry | ₹120 |
| Average selling price | ₹300 |
Deliverables
- Working Excel file with Goal Seek results documented
- Break-even chart with clearly marked break-even point
- Sensitivity table showing profit across different scenarios
- Written recommendation for the business owner
🎤 Interview Questions
Q1: How does Goal Seek differ from Solver?
Answer: Goal Seek is simpler and faster — it changes one variable to achieve one target. Solver is more powerful — it can change multiple variables simultaneously, handle constraints (like "production ≤ 1000 units"), and optimize (maximize/minimize) rather than just seek a specific value. Goal Seek is built-in; Solver needs to be enabled as an add-in. Use Goal Seek for quick single-variable problems; use Solver for complex optimization with multiple variables and constraints.
Q2: Give a real business scenario where you'd use Goal Seek.
Answer: In my previous role, we needed to determine the minimum number of units to sell to achieve a quarterly target of ₹50 lakhs profit. I set up the profit formula (Revenue - Variable Costs - Fixed Costs) in Excel, then used Goal Seek with Set cell = Profit formula, To value = 5000000, By changing cell = Units sold. Goal Seek instantly found we needed to sell 8,334 units, which helped the sales team set realistic monthly targets of ~2,778 units.
Q3: What happens if Goal Seek finds a solution that doesn't make business sense?
Answer: Goal Seek is purely mathematical — it doesn't understand business logic. For example, it might suggest selling -500 units or setting a price at ₹0. In such cases, you need to validate the result. If the answer is impractical (negative numbers, fractions where whole numbers are needed, values beyond physical limits), it means the target itself may be unrealistic with the given constraints. You'd then need to adjust your assumptions or use Solver with appropriate constraints to ensure business-valid results.
📌 Chapter 28 Summary
- Goal Seek works backward: you specify the desired output, it finds the required input
- Three parameters: Set cell (formula), To value (target), By changing cell (input)
- Path: Data → What-If Analysis → Goal Seek
- Can only change ONE variable at a time
- Set cell must have a formula; By changing cell must have a value
- Uses iterative algorithm (up to 32,767 iterations)
- After solving: OK to keep result, Cancel to revert
- For multiple variables and constraints, use Solver instead