Lesson 5.3 – Conditional Formatting & Sparklines in Dashboards
Lesson Overview
Conditional Formatting and Sparklines are powerful visualization tools that make dashboards interactive and easy to interpret. Conditional Formatting highlights trends, outliers, and key metrics, while Sparklines provide miniature charts within cells.
1. Conditional Formatting
1.1 What is Conditional Formatting?
-
Allows automatic formatting of cells based on rules or conditions
-
Helps highlight high/low values, duplicates, trends, or thresholds
1.2 Steps to Apply Conditional Formatting
-
Select the dataset
-
Go to Home → Conditional Formatting
-
Choose formatting type:
-
Highlight Cells Rules: Greater than, Less than, Equal to, Text, Date, Duplicates
-
Top/Bottom Rules: Top 10%, Bottom 10%, Above/Below Average
-
Data Bars: Visual bars within cells
-
Color Scales: Gradient colors for values
-
Icon Sets: Add symbols like arrows, flags, or traffic lights
-
1.3 Example
-
Highlight sales > ₹50,000 in green, < ₹30,000 in red
-
Show top 5 performers with star icons
2. Sparklines
2.1 What are Sparklines?
-
Tiny inline charts within a single cell
-
Show trends for sales, revenue, or performance
2.2 Steps to Insert Sparklines
-
Select dataset
-
Go to Insert → Sparklines → Line/Column/Win-Loss
-
Choose data range and location range
-
Customize with colors, markers, and styles
2.3 Example
-
Add line sparkline to show monthly sales trend for each product
-
Add column sparkline to show profit growth
3. Advanced Tips for Dashboards
-
Combine conditional formatting with sparklines for maximum insight
-
Use consistent color coding across dashboards
-
Avoid clutter: highlight key KPIs only
-
Apply dynamic ranges for auto-updating formatting
4. Real-Life Examples
-
Sales Dashboard: Highlight top regions and visualize trends
-
HR Dashboard: Show employee attendance patterns with sparklines
-
Finance Dashboard: Color-code profit margins for quick analysis
5. Practice Questions
-
Apply conditional formatting to highlight sales above ₹60,000.
-
Use color scales to display revenue variations across months.
-
Add icon sets to show top 3 performing products.
-
Insert line sparklines to show monthly trend for each product.
-
Explain how combining sparklines and conditional formatting improves dashboard readability.
