Session 14 ยท Phase 2: Excel

Excel Charts, Conditional Formatting & What-If Analysis

Turn numbers into visuals, highlight what matters, and model "what if" scenarios โ€” the skills that make analysis persuasive and decision-ready.

โฑ ~2 hrs ๐Ÿ“š Core content ๐ŸŽฏ High priority

Learning Objectives

1. Charts โ€” Choosing the Right One

The right chart makes the insight obvious; the wrong one hides it. Match the chart to the question.

ChartBest forExample
Column / Barcomparing categoriessales by region
Linetrend over timemonthly revenue
Pie / Doughnutpart-to-whole (one series)market share
Scatterrelationship between two numbersprice vs units sold
Areacumulative trend / magnitudecumulative sales
Combotwo different scales togethersales + profit %
๐Ÿ’ก
Pro Tip: "Trend over time โ†’ line chart" and "compare categories โ†’ bar/column chart" are the two answers interviewers most want to hear. Avoid pie charts for more than ~5 categories.

2. Conditional Formatting

Conditional Formatting applies visual rules to cells automatically โ€” colors, data bars, icons โ€” based on their values. It makes patterns and outliers jump out without manual formatting.

Common rule types

๐ŸŒ
Real World: "Highlight every region where sales dropped below target in red" is a 10-second conditional-formatting rule โ€” and exactly the kind of request a stakeholder makes.

3. What-If Analysis โ€” an Overview

What-If tools let you test how changing inputs affects a result, without rewriting formulas. Excel has three, each solving a different problem.

ToolQuestion it answers
Goal Seek"What input do I need to hit this target?"
Data Table"How does the result change across a range of inputs?"
Scenario Manager"How do several inputs compare together (best/worst/base)?"

4. Goal Seek

Goal Seek works backwards: you tell Excel the result you want, and it finds the one input that produces it.

Data โ†’ What-If Analysis โ†’ Goal Seek
  Set cell:     the formula cell (e.g. profit)
  To value:     your target (e.g. 5000)
  By changing:  the input cell (e.g. price)
๐Ÿ“
Example: "How many units must I sell to reach โ‚น50,000 profit?" Set the profit cell to 50000, and change the units cell โ€” Excel solves it. Note: Goal Seek changes one input at a time.

5. Data Tables

A Data Table shows how a formula changes across a range of one or two input values โ€” like a mini sensitivity grid.

Data โ†’ What-If Analysis โ†’ Data Table
  Row input cell:    (for a two-variable table)
  Column input cell: the variable you're testing

Use it to answer: "What would profit be at 100, 200, 300โ€ฆ units?" in one grid.

6. Scenario Manager

Scenario Manager compares multiple sets of inputs โ€” a "best case", "base case", and "worst case" โ€” and summarizes them side by side.

Data โ†’ What-If Analysis โ†’ Scenario Manager โ†’ Add Scenario
๐Ÿ’ก
The key difference to remember: Goal Seek = one target, one input. Data Table = a range of one/two inputs. Scenario Manager = several complete input sets compared together.

7. Sparklines

Sparklines are tiny charts inside a single cell โ€” a quick visual of a row's trend without a full chart. Great for dense dashboards and tables.

๐Ÿ“‹ Stable content โ€” Reviewed: August 2026

8. Interview Questions (with Model Answers)

Charts, conditional formatting, and what-if questions. Self-test before revealing.

IQ1. Which chart would you use to show a trend over time?

Model answer: "A line chart โ€” it shows change over time most clearly. For comparing categories I'd use a bar/column chart, and for part-to-whole a pie chart."

IQ2. What is Conditional Formatting, and how do you use it?

Model answer: "It applies visual rules to cells automatically based on their values โ€” like highlighting values above a threshold, top 10 items, or duplicates. I use it to surface outliers and patterns without manually coloring cells."

IQ3. How do you highlight outliers or top values using Conditional Formatting?

Model answer: "I use Top/Bottom Rules for the top N or above-average values, Highlight Cell Rules for a threshold like 'greater than 100', and Data Bars or Color Scales to visualize relative size."

IQ4. What is Goal Seek, and when would you use it?

Model answer: "Goal Seek works backwards โ€” I set a formula cell to a target value and Excel finds the single input that produces it. For example, how many units to sell to reach a โ‚น50,000 profit."

IQ5. What's the difference between Goal Seek and Scenario Manager?

Model answer: "Goal Seek solves for one target using one input. Scenario Manager compares multiple complete sets of inputs โ€” like best, base, and worst case โ€” side by side."

IQ6. What is a Data Table in What-If analysis?

Model answer: "A Data Table shows how a formula changes across a range of one or two input values โ€” a sensitivity grid. I'd use it to see profit at 100, 200, 300 units in a single table."

IQ7. What's the difference between a Data Table and Scenario Manager?

Model answer: "A Data Table varies one or two inputs across a continuous range. Scenario Manager compares a handful of named, complete scenarios โ€” each with multiple inputs set together."

IQ8. How do you decide between a bar chart and a line chart?

Model answer: "Bar/column for comparing distinct categories; line for a continuous trend, usually over time. If the x-axis is time, line is usually the better choice."

IQ9. What are Sparklines, and when would you use them?

Model answer: "Sparklines are tiny charts inside a single cell that show a row's trend at a glance. I use them in dense tables and dashboards where a full chart would be too large."

Hands-On Project: Visualize and Model

Using a simple sales dataset (region, month, sales, target, units, price), complete the following.

Steps

  1. Create a line chart showing sales by month.
  2. Create a bar chart comparing total sales by region.
  3. Apply conditional formatting to highlight any month where sales fell below target.
  4. Use Goal Seek to find the price that produces a target profit of โ‚น50,000.
  5. Create a Data Table showing profit across a range of units sold.
View Solution / Walkthrough
  1. Select month + sales โ†’ Insert โ†’ Line Chart.
  2. Select region + total sales โ†’ Insert โ†’ Bar Chart.
  3. Select the sales column โ†’ Home โ†’ Conditional Formatting โ†’ Highlight Cell Rules โ†’ Less Than โ†’ point to the target cell.
  4. Data โ†’ What-If Analysis โ†’ Goal Seek โ†’ Set profit cell = 50000, By changing price cell.
  5. Set up a formula for profit โ†’ Data โ†’ What-If Analysis โ†’ Data Table โ†’ column input = units.

Together these mirror the daily "visualize + highlight + model" cycle of an analyst.

Key Takeaways

1

Line = trend over time; bar = compare categories; pie = part-to-whole.

2

Conditional Formatting surfaces outliers and patterns automatically.

3

Goal Seek finds the input for a target result (one input, one target).

4

Data Tables vary one/two inputs; Scenario Manager compares full input sets.

5

Sparklines pack a mini trend chart into a single cell.

Objective Questions โ€” Test Your Understanding

Q1. Which chart type is best for showing a trend over time?

Q2. Which Conditional Formatting rule highlights values above a threshold?

Q3. What does Goal Seek do?

Q4. Which tool compares multiple complete input sets (best/worst/base case)?

Q5. Which chart is best for showing part-to-whole (a single series)?