Assignment Overview
In this assignment, you will build a complete Sales Analytics Dashboard for TechMart Electronics, a retail company selling consumer electronics. This comprehensive project requires you to apply ALL concepts from Module 2: Excel basics, formulas and functions, pivot tables, and data cleaning techniques.
Formulas & Functions (2.2)
VLOOKUP, IF, SUMIFS, COUNTIFS, TEXT functions, date calculations
Pivot Tables (2.3)
Create pivot tables, slicers, calculated fields, interactive analysis
Data Cleaning (2.4)
Remove duplicates, fix errors, text functions, data validation
The Scenario
You have been hired as a Junior Data Analyst at TechMart Electronics. The sales manager has provided you with 6 months of sales transaction data but it's messy and unorganized. Your task is to clean the data, perform analysis, and create an executive dashboard for the management team.
Business Objectives
Management needs answers to these critical questions:
- Which products and categories are driving revenue?
- Which sales regions are performing best?
- Who are the top-performing sales representatives?
- What are the monthly and quarterly sales trends?
- What is the average profit margin by category?
Your Deliverables
You must provide the following outputs:
- Cleaned and validated sales dataset
- Analysis worksheet with calculated metrics
- Multiple pivot tables for different views
- Professional charts and visualizations
- Executive dashboard (one-page summary)
Dataset
You are provided with a sales_data.csv file containing 500 transaction records from January to June 2025. The dataset intentionally contains errors, duplicates, and formatting issues that you must clean.
Download Dataset
sales_data.csv
500 rows | 12 columns | ~55 KBDataset Structure
| Column Name | Description | Data Type | Issues to Fix |
|---|---|---|---|
Transaction_ID |
Unique transaction identifier | Text | Some duplicates present |
Date |
Transaction date | Date | Mixed date formats (MM/DD/YYYY and DD-MM-YYYY) |
Customer_Name |
Customer full name | Text | Extra spaces, inconsistent capitalization |
Product |
Product name | Text | Leading/trailing spaces, some blanks |
Category |
Product category | Text | Inconsistent names (Laptop vs LAPTOP vs laptop) |
Quantity |
Units sold | Number | Some zero or negative values (data entry errors) |
Unit_Price |
Price per unit | Currency | Some stored as text with $ symbol |
Total_Sale |
Total sale amount | Currency | Missing for some rows (needs calculation) |
Cost |
Product cost | Currency | Some stored as text |
Profit |
Profit amount | Currency | Missing for many rows (needs calculation) |
Sales_Rep |
Sales representative name | Text | Extra spaces, inconsistent formatting |
Region |
Sales region | Text | Some blanks, inconsistent capitalization |
Requirements
Your Excel workbook must contain 5 worksheets: Raw Data, Cleaned Data, Analysis, Pivot Tables, and Dashboard. Follow the step-by-step requirements below.
Worksheet 1: Raw Data (Original)
Import the CSV File
- Import
sales_data.csvinto a new Excel workbook - Name this worksheet "Raw Data"
- Do NOT modify this sheet - it serves as your backup
Worksheet 2: Cleaned Data
Create a Copy for Cleaning
- Copy the Raw Data worksheet and name it "Cleaned Data"
- All cleaning operations will be performed on this sheet
Remove Duplicate Transactions
- Use Remove Duplicates feature on
Transaction_IDcolumn - Document how many duplicates were found (add a note or comment)
Fix Date Formats
- Standardize all dates to
MM/DD/YYYYformat - Use Text to Columns or formulas if needed
- Apply Date formatting to the entire Date column
Clean Text Columns
- Customer_Name, Product, Sales_Rep: Use TRIM() to remove extra spaces
- Customer_Name, Sales_Rep: Use PROPER() for proper capitalization
- Category, Region: Use UPPER() for consistent uppercase
- Create helper columns if needed, then paste values and delete helpers
Fix Numeric Columns
- Convert Unit_Price and Cost from text to numbers (remove $ symbols)
- Delete rows where Quantity is zero or negative
- Use Find & Replace to remove $ symbols or VALUE() function
Calculate Missing Values
- Total_Sale:
= Quantity * Unit_Price - Profit:
= Total_Sale - (Quantity * Cost) - Use IF() to only calculate where values are missing (don't overwrite existing correct values)
Handle Blanks
- Check for blank cells in Product, Category, and Region columns
- Either fill with "Unknown" or delete those rows (document your choice)
Add Data Validation (Optional Bonus)
- Apply Data Validation to Category column (list of valid categories)
- Apply to Region column (list: NORTH, SOUTH, EAST, WEST)
Worksheet 3: Analysis
Create Analysis Worksheet
- Create a new worksheet named "Analysis"
- This sheet will contain calculated metrics and summary tables
Monthly Sales Summary
Create a table showing sales by month with these columns:
- Month: Jan 2025, Feb 2025, etc.
- Total Revenue: Use SUMIFS() referencing Cleaned Data
- Total Profit: Use SUMIFS()
- Transactions: Use COUNTIFS()
- Profit Margin %:
= (Total Profit / Total Revenue) * 100
Category Performance
Create a summary table by category:
- Category: List unique categories
- Total Revenue: Use SUMIF()
- Total Profit: Use SUMIF()
- Avg Transaction Value: Use AVERAGEIF()
- Units Sold: Use SUMIF() on Quantity column
Regional Performance
Create a summary table by region (same structure as Category Performance)
Top 10 Products
- Create a table showing top 10 products by revenue
- Use SUMIF() to calculate revenue per product
- Sort manually or use advanced techniques
Sales Rep Rankings
- Create a table showing each sales rep's total sales and profit
- Include commission calculation:
= Total_Sale * 0.03(3% commission)
Worksheet 4: Pivot Tables
Pivot Table 1: Sales by Category and Month
- Rows: Category
- Columns: Month (from Date field)
- Values: Sum of Total_Sale
- Format as currency
- Add a Slicer for Region
Pivot Table 2: Sales Rep Performance
- Rows: Sales_Rep
- Values: Sum of Total_Sale, Sum of Profit, Count of Transaction_ID
- Sort by Total_Sale (descending)
- Add Calculated Field: Profit Margin % = Profit / Total_Sale
Pivot Table 3: Product Performance by Region
- Rows: Region, then Product (nested)
- Values: Sum of Total_Sale, Sum of Quantity
- Show top 5 products per region
Create Charts from Pivot Tables
- Chart 1: Column chart for Sales by Category
- Chart 2: Line chart for Monthly Sales Trend
- Chart 3: Bar chart for Top 10 Sales Reps
- All charts must have titles, axis labels, and legends
Worksheet 5: Dashboard
Create Executive Dashboard
Design a one-page dashboard that includes:
- KPI Cards (4): Total Revenue, Total Profit, Transactions, Avg Transaction Value
- Charts (3-4): Copy charts from Pivot Tables worksheet
- Summary Tables: Top 5 Products, Top 5 Regions, Top 5 Sales Reps
- Design: Use colors, borders, and formatting for professional appearance
- Interactive: Link slicers from pivot tables if possible
Submission
Create a public GitHub repository with the exact name shown below:
Required Repository Name
techmart-sales-dashboard
Required Files
techmart-sales-dashboard/
├── TechMart_Sales_Analysis.xlsx # Your completed Excel workbook (all 5 worksheets)
├── sales_data.csv # Original dataset (as downloaded)
├── screenshots/
│ ├── dashboard.png # Screenshot of your Dashboard worksheet
│ ├── pivot_tables.png # Screenshot showing your pivot tables
│ └── analysis.png # Screenshot of Analysis worksheet
└── README.md # REQUIRED - see contents below
README.md Must Include:
- Your full name and submission date
- Executive Summary: 3-5 key insights from your analysis (e.g., "Electronics category generated 45% of revenue")
- Data Cleaning Steps: Brief summary of cleaning operations performed
- Challenges Faced: Any difficulties and how you solved them
- Tools Used: Microsoft Excel version (Excel 2016, 2019, 2021, 365, or Excel Online)
Do Include
- All 5 worksheets properly named
- Formulas (not just values) in Analysis sheet
- Working pivot tables with slicers
- Professional dashboard with charts
- Screenshots in README
- All data cleaned and validated
Don't Include
- Hardcoded values instead of formulas
- Uncleaned data in "Cleaned Data" sheet
- Empty or incomplete worksheets
- Broken pivot tables or chart references
- Multiple Excel files (only one .xlsx file)
- Manual fixes instead of formulas/functions
How to Submit
Create Repository
- Go to GitHub and create a new public repository
- Name it exactly:
techmart-sales-dashboard - Initialize with README
Upload Files
- Upload your Excel workbook
- Upload original CSV file
- Create screenshots folder and upload images
- Edit README.md with all required information
Submit Link
- Copy your repository URL
- Submit via the course submission form
- Format:
https://github.com/your-username/techmart-sales-dashboard
Pre-Submission Checklist
Enter your GitHub username - we'll verify your repository automatically
Grading Rubric
This assignment is worth 200 points. Points are distributed across 5 categories:
| Category | Points | Criteria |
|---|---|---|
| 1. Data Cleaning (40 points) | 40 |
|
| 2. Analysis & Formulas (50 points) | 50 |
|
| 3. Pivot Tables (40 points) | 40 |
|
| 4. Dashboard & Visualization (40 points) | 40 |
|
| 5. Documentation & Submission (30 points) | 30 |
|
| TOTAL | 200 points | |
Bonus Points (Up to +20)
Bonus Opportunities
- +5 pts: Add conditional formatting to highlight top/bottom performers
- +5 pts: Create an interactive timeline chart for monthly trends
- +5 pts: Add data validation with dropdown lists
- +5 pts: Include a video walkthrough (2-3 min) of your dashboard
Deductions
- -10 pts: Raw Data sheet is modified
- -15 pts: Hardcoded values instead of formulas
- -10 pts: Pivot tables don't refresh correctly
- -5 pts: Missing screenshots
- -20 pts: Incomplete README or missing insights