Excel Spreadsheet Assistant
Paste the following prompt into your AI chat to install this skill:
Please install @org-02qudk26/xlsx-nt into the current AI assistant by following https://skillhub.cn/install/skillhub.md.
About this skill
Problem
When generating or editing Excel files, the hard part is not opening the workbook; it is formulas without cached values, cells reading back as None, broken cross-sheet references, inconsistent finance-model formatting, and using functions the local runtime cannot evaluate. This skill structures XLSX work into creation, editing, bulk data access, and formula verification to avoid common openpyxl, pandas, and LibreOffice pitfalls.
How It Works
- Create/edit: Prefer
openpyxlfor cells, formulas, formatting, and.xlsmmacros; usepandasread_excelandto_excelfor bulk data. - Read/model:
markitdowngives a quick sheet view but no coordinates, so it should not drive edits; reading both formulas and cached values takes twoload_workbookpasses. - Formula checks: Files with formulas must be recalculated.
openpyxlwrites formulas as strings, so before recalculation many tools seeNone; if recalculation reportserrors_found, fix the reported cells and run it again. - Finance models: Apply color conventions for inputs, formulas, cross-sheet links, cross-file links, and key assumptions, and use fixed formats for currency, percentages, years, and multiples. Assumptions should sit in labeled cells referenced by formulas.
Boundaries
Zero formula errors is not proof that the business result is correct. Recalculation only proves formulas evaluate. The skill avoids functions such as XLOOKUP, FILTER, and UNIQUE, preferring INDEX/MATCH and legacy functions. When editing an existing workbook, follow its conventions, leave existing formulas untouched, and do not add template rows to files that only need edits.
Use Cases
- Batch-read multiple CSV or Excel files, clean the data, and write it back to a standardized report while keeping formulas recalcable.
- Update a financial model by preserving input colors, formula structure, and percentage formats, changing only designated cells.
- Read an Excel file that contains formulas and retrieve both formula strings and cached values without accidentally saving `data_only=True`.
- Create a fill-in template with a legend, one realistic example row, and labeled assumption cells referenced by formulas.
Best For
- Finance analysts who consolidate weekly operational data into Excel reports and need formulas to recalculate as inputs change.
- Analysts who maintain financial models and must preserve input, formula, and cross-sheet link color conventions.
- Engineers who read and write Excel with `openpyxl` and `pandas` while avoiding missing cached formula values.
- Operations or product analysts who create fill-in templates with legends, example rows, and labeled assumption cells.
Related Skills
Runs rule and semantic checks on Word files, adds comments, and applies GB/T 9704-2012 party/government formatting.
Generate professional .pptx presentations from a topic or outline, with themes, common layouts, speaker notes, and 16:9/4:3 support.
Generates a fixed-structure A-share tech daily across five tracks, screening 24-hour news and selecting leader and growth stocks.
Convert teaching schedules from talent development plan PDFs into structured Excel files, with cross-page tables, merged cells, multi-semester course splitting, major metadata extraction, and batch output.