xlsx

Create, edit, and analyze spreadsheet files with pandas and openpyxl.

Updated Oct 10, 2024
One-click install
npx skills add https://github.com/distolma/dotfiles --skill xlsx-distolma
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xlsx
Source: https://github.com/distolma/dotfiles/tree/main/.agents/skills/xlsx
Command: npx skills add https://github.com/distolma/dotfiles --skill xlsx-distolma

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the creation, editing, and analysis of spreadsheet files, eliminating manual calculations and formatting errors.

Core Features & Use Cases

  • Formula-driven Workflows: Ensures all calculations use Excel formulas, maintaining dynamic and updateable spreadsheets.
  • Data Manipulation: Leverages pandas for data analysis and openpyxl for formatting and formula implementation.
  • Use Case: Automatically clean messy tabular data, calculate financial projections with industry-standard color coding, or convert data between formats, ensuring all formulas are error-free and documented.

Quick Start

Use the xlsx skill to read the data from 'sales_data.xlsx' and calculate the total revenue per region.

Frequently Asked Questions about xlsx

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

FAQPage Schema
How do I automate Excel formulas and formatting without breaking existing templates?

Automating Excel formulas and formatting requires using openpyxl to inject calculations and styles while preserving the original template structure. This approach ensures spreadsheets remain dynamic and updateable without manual formatting errors.

Can pandas and openpyxl clean messy CSV and TSV data for financial analysis?

Yes, pandas and openpyxl can clean messy CSV and TSV data by reading tabular formats, standardizing columns, and applying formulas. This process transforms unstructured exports into reliable datasets for financial modeling and analysis.

What is the best way to convert CSV files to formatted XLSX with error-free formulas?

The best way to convert CSV files to formatted XLSX is by using pandas for data manipulation and openpyxl for formula implementation, followed by a LibreOffice recalculation step to ensure zero formula errors in the final spreadsheet.

Does this spreadsheet automation approach support XLSM files with dynamic calculations?

Yes, this spreadsheet automation approach supports XLSM files by utilizing openpyxl to manage formulas and formatting, ensuring dynamic calculations are preserved and updated correctly without introducing formula errors.

Why do my spreadsheet formulas show errors after automated data manipulation?

Spreadsheet formulas show errors after automated data manipulation when calculations are not recalculated post-editing. Running a LibreOffice recalculation script after using openpyxl to inject formulas ensures all deliverables have zero formula errors.