group-by-analysis

Group multi-sheet Excel data into styled summary reports with charts.

110|3|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/MichaelYang-lyx/AIDABench --skill group-by-analysis-michaelyang-lyx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: group-by-analysis
Source: https://github.com/MichaelYang-lyx/AIDABench/tree/main/skills/sn-da-excel-workflow/capability/excel-data-analysis/group-by-analysis
Command: npx skills add https://github.com/MichaelYang-lyx/AIDABench --skill group-by-analysis-michaelyang-lyx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the process of cleaning, organizing, and analyzing data across multiple sheets in Excel workbooks, turning scattered rows into a cohesive, actionable summary.

Core Features & Use Cases

  • Data cleaning and normalization: handle merged cells, trim text, standardize category mappings.
  • Grouping and aggregation: compute counts, sums, and percentages across groups, including total rows.
  • Visualizations and reporting: generate charts and export a styled, Excel-ready summary report.

Quick Start

Load a multi-sheet workbook and generate a grouped summary with a styled Excel report and chart.

Frequently Asked Questions about group-by-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I group and summarize data across multiple sheets in an Excel workbook?

Grouping multi-sheet Excel data involves cleaning rows, computing sums or counts by category, and exporting a styled summary report. Using pandas and openpyxl automates this aggregation across diverse workbook structures and large datasets.

What is the best way to clean and normalize messy Excel data before aggregating it?

Cleaning Excel data before aggregation requires handling merged cells, trimming text, and standardizing category mappings. Automating this normalization ensures accurate group-by calculations and consistent reporting across multiple workbook sheets.

Can I generate charts and styled Excel reports directly from pandas DataFrames?

Yes, generating charts and styled Excel reports from pandas DataFrames is possible by integrating openpyxl. This approach exports grouped data summaries into a styled, Excel-ready workbook complete with visualizations and formatting.

Does pandas handle large datasets when grouping data across multiple Excel sheets?

Pandas handles large datasets during multi-sheet Excel grouping operations by efficiently processing substantial workbook volumes. It computes aggregations and percentages across groups, turning scattered rows into cohesive summaries for large-scale reporting.

Why are my Excel group-by summaries missing data from merged cells?

Your Excel group-by summaries miss data from merged cells because standard imports leave only the top-left value populated. Properly handling merged cells during data cleaning ensures all grouped rows retain their correct category mappings for accurate aggregation.