xlsx

Create and edit Excel spreadsheets with formulas and pandas analysis.

Updated Dec 14, 2025
One-click install
npx skills add https://github.com/uptonking/aionui-office --skill xlsx-uptonking
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xlsx
Source: https://github.com/uptonking/aionui-office/tree/main/skills/xlsx
Command: npx skills add https://github.com/uptonking/aionui-office --skill xlsx-uptonking

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openpyxl, pandas, libreoffice, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill empowers users to create, edit, and analyze spreadsheet data efficiently, handling complex formulas, formatting, and data visualization tasks without manual intervention.

Core Features & Use Cases

  • Spreadsheet Creation & Editing: Generate new .xlsx files or modify existing ones with data, formulas, and custom formatting.
  • Formula Management: Ensure all formulas are error-free and correctly implemented, with support for recalculation and verification.
  • Data Analysis & Visualization: Leverage pandas for in-depth data analysis and prepare data for visualization.
  • Use Case: Automatically generate a financial projection model in Excel, complete with industry-standard color-coding, specific number formatting, and all formulas correctly linked to an assumptions sheet.

Quick Start

Use the xlsx skill to create a new spreadsheet named 'sales_report.xlsx' with columns for 'Date', 'Product', and 'Revenue', and add the formula '=SUM(C2:C10)' to cell C11.

Frequently Asked Questions about xlsx

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

FAQPage Schema
How do I create a new Excel spreadsheet with formulas and custom formatting?

You can generate new `.xlsx` workbooks populated with data, formulas, and custom formatting. This approach handles spreadsheet creation from scratch, correctly linking formulas across sheets and applying specific number formats directly without manual intervention.

How do I modify an existing Excel file without breaking formulas?

Modifying an existing Excel file preserves your original formulas while updating data and formatting. It ensures formula integrity by performing recalculation and error checking via LibreOffice, verifying that all existing spreadsheet logic remains error-free after edits.

Can I use pandas for spreadsheet data analysis and visualization preparation?

Yes, you can leverage pandas for in-depth spreadsheet data analysis and visualization preparation. This allows you to manipulate Excel data programmatically, performing complex data analysis tasks and preparing datasets for visualization directly within your workflow.

Does LibreOffice need to be installed to verify Excel formulas?

LibreOffice is required to ensure formula integrity through recalculation and error checking. It verifies that formulas in your `.xlsx` spreadsheets are correctly implemented and error-free, guaranteeing accurate results when handling complex formula management.

What is the best way to automate financial projection models in Excel?

Automating a financial projection model in Excel involves generating an `.xlsx` file with industry-standard color-coding, specific number formatting, and correctly linked formulas. This method builds complete models automatically, linking outputs directly to an assumptions sheet.

Why does openpyxl fail to recalculate formulas in modified spreadsheets?

openpyxl alone does not recalculate formulas; LibreOffice is required to handle recalculation and error checking. By running LibreOffice after modifying the spreadsheet, you ensure formula integrity and verify that all calculations are correctly implemented and error-free.