Skip to content

This project analyzes coffee sales data using Microsoft Excel to uncover trends, peak hours, popular products, and store performance. By cleaning, transforming, and visualizing the data, key insights were identified, leading to actionable recommendations for optimizing operations, enhancing product offerings, and improving customer experience acros

License

Notifications You must be signed in to change notification settings

Rajat4445/Coffee-Sales-Project

Repository files navigation

Coffee GIF

☕ Coffee Sales Report: Data Cleaning, Transformation, and Analysis

Excel Badge GitHub License Status

Detailed report can be read in Coffee Sales Project Report which has been attached in this repository itself.

🚀 Project Overview

This project focuses on analyzing coffee sales data using Microsoft Excel to extract insights and make data-driven recommendations. The data was cleaned, transformed, and visualized, culminating in a comprehensive dashboard.

📊 Data Cleaning & Transformation

  1. Data Extraction & Loading:

    • Imported data into Excel using Power Query for inspection, cleaning, and transformation.
  2. Feature Engineering:

    • Extracted coffee sizes (Large, Regular, Small) from the Product Detail column and created a new Size column.
    • Cleaned the Product Detail column by removing size information and extra spaces.
  3. New Calculated Fields:

    • Created a Total Bill column using the formula transaction_qty * unit_price, formatted as currency.
  4. Date and Time Adjustments:

    • Extracted only the time from the transaction_time column to remove redundant date information.
    • Added Month Name, Day Name, and Hour columns for further analysis.

📈 Data Analysis

  • Created Pivot Tables to uncover key insights:

    1. 📅 Hour of Day vs Transaction Quantity (Sum)
    2. 📊 Day of Week vs Total Bill (Sum)
    3. 🍵 Product Category vs Total Bill (Sum)
    4. 📆 Month vs Total Bill (Sum)
    5. 🛍️ Product Detail vs Total Bill (Sum)
    6. Product Type vs Total Bill (Sum)
    7. 🏢 Store Location vs Total Bill & Total Orders (Distinct count of transaction_id)
    8. 🥤 Size vs # of Orders (Distinct transaction IDs)
    9. 📈 Day of Week vs # of Orders
  • Developed visualizations and combined charts for an optimized dashboard view with interactive features like slicers and KPIs.

🔍 Key Insights

  • 📈 Sales Trends: Revenue doubled from $81.7K to $166.5K, showing a positive growth trend.
  • 🕒 Peak Hours: Sales peak from 6 AM to 10 AM and stabilize between 12 PM to 5 PM.
  • 📅 Increasing Sales: Revenue and orders increased over the weeks.
  • 🥐 Popular Products: Coffee, Tea, and Bakery items drive the most revenue.
  • 📏 Size Preferences: Large and Regular sizes are the most popular; Small is the least favored.

📍 Location-Specific Insights

  • Lower Manhattan: Peaks at 7 AM and 10 AM but declines significantly after 4 PM.
  • Astoria: Peaks at 10 AM, remains stable throughout the day, and operates on shorter hours.
  • Hell’s Kitchen: Shows peaks at 8 AM and 10 AM; stabilizes after noon.

💡 Recommendations

  1. Expand Morning Rush Capacity: Add more staff or self-service kiosks during peak morning hours.
  2. Promote Afternoon Specials: Introduce discounts or combos to boost afternoon sales.
  3. Optimize Astoria’s Hours: Open earlier and close later to capture more traffic.
  4. Address Lower Manhattan’s Evening Decline: Investigate reasons for the 7 PM drop and implement corrective actions.
  5. Introduce Seasonal Drinks: Offer limited-time variations of popular products to attract repeat customers.
  6. Enhance Afternoon Engagement: Use loyalty rewards or sampling events to drive traffic in the slower afternoon hours.

📝 Conclusion

This project demonstrates how data analysis can optimize coffee shop operations, highlight peak performance times, and suggest targeted improvements for each location.

Barista GIF

via GIPHY

Watch explanation on YouTube

Funny GIF

Watch the Video on YouTube

👤 Author

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This project analyzes coffee sales data using Microsoft Excel to uncover trends, peak hours, popular products, and store performance. By cleaning, transforming, and visualizing the data, key insights were identified, leading to actionable recommendations for optimizing operations, enhancing product offerings, and improving customer experience acros

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published