xlsx

Open, modify, and generate xlsx, xlsm, csv, and tsv spreadsheets.

3|Updated Apr 30, 2024
One-click install
npx skills add https://github.com/LiamMarega/astro-portolio --skill xlsx-liammarega
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xlsx
Source: https://github.com/LiamMarega/astro-portolio/tree/main/.agents/skills/xlsx
Command: npx skills add https://github.com/LiamMarega/astro-portolio --skill xlsx-liammarega

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Use this skill to automate the creation, cleaning, and manipulation of spreadsheet data across common formats (xlsx, xlsm, csv, ts​v). It enables transforming messy tabular data into well-structured spreadsheets ready for analysis, reporting, or sharing, reducing manual rework and errors.

Core Features & Use Cases

  • Open, read, edit, and create spreadsheet files (xlsx, xlsm, csv, ts​v) from diverse data sources.
  • Apply formulas, formatting, and charting; perform data cleaning and restructuring for consistency.
  • Convert between tabular formats (xlsx, csv, ts​v) while preserving data integrity and formatting across sheets.
  • Real-world scenario: merge multiple CSV exports into a single workbook with calculated totals and standardized headers.

Quick Start

Create a polished Excel workbook from provided data by applying formulas, formatting, and data-cleaning steps.

Frequently Asked Questions about xlsx

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

FAQPage Schema
How do I automate Excel spreadsheet creation from messy CSV exports?

Automating Excel spreadsheet creation from messy CSV exports involves opening multiple tabular files, cleaning and restructuring the data, applying formulas, and generating a polished xlsx workbook with standardized headers and calculated totals.

Can I convert between xlsx, csv, and tsv files without losing formatting?

Yes, converting between xlsx, csv, and tsv files without losing formatting is possible by processing spreadsheets while preserving data integrity across multiple sheets and maintaining templates during transformations.

Does openpyxl support applying Excel-ready formulas with zero errors?

Yes, openpyxl supports applying Excel-ready formulas with zero errors by enforcing strict computation logic during spreadsheet modifications, ensuring calculated totals and column operations execute correctly in the output xlsx file.

What is the best way to merge multiple CSV files into a single Excel workbook?

The best way to merge multiple CSV files into a single Excel workbook is to open each file, standardize headers, perform data cleaning, and write the consolidated data into one xlsx file with applied formatting and computed formulas.

How do I clean and restructure spreadsheet data for reporting?

Cleaning and restructuring spreadsheet data for reporting requires opening the input file, performing column operations for consistency, applying formatting and charting, and outputting a well-structured spreadsheet ready for analysis or sharing.

Can I generate charts and apply formatting in an xlsm file using Python?

Generating charts and applying formatting in an xlsm file using Python involves utilizing libraries like openpyxl to modify the spreadsheet, apply visual formatting, and insert charts while preserving the file's macro-enabled data integrity.