Spreadsheet (XLSX)
Use when the result has to be an Excel file that people can edit. Puts the answer on the first sheet, built from formulas, with inputs, data and checks behind it.
v3.0.0
Was dieser Skill macht
Die vollständigen Anweisungen, denen Ihr Agent folgt. Nichts davon liegt hinter einer Anmeldung.
Spreadsheet (XLSX)
How to build a workbook with save_spreadsheet. Write sheet names, headers, statuses and text in the user's language.
A template or layout set by the task comes first. Use this guide for the rest.
Sheets, in this order
Keep only the ones the request needs. A plain list is one data sheet.
- Summary: one table with a row per group: its name (no rank column), result, target, gap, rate, status, and anything else asked for, such as a bonus. Sort by today's status, ✕, △, ✓, then lowest rate (formulas don't re-sort). No status: largest first. Dates keep their order. Add a total row and, if a column fits, one chart that answers the question.
- Inputs: every rate, target and limit the user may change: name, value, unit, source. Put rates and amounts in separate value columns. Formulas point here, such as
Inputs!$B$2. Never type such a number into a formula. - Data: one sheet per kind of record, one row per record. Keep the user's values as they are. Never fix, fill in or merge them.
- Checks: check, first total, second total, difference, status. Compare each breakdown with the total of the data.
- Notes: sources, definitions, assumptions and problems found in the data.
Tables
- One table per sheet, from A1. Row 1 is the header (frozen, with a filter). No merged cells, empty rows or columns, or text above or beside it. Sheet names: up to 31 characters, none of [ ] : * ? / \
headernames the field and its unit. Settypefor every column that isn't text:integer;number;currency(digits only);percent("12.5%");date("YYYY-MM-DD"). IDs, phone numbers and codes staytext.- Every row has one cell per column, in order. Use "" for an unknown value.
total_row: truemarks the last row. It stays out of the filter, colors and chart. On a data sheet use=SUBTOTAL(109,C2:C13), which follows the filter. Leave it empty where adding makes no sense. A total rate is total ÷ total, never a sum or average of rates.- Formulas on other sheets read only the data rows, never their total row.
Formulas
- Use one for every total, gap, rate and status, with the same pattern down the column. Data starts at row 2: check each range against the real rows. Split long formulas into columns.
- Use only SUM, SUBTOTAL, SUMIFS, COUNTIFS, AVERAGEIFS, AVERAGE, MIN, MAX, COUNT, COUNTA, ROUND, ROUNDUP, ABS, IF, AND, OR, IFERROR, INDEX, MATCH and EDATE. They work in every Excel version and previews show their values. No array formulas.
- Show problems. Never use
IFERROR(…,0): for a missing value or a zero divisor, write "Can't calculate". - Text that looks like a date ("2026-09") can match wrongly in SUMIFS. Use the month's first day as a real
date, or a plain name ("September").
Show what matters
- Status: a
textcolumn withstyle: "status". The formula's text starts with ✓ (good), △ (watch) or ✕ (act), then a word:=IF(E2>=Inputs!$B$2,"✓ Met",IF(E2>=Inputs!$B$3,"△ Watch","✕ Missed")). bar: one amount column with 8 or more rows.scale: a grid of at least 3 × 3 cells with one measure. Nothing else gets color.chart: 3-30 rows.barfor groups,linefor dates; values share one unit. The title (up to 30) names what is compared, since an edit can change the result. Never chart a column that can show text or an error.
Before you save
- Work out each total another way. They match, and Checks shows ✓.
- Changing an input changes every result that depends on it.
Saving
- Up to 5,000 rows per sheet. Split larger data by period, or summarize it and say what is left out.
- Call
save_spreadsheetonce with all sheets: apathunder/data/ending in.xlsxand a one-linedescription. To revise, use the samepathand all the updatedsheets.
Your reply
Two to four lines: the answer with its number, what each sheet is for, and any missing, doubtful or assumed value. Don't paste the table.
Kostenlos starten
Nach der Registrierung fügen Sie Spreadsheet (XLSX) mit einem Klick zu Ihrem Agenten hinzu.