group-by-analysis

Aggregate grouped counts, sums, and percentages from Excel tabular data.

2|Updated May 19, 2026
One-click install
npx skills add https://github.com/aiyinluya/SenseNova-Skills-Studio --skill group-by-analysis-aiyinluya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: group-by-analysis
Source: https://github.com/aiyinluya/SenseNova-Skills-Studio/tree/main/skills/sn-da-excel-workflow/capability/excel-data-analysis/group-by-analysis
Command: npx skills add https://github.com/aiyinluya/SenseNova-Skills-Studio --skill group-by-analysis-aiyinluya

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you turn messy multi-sheet Excel data into a reliable grouped summary with counts, totals, percentages, and presentation-ready visuals and a styled report.

Core Features & Use Cases

  • Data cleaning & preprocessing: handles missing/group column continuity via forward-fill, removes unwanted characters using regex, and applies category mapping to create a grouping tag.
  • Group-based aggregation: computes frequency and value sums per group, calculates share/percentage, and appends a total row.
  • Visualization & reporting: generates a bar chart with Chinese font support and labeled values, then exports a styled Excel report with optional highlighting for notable rows.

Quick Start

Use the group-by-analysis skill on your uploaded Excel dataset containing the target category column and value column to produce a grouped summary table, a saved chart image, and a styled summary_report.xlsx file.

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 Excel data and calculate percentages for a summary report?

To group Excel data and calculate percentages, this Skill cleans text fields, applies category mapping, and aggregates counts and sums to compute share values, appending a total row for your summary report.

How do I create a bar chart from Excel data with Chinese font support?

Creating a bar chart from Excel data with Chinese font support involves rendering chart labels using configurable fonts, then exporting a styled Excel workbook via openpyxl with labeled values and basic formatting.

How do I clean messy Excel data before grouping and aggregation?

Cleaning messy Excel data before grouping requires forward-filling missing group columns, removing unwanted characters using regex, and applying category mapping to create a standardized grouping tag for aggregation.

Can I visualize multi-sheet Excel data and export a styled workbook using openpyxl?

Yes, you can visualize multi-sheet Excel data and export a styled workbook using openpyxl, generating a bar chart image and a formatted summary_report.xlsx file with optional highlighting for notable rows.

Does this tool work for operational reporting tasks like cohort summarization?

Yes, this tool works for operational reporting tasks like cohort summarization and distribution analysis, transforming multi-sheet Excel spreadsheets into dashboard-ready extracts with computed totals and percentages.

What is the best way to automate Excel data cleaning and groupby aggregation?

The best way to automate Excel data cleaning and groupby aggregation is using pandas-style preprocessing combined with regex cleanup and forward-fill, producing presentation-ready visual summaries and formatted Excel reports.