Microsoft Excel Mastery

Part X: Professional Dashboards

KPI Dashboards, Sales Analytics, HR Analytics, School Performance & Research Dashboards — built with real Indian data and professional design principles.

📊 5 Complete Dashboards  |  75 Solved Examples  |  25 MCQs  |  15 Interview Questions

Chapter 44

KPI Dashboard — Design, Build & Interact

📊 Why Dashboards Matter in Indian Business

Every morning, a Reliance Retail area manager opens an Excel dashboard showing yesterday's sales across 500+ stores. At TCS, project managers track delivery metrics for 600,000+ employees. At Zomato, city heads monitor order volumes, delivery times, and restaurant ratings — all on a single screen. A well-designed KPI dashboard turns raw data into actionable decisions in under 10 seconds.

RelianceTCSZomatoFlipkart

Learning Objectives

  • Understand dashboard design principles: layout grid, color scheme, typography, visual hierarchy
  • Define KPIs with proper targets, thresholds, and measurement periods
  • Create KPI cards showing actual vs target with percentage achievement and trend arrows
  • Implement traffic light indicators using conditional formatting and icon sets
  • Build gauge/speedometer charts using the doughnut chart trick
  • Add interactive elements: slicers, dropdowns, combo boxes, scroll bars, option buttons
  • Link form controls to cells and use INDIRECT for dynamic ranges
  • Create dashboard navigation with hyperlinks, buttons, and VBA macros

Theory: Dashboard Design Principles

A professional dashboard follows a grid-based layout — typically a 12-column grid where KPI cards span 2-3 columns and charts span 4-6 columns. The key principles are:

1. Layout Grid

Divide your Excel sheet into zones: Header Zone (rows 1-3) for title and filters, KPI Zone (rows 4-8) for metric cards, Chart Zone (rows 9-25) for visualizations, and Detail Zone (rows 26+) for data tables. Merge cells strategically — each KPI card might occupy a 4-column × 5-row block.

[Screenshot: Excel grid layout with zones marked — Header, KPI Cards, Charts, and Detail areas highlighted in different colors]

2. Color Scheme

Use a maximum of 3-4 colors. A professional palette: dark navy (#0f172a) for headers, white (#ffffff) for card backgrounds, green (#059669) for positive metrics, red (#ef4444) for negative, and grey (#94a3b8) for secondary text. Avoid rainbow dashboards — they confuse rather than clarify.

3. Visual Hierarchy

The most important metric should be the largest element on screen. Use font sizes: 24pt for primary KPI values, 14pt for labels, 10pt for supporting text. The reader's eye should follow a Z-pattern: top-left → top-right → bottom-left → bottom-right.

4. Typography Rules

Use Calibri or Segoe UI for body text, bold weights for values. Numbers should be right-aligned, labels left-aligned. Format large numbers with Indian number system: ₹12,45,000 (not ₹1,245,000).

Start by showing students a "bad" dashboard — one with 15 colors, Comic Sans font, 3D pie charts, and no alignment. Then show the redesigned version. The contrast makes the principles memorable. Have students critique the bad design before revealing rules.

KPI Formulas & Calculations

Percentage Achievement
=Actual/Target*100
Calculates how much of the target has been achieved. Values above 100% indicate over-achievement.

Example 1: A Flipkart warehouse targets 5,000 dispatches/day. Today's actual is 4,750.

MetricValueFormula
Target5,000—
Actual4,750—
Achievement %95.0%=4750/5000*100
Gap250=5000-4750

Example 2: Zomato delivery target: average 30 minutes. Actual average: 27 minutes.

MetricValueFormula
Target (min)30—
Actual (min)27—
Achievement %111.1%=30/27*100 (lower is better, so invert)
Trend Arrow Using IF
=IF(Current>Previous,"▲ "&TEXT((Current-Previous)/Previous,"0.0%"),IF(Current<Previous,"â–ŧ "&TEXT((Previous-Current)/Previous,"0.0%"),"â–ē 0.0%"))
Displays an up arrow (▲) with percentage increase, down arrow (â–ŧ) with percentage decrease, or right arrow (â–ē) for no change.

Example 3: TCS quarterly revenue comparison:

QuarterRevenue (₹ Cr)Trend
Q1 FY2559,381—
Q2 FY2561,408▲ 3.4%
Q3 FY2560,583â–ŧ 1.3%
Traffic Light Indicator
=IF(Achievement>=100,"đŸŸĸ",IF(Achievement>=80,"🟡","🔴"))
Green circle for on-track (â‰Ĩ100%), yellow for caution (80-99%), red for danger (<80%).

Building a Gauge Chart (Doughnut Trick)

Excel doesn't have a native gauge chart. We create one using a doughnut chart with 2 data series:

  1. Background ring: Three segments — Green zone (0-80%), Yellow zone (80-100%), Red zone (100-180%). These are fixed values: 80, 20, 80 = total 180.
  2. Needle ring: Two segments — the KPI value and the remainder (180 - value). Format the remainder as "No Fill."
  3. Rotate the chart 270° so the gauge starts at the bottom-left.
  4. Set the bottom half to "No Fill" — this creates the semi-circle gauge effect.
[Screenshot: Step-by-step gauge chart creation — showing the doughnut chart with colored segments and a needle indicator at 72%]

Interactive Elements

Adding a Combo Box (Form Control)

  1. Go to Developer → Insert → Combo Box (Form Control)
  2. Draw the control on your dashboard
  3. Right-click → Format Control
  4. Set Input Range to your list (e.g., region names: North, South, East, West)
  5. Set Cell Link to a hidden cell (e.g., Z1) — this stores the selected index number
  6. Use =INDEX(RegionList, Z1) to get the selected region name
INDIRECT for Dynamic Ranges
=SUM(INDIRECT("Sales_"&SelectedRegion&"[Amount]"))
Dynamically references a named range based on user selection. If SelectedRegion = "North", this becomes =SUM(Sales_North[Amount]).
Don't confuse Form Controls with ActiveX Controls. Form Controls work on all platforms (including Mac and Excel Online) and don't require macros. ActiveX Controls are Windows-only and require VBA. For dashboards that need to be shared, always use Form Controls.
Alt + F1 — Insert chart from selected data
Ctrl + Shift + L — Toggle AutoFilter
Alt + N + S + S — Insert a Slicer
F5 → Special → Blanks — Select all blank cells for cleanup

Solved Examples (1–15)

Example 1: Revenue KPI Card

MonthTarget (₹ Lakh)Actual (₹ Lakh)
Jan5047
Feb5558
Mar6062

KPI Card Layout: Achievement = =B4/A4*100 → 94%. Trend = =IF(B4>B3,"▲","â–ŧ") → ▲. Traffic Light = =IF(B4/A4>=1,"đŸŸĸ",IF(B4/A4>=0.8,"🟡","🔴")) → 🟡

Example 2: Customer Count KPI

Target: 10,000 new customers. Actual: 11,250. Achievement: =11250/10000 = 112.5% đŸŸĸ. Trend vs last month (9,800): ▲ 14.8%.

Example 3: Average Order Value

A Myntra dashboard tracks AOV. Target: ₹1,800. Actual: ₹1,650. Achievement: 91.7% 🟡. Formula: =AVERAGE(Orders[Amount])

Example 4: Delivery SLA Compliance

Delhivery targets 95% on-time delivery. Formula: =COUNTIF(Deliveries[OnTime],"Yes")/COUNTA(Deliveries[OnTime]). Result: 4,275 out of 4,500 = 95% đŸŸĸ.

Example 5: Employee Productivity KPI

Infosys tracks revenue per employee. Target: ₹32 lakh/year. Actual: ₹29.5 lakh. Achievement: 92.2% 🟡.

Example 6: Scroll Bar for Month Selection

Create a scroll bar linked to cell Z2 (min=1, max=12, step=1). Use =INDEX({"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"},Z2) to display selected month. Link all KPI calculations to filter by this month using SUMIFS.

Example 7: Option Buttons for Region

Create 4 option buttons (North/South/East/West) in a Group Box. Link to cell Z3. Use =CHOOSE(Z3,"North","South","East","West") to get region name, then =SUMIFS(Sales[Amount],Sales[Region],ChosenRegion).

Example 8: Dynamic Chart Title

Link chart title to a cell: ="Sales Performance — "&SelectedRegion&" | "&SelectedMonth&" 2025". This updates automatically when filters change.

Example 9: Gauge Chart for NPS Score

Net Promoter Score target: 70. Actual: 63. Background: 60 (green), 20 (yellow), 20 (red). Needle value: 63. Remainder: 37. Rotate 270°. Hide bottom half.

Example 10: Sparkline KPI Cards

Add sparklines showing 12-month trend inside each KPI card. Select the card cell → Insert → Sparklines → Line. Data range: 12 monthly values. Set high point marker in green, low point in red.

Example 11: Conditional Icon Sets

Select achievement column → Home → Conditional Formatting → Icon Sets → 3 Traffic Lights. Custom: đŸŸĸ â‰Ĩ 100, 🟡 â‰Ĩ 80, 🔴 < 80. Check "Show Icon Only" for clean KPI cards.

Example 12: Navigation Buttons

Insert a rounded rectangle shape → Right-click → Assign Macro → Create macro: Sub GoToSales() Sheets("Sales").Select: Range("A1").Select: End Sub. Format with green fill (#059669), white text, no border.

Example 13: Hyperlink Navigation

Use =HYPERLINK("#Sales!A1","📊 Go to Sales") for in-workbook navigation without macros. Style the cell as a button using borders and fill.

Example 14: Data Validation Dropdown

Data → Data Validation → List → Source: North,South,East,West. Named cell "RegionFilter". All SUMIFS reference this cell. Changing dropdown updates the entire dashboard.

Example 15: Complete KPI Card with All Elements

ElementCellFormula
TitleB4"Monthly Revenue"
ValueB5=SUMIFS(Data[Amount],Data[Month],SelMonth,Data[Region],SelRegion)
TargetB6=VLOOKUP(SelMonth,Targets,2,0)
AchievementB7=B5/B6 (format as %)
Trend ArrowB8=IF(B5>PrevMonth,"▲","â–ŧ")&" "&TEXT(ABS(B5-PrevMonth)/PrevMonth,"0.0%")
Traffic LightB9=IF(B7>=1,"đŸŸĸ",IF(B7>=0.8,"🟡","🔴"))

Practice Exercises

  1. Create a KPI card for "Customer Satisfaction Score" with target 4.5/5, actual 4.2/5. Include achievement %, trend arrow (previous was 4.0), and traffic light.
  2. Build a gauge chart showing production efficiency at 78% (target 90%). Color zones: Green 80-100%, Yellow 60-80%, Red 0-60%.
  3. Create a combo box with 5 Indian cities (Mumbai, Delhi, Bangalore, Chennai, Kolkata). Link it to a SUMIFS formula that shows total sales for the selected city.
  4. Design a scroll bar that lets users select a year (2020-2025). Connect it to a line chart showing monthly revenue for the selected year.
  5. Build 4 option buttons for quarters (Q1-Q4) and create a dynamic chart title that updates based on selection.
  6. Create a navigation dashboard with 5 buttons linking to different sheets: Sales, HR, Finance, Operations, Summary.
  7. Design a KPI dashboard header with company logo placeholder, dashboard title, last-updated timestamp (=NOW()), and filter controls.
  8. Build a traffic light matrix showing 6 KPIs × 4 regions with conditional formatting icon sets.

MCQ Quiz

Q1

Which chart type is used to create a gauge/speedometer effect in Excel?

  1. Pie chart
  2. Doughnut chart
  3. Radar chart
  4. Funnel chart
✅ b) Doughnut chart — A half-doughnut with colored segments simulates a gauge. The bottom half is hidden by formatting as "No Fill."
Q2

A combo box Form Control stores which value in its linked cell?

  1. The selected text
  2. The index number of the selection
  3. TRUE or FALSE
  4. The cell address
✅ b) The index number — Form Control combo boxes return the position number (1, 2, 3...). Use INDEX to convert this to the actual text value.
Q3

What is the recommended maximum number of colors in a professional dashboard?

  1. 2
  2. 3-4
  3. 7-8
  4. No limit
✅ b) 3-4 colors — A limited palette maintains visual coherence. Use one primary color, one accent, and semantic colors (green/red) for status indicators.
Q4

Which function dynamically constructs a cell reference from text?

  1. OFFSET
  2. INDIRECT
  3. ADDRESS
  4. MATCH
✅ b) INDIRECT — INDIRECT converts a text string into a cell reference. Combined with dropdown selections, it enables dynamic range switching.
Q5

For dashboards shared across platforms, which control type is preferred?

  1. ActiveX Controls
  2. Form Controls
  3. VBA UserForms
  4. Power Query parameters
✅ b) Form Controls — They work on Windows, Mac, and Excel Online without requiring macros or VBA.

Assignments

Assignment 1: Company KPI Overview

Create a single-sheet KPI dashboard for a fictional Indian e-commerce company "ShopIndia" with these 6 KPIs: Total Revenue, Total Orders, Average Order Value, Customer Acquisition Cost, Return Rate, and Net Promoter Score. Each KPI card must show: current value, target, achievement %, trend arrow, and traffic light. Include a month selector (combo box) and region filter (option buttons).

Interview Q1: How would you design a dashboard for a CEO vs a store manager?

Answer: A CEO dashboard is strategic — showing high-level KPIs (revenue, profit margin, market share) with quarterly/annual trends. Minimal detail, maximum insight. Use sparklines and traffic lights. A store manager's dashboard is operational — showing daily metrics (footfall, conversion rate, inventory levels, staff attendance) with hourly granularity. Include actionable details and drill-down capability. The key difference is time horizon (strategic vs operational) and granularity (aggregated vs detailed).

Interview Q2: How do you handle dashboard performance when data exceeds 100,000 rows?

Answer: (1) Use Excel Tables with structured references for automatic expansion. (2) Use PivotTables as intermediate summarization — dashboards read from PivotTables, not raw data. (3) Minimize volatile functions (INDIRECT, OFFSET, NOW). (4) Use Power Query to pre-aggregate data. (5) Set calculation to Manual (Ctrl+F9 to recalculate on demand). (6) Move raw data to a separate workbook and use Data Model connections.

Interview Q3: What is the difference between a Report and a Dashboard?

Answer: A report is comprehensive, static, and retrospective — it details what happened. A dashboard is summarized, interactive, and real-time — it shows what's happening now and highlights exceptions. Reports are typically multi-page; dashboards fit on one screen. Reports answer "what"; dashboards answer "so what." In Indian corporate context, monthly MIS reports go to the board, while dashboards are used in daily stand-up meetings.

đŸŽ¯ Mini Project: Executive KPI Dashboard

Scenario: You are a Business Analyst at Reliance Retail. Build an Executive KPI Dashboard with:

  • 6 KPI Cards: Total Revenue (₹ Cr), Store Count, Avg Revenue/Store, Customer Footfall, Conversion Rate, Basket Size
  • Trend Sparklines: 12-month mini line chart inside each KPI card
  • Interactive Filters: Region dropdown (North/South/East/West), Format dropdown (Supermarket/Hypermarket/Digital), Quarter option buttons
  • Charts: Revenue trend line chart, Region comparison bar chart, Format-wise pie chart
  • Traffic Light Matrix: 6 KPIs × 4 Regions with icon set conditional formatting

Deliverables: Dashboard sheet, Data sheet (50+ rows sample data), Documentation sheet with formula explanations.

📋 Chapter 44 Summary

  • Dashboard design follows grid layout, limited colors (3-4), clear visual hierarchy, and Z-pattern reading flow
  • KPI cards combine: value + target + achievement % + trend arrow + traffic light indicator
  • Gauge charts use the half-doughnut trick with colored background segments
  • Form Controls (combo box, scroll bar, option buttons) add interactivity without VBA
  • INDIRECT function enables dynamic range references based on user selections
  • Navigation buttons use HYPERLINK function or assigned macros for sheet-to-sheet movement
Chapter 45

Sales Dashboard — Analytics & Visualization

💰 Flipkart's Big Billion Days: ₹25,000 Crore in 8 Days

During the Big Billion Days sale, Flipkart processes over ₹3,000 crore per day. Category managers need real-time dashboards showing: which products are selling fastest, which regions are lagging, which sellers need restocking, and which payment methods are failing. A sales dashboard isn't just a pretty chart — it's a decision-making cockpit.

FlipkartAmazon IndiaReliance

Learning Objectives

  • Structure sales data with proper columns: Date, Product, Region, Salesperson, Quantity, Amount
  • Create an Excel Table data model with structured references
  • Build PivotTables for multi-dimensional sales summarization
  • Design 5 chart types: revenue trend, product mix, regional comparison, top salespeople, target vs actual
  • Calculate Month-over-Month growth and visualize trends
  • Add interactive slicers and timeline filters
  • Apply conditional formatting to highlight top/bottom performers

Theory: Sales Data Model

DateProductRegionSalespersonQtyAmount (₹)
01-Jan-25LaptopNorthAmit Sharma53,25,000
01-Jan-25MobileSouthPriya Nair121,80,000
02-Jan-25TabletWestRaj Patel81,60,000
02-Jan-25LaptopEastSunita Das31,95,000
03-Jan-25AccessoriesNorthVikram Singh2575,000
03-Jan-25MobileWestRaj Patel152,25,000

Convert this data to an Excel Table (Ctrl+T) named tblSales. Structured references like tblSales[Amount] automatically expand as you add rows.

SUMIFS — Multi-Criteria Sum
=SUMIFS(tblSales[Amount], tblSales[Region], "North", tblSales[Product], "Laptop")
Sums all amounts where Region is "North" AND Product is "Laptop". Essential for filtering sales by multiple dimensions.

Example 1: Total Laptop sales in North region:

FilterCriteriaResult
Region = North, Product = Laptop=SUMIFS(tblSales[Amount],tblSales[Region],"North",tblSales[Product],"Laptop")₹3,25,000

Example 2: Total sales in January 2025:

=SUMIFS(tblSales[Amount], tblSales[Date], ">="&DATE(2025,1,1), tblSales[Date], "<="&DATE(2025,1,31))

Example 3: Count of transactions by Raj Patel:

=COUNTIF(tblSales[Salesperson], "Raj Patel")  → Result: 2
Month-over-Month Growth
=(Current_Month - Previous_Month) / Previous_Month * 100
Measures the percentage change between two consecutive months. Positive = growth, Negative = decline.

MoM Growth Example:

MonthRevenue (₹ Lakh)MoM Growth
Jan-2545.00—
Feb-2552.30+16.2%
Mar-2548.70-6.9%
Apr-2555.10+13.1%

Charts & Visualizations

Chart 1: Revenue Trend (Line Chart)

X-axis: Months. Y-axis: Revenue in ₹ Lakhs. Add a linear trendline to show overall direction. Format: smooth line, markers at data points, green color for positive months, red for declining months.

[Screenshot: Line chart showing 12-month revenue trend with trendline, markers at each month]

Chart 2: Product Mix (Pie/Donut Chart)

Use a PivotTable summarizing revenue by product. Create a doughnut chart showing each product's percentage contribution.

Chart 3: Regional Comparison (Clustered Bar)

Horizontal bar chart comparing North, South, East, West regions. Sort descending. Add data labels showing ₹ values in lakhs.

Chart 4: Top 5 Salespeople (Bar Chart)

Use LARGE and INDEX-MATCH to extract top 5 performers. Create horizontal bar chart sorted by revenue.

Chart 5: Target vs Actual (Combination Chart)

Target as a column, Actual as an overlapping column (narrower). Or use Target as a line overlay on Actual columns. Color: Target in light grey, Actual in green (if met) or red (if missed).

For Target vs Actual charts, use a bullet chart approach: make the Target column wider (gap width: 50%) and Actual column narrower (gap width: 250%) by plotting them as separate series. This creates a professional "thermometer" effect.

Adding Slicers & Timeline

  1. Click inside your PivotTable
  2. PivotTable Analyze → Insert Slicer → Select: Product, Region, Salesperson
  3. PivotTable Analyze → Insert Timeline → Select: Date
  4. Format slicers: Right-click → Slicer Settings → adjust columns. Use Slicer Styles to match your green theme.
  5. Connect slicers to multiple PivotTables: Right-click slicer → Report Connections → check all PivotTables. Now one slicer filters all charts simultaneously.
[Screenshot: Dashboard with 3 slicers (Product, Region, Salesperson) and 1 Timeline filter connected to 5 charts]
When connecting slicers to multiple PivotTables, all PivotTables must share the same data source or use the same Data Model. If you created PivotTables from different ranges, slicers won't connect. Solution: create all PivotTables from the same Excel Table.

Solved Examples (1–15)

Example 1: Regional Revenue Summary

RegionRevenue (₹ Lakh)% of Total
North85.4032%
South72.1527%
West65.8025%
East42.6516%
Total266.00100%

Formula for % of Total: =B2/SUM(B$2:B$5) with absolute reference on the total.

Example 2: Product-wise PivotTable

Row Labels: Product. Values: Sum of Amount, Count of Transactions. Column Labels: Region. Filter: Date (by quarter). This creates a matrix showing revenue by product and region.

Example 3: Top Salesperson Extraction

=INDEX(tblSales[Salesperson], MATCH(LARGE(tblSales[Amount],1), tblSales[Amount], 0))

For top N, use LARGE(...,ROW()-StartRow+1) in a spill-down formula.

Example 4: Weighted Average Price

Formula: =SUMPRODUCT(tblSales[Amount])/SUM(tblSales[Qty]). This gives the average revenue per unit across all products.

Example 5: YoY Growth Comparison

MonthFY24 (₹L)FY25 (₹L)YoY Growth
Apr42.048.5+15.5%
May38.544.2+14.8%
Jun41.039.8-2.9%

Example 6: Sales by Day of Week

Add helper column: =TEXT([@Date],"dddd"). PivotTable by day. Finding: Saturday has highest sales (₹48L), Monday lowest (₹28L).

Example 7: Pareto Analysis (80/20 Rule)

Sort products by revenue descending. Add cumulative %. Top 20% products contributing 80% revenue. Use combo chart: bars for revenue, line for cumulative %.

Example 8: Conditional Formatting for Top/Bottom

Select salesperson revenue column → Conditional Formatting → Top/Bottom Rules → Top 10% (green fill). Bottom 10% (red fill). This instantly highlights star performers and those needing attention.

Examples 9-15: Quick Formulas

#MetricFormulaResult
9Avg Daily Sales=AVERAGE(DailySales)₹8.87L
10Max Single Transaction=MAX(tblSales[Amount])₹3,25,000
11Unique Products Sold=COUNTA(UNIQUE(tblSales[Product]))5
12Sales on Weekends=SUMPRODUCT((WEEKDAY(tblSales[Date],2)>5)*tblSales[Amount])₹42.3L
13Running Total=SUM($B$2:B2)Cumulative
14Moving Avg (3-month)=AVERAGE(B2:B4) (drag down)Smoothed
15Forecast Next Month=FORECAST(13,B2:B13,ROW(B2:B13)-1)₹56.2L

Practice Exercises

  1. Create a sales dataset with 100 rows covering 4 products (Laptop, Mobile, Tablet, Accessories), 4 regions, 5 salespeople, for Jan-Jun 2025. Convert to Excel Table.
  2. Build a PivotTable showing Revenue by Product (rows) and Region (columns) with Grand Totals.
  3. Create a line chart showing monthly revenue trend with a 3-month moving average overlay.
  4. Add 3 slicers (Product, Region, Salesperson) connected to all PivotTables on the dashboard.
  5. Calculate MoM growth for each region and highlight months with negative growth in red.
  6. Create a Target vs Actual column chart for 4 regions. Add data labels showing achievement %.
  7. Build a Pareto chart identifying which products contribute 80% of revenue.
  8. Design a complete sales dashboard fitting on one screen with 6 KPI cards and 4 charts.

MCQ Quiz

Q1

Which Excel feature lets users filter PivotTable data by clicking visual buttons?

  1. AutoFilter
  2. Slicers
  3. Data Validation
  4. Conditional Formatting
✅ b) Slicers — Slicers provide visual, clickable filter buttons for PivotTables. They can be connected to multiple PivotTables simultaneously.
Q2

To filter PivotTable data by date ranges (months, quarters, years), which feature is best?

  1. Date Slicer
  2. Timeline
  3. AutoFilter
  4. Report Filter
✅ b) Timeline — The Timeline control is specifically designed for date-based filtering in PivotTables, with built-in day/month/quarter/year grouping.
Q3

What does the Pareto principle (80/20 rule) state in sales context?

  1. 80% of products are profitable
  2. 80% of revenue comes from 20% of products/customers
  3. 20% of salespeople are underperforming
  4. 80% of orders are from returning customers
✅ b) 80% of revenue from 20% of products/customers — This is the core Pareto principle. Identify the vital few products/customers that drive most revenue.
Q4

Which formula calculates Month-over-Month growth percentage?

  1. =(Current-Previous)*100
  2. =(Current-Previous)/Previous*100
  3. =Current/Previous
  4. =(Previous-Current)/Current*100
✅ b) =(Current-Previous)/Previous*100 — This gives the percentage change relative to the previous period. Positive = growth, negative = decline.
Q5

To connect one slicer to multiple PivotTables, all PivotTables must:

  1. Be on the same sheet
  2. Share the same data source or Data Model
  3. Have identical row/column labels
  4. Use the same chart type
✅ b) Share the same data source or Data Model — Slicer connections require a common data foundation. Create all PivotTables from the same Excel Table.

Interview Q1: How would you design a sales dashboard for a company with 50,000+ SKUs?

Answer: With 50,000 SKUs, you cannot show individual products. Use hierarchical categorization: Category → Sub-category → Brand → SKU. Dashboard shows Category level by default. Add a slicer to drill into sub-categories. Use PivotTables with Data Model (Power Pivot) for performance. Create Top N analysis showing only Top 10 products by revenue. Use Pareto analysis to identify the 20% of SKUs driving 80% of revenue.

Interview Q2: What's the difference between SUMIFS and PivotTable for sales analysis?

Answer: SUMIFS is formula-based — you define exact criteria, and it returns one value. It's precise but rigid. PivotTables are interactive — they summarize data dynamically, support drag-and-drop rearrangement, and connect with slicers. Use SUMIFS for KPI cards (fixed calculations). Use PivotTables for exploratory analysis (what-if scenarios). PivotTables are also significantly faster on large datasets because they cache data.

Interview Q3: How do you handle missing or duplicate data in a sales dashboard?

Answer: (1) Duplicates: Use Remove Duplicates (Data tab) or COUNTIF to flag duplicates before building dashboard. (2) Missing values: Use COUNTBLANK to quantify gaps. Decide strategy: exclude, fill with average, or fill with previous value. (3) Data validation: Add dropdown lists and date restrictions on input sheets to prevent future errors. (4) Error handling in formulas: Wrap KPI formulas in IFERROR to show "N/A" instead of #DIV/0! or #VALUE! errors.

Alt + N + V — Insert PivotTable
Alt + J + T — PivotTable Analyze tab
Ctrl + Shift + L — Toggle filters on/off
Alt + ↓ — Open filter dropdown in a table header
Build the dashboard live in class, step by step. Start with raw data → Excel Table → first PivotTable → first chart → first slicer. Students follow along. This "build-with-me" approach is more effective than showing a finished dashboard and explaining backward.

đŸŽ¯ Mini Project: Complete Sales Analytics Dashboard

Scenario: You are a data analyst at an electronics retail chain with stores across India.

Dataset: 500 rows of sales transactions (Jan-Dec 2025) with columns: Date, Store_City, Region (North/South/East/West), Product_Category (Laptops/Mobiles/Tablets/Accessories/TVs), Salesperson, Quantity, Unit_Price, Total_Amount, Payment_Mode (Cash/UPI/Card/EMI).

Required Dashboard Elements:

  • 6 KPI Cards: Total Revenue, Total Orders, Avg Order Value, Top Product, Best Region, Best Salesperson
  • 5 Charts: Monthly Revenue Trend (line), Product Mix (doughnut), Regional Comparison (bar), Top 5 Salespeople (horizontal bar), Target vs Actual by Quarter (combo)
  • 3 Slicers: Product Category, Region, Payment Mode
  • 1 Timeline: Date filter by month
  • All charts must update when slicers/timeline are used

📋 Chapter 45 Summary

  • Sales data should be structured in flat table format with consistent column types (Date, Product, Region, etc.)
  • Convert data to Excel Tables for auto-expanding ranges and structured references
  • PivotTables are the backbone of sales dashboards — they summarize and filter data efficiently
  • Five essential charts: trend line, product pie, regional bar, top performers, target vs actual
  • Slicers and Timeline provide interactive filtering across connected PivotTables
  • MoM growth = (Current - Previous) / Previous × 100
  • Pareto analysis identifies the vital 20% driving 80% of results