Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation


Excel CSV Data Analytics Data Cleaning Data Analysis Excel Charts GitHub

Company Role Week Status License


๐Ÿ“Œ About This Project

This repository contains my Week 1 Internship Task for the Data Analyst Internship at Logic Stack, focused on Retail Sales Data Cleaning & Basic Analysis using Microsoft Excel.

The goal of this task was to take a raw, real-world retail sales dataset and walk through the complete beginner-to-intermediate Excel analytics workflow โ€” understanding the data, cleaning and formatting it, validating its quality, applying formulas, building summary tables, creating charts and translating the numbers into clear business insights.

This is my first hands-on Data Analytics project, and it forms the foundation for the more advanced analysis work planned in the upcoming weeks of the internship.

๐Ÿ’ผ Internship: Logic Stack โ€” Data Analysis Internship (Jun 2026)

๐Ÿงฉ Task: Week 1 โ€” Retail Sales Data Cleaning & Basic Analysis in Excel

๐Ÿ› ๏ธ Tool Used: Microsoft Excel

โฑ๏ธ Duration: 7 Days


๐ŸŽ“ Internship Information

Detail Description
๐Ÿข Company Logic Stack
๐Ÿ‘จโ€๐Ÿ’ป Role Data Analyst Intern
๐Ÿ“… Task Week 1 Assignment
๐Ÿง  Focus Area Excel-based Data Cleaning & Analysis
๐Ÿ“‚ Dataset Retail Sales Transactions (1,000 records)

Logic Stack's Data Analysis Internship is designed to build practical, job-ready data analytics skills โ€” starting with the fundamentals of Excel before progressing into more advanced tools like SQL, Python and BI dashboards. This repository documents my Week 1 progress and deliverables.


โœจ Features

  • โœ… Beginner-friendly, real-world retail dataset (1,000 transactions)
  • โœ… Full data understanding & column-level inspection
  • โœ… Cleaned and properly formatted Excel Table
  • โœ… Automated data quality validation using formulas
  • โœ… Formula-driven KPIs (no hardcoded values)
  • โœ… Category, Gender, and Age Group level breakdowns
  • โœ… Native Excel charts (Bar, Column, Pie)
  • โœ… Sorting & filtering demonstrations
  • โœ… Clear, data-backed written observations
  • โœ… Bonus: Customer Age Group segmentation

๐ŸŽฏ Project Objectives

The objective of this task was to build practical fluency in:

  1. Opening and understanding a raw dataset before analyzing it
  2. Cleaning and formatting data for readability and consistency
  3. Performing data quality checks to catch blanks, duplicates and mismatches
  4. Applying core Excel formulas (SUM, AVERAGE, MIN, MAX, COUNT, SUMIF, IF)
  5. Using sorting and filtering to answer business questions
  6. Building clean, readable charts for non-technical stakeholders
  7. Writing simple, evidence-based observations rather than assumptions

๐Ÿ—‚๏ธ Dataset Information

The dataset (retail_sales_dataset.csv) contains 1,000 retail sales transactions with the following columns:

Column Name Description
Transaction ID Unique ID for each transaction
Date Date of the transaction
Customer ID Unique ID of the customer
Gender Gender of the customer
Age Age of the customer
Product Category Category of product purchased (Beauty, Clothing, Electronics)
Quantity Number of items purchased
Price per Unit Price of one unit
Total Amount Total sales amount of the transaction

๐Ÿ”„ Excel Analysis Workflow

flowchart LR
    A[๐Ÿ“ฅ Raw Dataset] --> B[๐Ÿ” Dataset Understanding]
    B --> C[๐Ÿงน Data Cleaning & Formatting]
    C --> D[โœ… Data Quality Check]
    D --> E[๐Ÿงฎ Basic Analysis & Formulas]
    E --> F[๐Ÿ”ฝ Sorting & Filtering]
    F --> G[๐Ÿ“Š Charts & Visualization]
    G --> H[๐Ÿ“ Observations & Insights]
Loading

๐Ÿงน Data Cleaning Process

In the Cleaned Data sheet, the raw dataset was transformed into an analysis-ready table:

  • Converted the full data range into a native Excel Table for structured referencing and filtering
  • Made all column headers bold with a clean, professional header style
  • Adjusted column widths so every value is fully visible
  • Formatted the Date column using a proper yyyy-mm-dd date format
  • Formatted Price per Unit and Total Amount as currency
  • Froze the top row so headers stay visible while scrolling through 1,000 rows
  • Added a Calculated Total column (Quantity ร— Price per Unit) to cross-verify the data

โœ… Data Quality Checks

A dedicated Data Quality Check sheet validates the dataset using live formulas:

Check Result
Blank cells in the dataset โŒ None found
Duplicate transactions (Transaction ID) โŒ None found
Invalid Quantity values (โ‰ค 0) โŒ None found
Invalid Price per Unit values (โ‰ค 0) โŒ None found
Total Amount = Quantity ร— Price per Unit for every row โœ… Matches 100%

An Amount Check column flags every row as Correct or Check using:

=IF([@[Calculated Total]]=[@[Total Amount]],"Correct","Check")

๐Ÿงฎ Basic Analysis

Key metrics calculated using Excel formulas (SUM, AVERAGE, MIN, MAX, COUNT):

Metric Value
๐Ÿ’ฐ Total Sales Amount $456,000.00
๐Ÿ“ˆ Average Sales Amount $456.00
๐Ÿ”ฝ Minimum Sales Amount $25.00
๐Ÿ”ผ Maximum Sales Amount $2,000.00
๐Ÿ“ฆ Total Quantity Sold 2,514 units
๐ŸŽ‚ Average Customer Age 41.4 years
๐Ÿง’ Youngest Customer 18 years
๐Ÿ‘ด Oldest Customer 64 years
๐Ÿงพ Total Transactions 1,000
๐Ÿ—‚๏ธ Unique Product Categories 3

Category, Gender & Age Group breakdowns (via SUMIF):

Sales by Category

Category Total Sales
Electronics $156,905
Clothing $155,580
Beauty $143,515

Sales by Gender

Gender Total Sales
Female $232,840
Male $223,160

Bonus: Sales by Age Group

Age Group Total Sales
Senior Adult $193,880
Adult $144,345
Young Adult $84,550
Older Customer $33,225

๐Ÿ“Š Charts Created

Three clean, business-ready charts were built in the Charts sheet:

Chart Type Insight Visualized Preview
๐Ÿ“Š Bar Chart Total Sales by Product Category
๐Ÿ“ˆ Column Chart Total Quantity Sold by Product Category
๐Ÿฅง Pie Chart Total Sales by Gender

Each chart includes a clear title, properly labeled axes and a clean, minimal design with no unnecessary colors or effects.


๐Ÿ”ฝ Sorting & Filtering

The Cleaned Data sheet was sorted and filtered to answer key business questions:

  • ๐Ÿ† Identified the transaction with the highest and lowest total amount
  • ๐Ÿ‘— Filtered transactions where Product Category = Clothing
  • ๐Ÿšบ Filtered transactions where Gender = Female
  • ๐Ÿ“ฆ Filtered transactions where Quantity > 2
  • โฌ‡๏ธ Sorted the dataset from highest to lowest Total Amount
  • ๐ŸŽ‚ Sorted the dataset from youngest to oldest customer

Screenshots of these filtered/sorted views are available in the screenshots/ folder.


๐Ÿ”‘ Key Insights

  1. ๐Ÿ“ฑ Electronics is the highest performing sales category, generating $156,905 in total sales.
  2. ๐Ÿ’„ Beauty is the lowest performing sales category, with $143,515 in total sales.
  3. ๐Ÿšบ Female customers generated slightly higher total sales ($232,840) than male customers ($223,160).
  4. ๐ŸŽ‚ The average customer age is 41.4 years, with customers ranging from 18 to 64 years old.
  5. ๐Ÿ“ฆ A total of 2,514 items were sold across 1,000 transactions.
  6. ๐Ÿ’ต The highest single transaction was $2,000, while the lowest was just $25.
  7. โš–๏ธ Average spending per transaction ($456) shows fairly consistent purchase behavior across the customer base.
  8. ๐Ÿ‘จโ€๐Ÿฆณ The Senior Adult age group (41โ€“60 years) contributed the highest sales among all age segments.

๐Ÿ“ Project Structure

week-1-retail-sales-excel-analysis/
โ”‚
โ”œโ”€โ”€ dataset/
โ”‚   โ””โ”€โ”€ retail_sales_dataset.csv
โ”‚
โ”œโ”€โ”€ analysis/
โ”‚   โ””โ”€โ”€ Retail_Sales_Excel_Analysis.xlsx
โ”‚
โ”œโ”€โ”€ screenshots/
โ”‚   โ”œโ”€โ”€ clothing-filter.png
โ”‚   โ”œโ”€โ”€ female-filter.png
โ”‚   โ”œโ”€โ”€ highest-sales-sort.png
โ”‚   โ”œโ”€โ”€ sales-by-category-chart.png
โ”‚   โ”œโ”€โ”€ quantity-by-category-chart.png
โ”‚   โ””โ”€โ”€ sales-by-gender-chart.png
โ”‚
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ LICENSE

โš™๏ธ Installation / Usage

No installation required โ€” this is an Excel-based analysis project.

# 1. Clone the repository
git clone https://github.com/YasirAwan4831/week-1-retail-sales-excel-analysis.git

# 2. Open the analysis file in Microsoft Excel
cd week-1-retail-sales-excel-analysis/analysis
start Retail_Sales_Excel_Analysis.xlsx

Then explore the sheets in order: Original Data โ†’ Cleaned Data โ†’ Dataset Understanding โ†’ Data Quality Check โ†’ Basic Analysis โ†’ Sorting & Filtering Screenshots โ†’ Charts โ†’ Observations.


๐Ÿ“š Learning Outcomes

Through this task, I strengthened my practical skills in:

  • Structuring raw data into clean, analysis-ready Excel Tables
  • Writing formula-driven (non-hardcoded) calculations for accuracy and reusability
  • Validating data quality systematically rather than assuming clean data
  • Using SUMIF, IF, and lookup-style formulas for category-level analysis
  • Designing simple, readable, stakeholder-friendly charts
  • Translating raw numbers into clear, written business observations
  • Organizing and documenting a data project professionally on GitHub

๐Ÿš€ Future Improvements

  • ๐Ÿ”„ Automate the cleaning workflow using Power Query
  • ๐Ÿ“Š Build an interactive Excel Dashboard with slicers
  • ๐Ÿ Recreate the analysis in Python (Pandas) for comparison
  • ๐Ÿ—„๏ธ Migrate the dataset into SQL for query-based analysis
  • ๐Ÿ“ˆ Add trend analysis across the Date column (monthly/seasonal patterns)

๐Ÿ™ Acknowledgements

Special thanks to Logic Stack for designing a structured, hands-on Data Analyst Internship program that builds real-world Excel analytics skills from the ground up. This project is submitted as part of the Week 1 Internship Task.


๐Ÿ“„ License

This repository is shared for educational and portfolio purposes only.

The dataset and business context belong to the respective organization and are not licensed for redistribution or commercial use.

The project structure and analysis approach may be referenced for learning purposes only.



๐Ÿ‘จโ€๐Ÿ’ป About the Developer



Muhammad Yasir is a Full Stack Web Developer, Data Analyst and AI Automation Enthusiast passionate about building scalable web applications, data-driven solutions, automation systems and modern software products with clean architecture and outstanding user experience.


GitHub LinkedIn Portfolio Email


Profile Views



โญ Support This Project

Please consider giving this repository a Star if you found it helpful.


โญ Star This Repository



Crafted with precision and passion by Muhammad Yasir

Full Stack Web Developer โ€ข Data Analyst โ€ข AI & Automation Enthusiast โ€ข Open Source Contributor


About

This repository contains my Week 1 Retail Sales Excel Analysis completed during my Data Analyst Internship at Logic Stack. The project focuses on data cleaning, quality checks, Excel functions, sorting, filtering, charts and basic sales analysis using a retail sales dataset. It showcases my practical Excel and data analysis skills.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors