Individual skill

evo-excel-gcc-net-exports-formulas

Generate workbook-specific INDEX/MATCH lookup formulas and downstream GCC net-exports formulas for the target workbook layout.

tasks-evolved/weighted-gdp-calc/environment/skills/evo-excel-gcc-net-exports-formulas/SKILL.md

Read pinned source

Source commit 84ca182da055fafb6453dcec4a6defdbbfd987c1

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
No
Repository scan complete
No
Skill scan complete
Yes
Observed behavior
Not checked yet
Last checked
Nov 6, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
97
Repository last updated
Sep 10, 2026
License
Apache-2.0

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

This skill handles workbook-specific financial/statistical formula construction.

Knowledge internalized:
- The lookup blocks H12:L17, H19:L24, and H26:L31 must contain formulas, not pasted values.
- For this workbook, stable lookup formulas are built with `INDEX` on the exact Data row for each series and `MATCH` on the year header in `Data!I4:M4` against the Task year cells in row 9.
- Net exports percent of GDP is `(exports - imports) / GDP` with blank/zero guard.
- Summary rows are MIN row 43, MAX row 44, MEDIAN row 45, AVERAGE row 46, 25th percentile row 47, 75th percentile row 48.
- Percentiles must use `PERCENTILE.INC`, not legacy `PERCENTILE`.
- GCC weighted mean is on row 50 and uses `SUMPRODUCT(ratios, GDPs)/SUM(GDPs)`.
- Formula strings must be English and comma-separated.

Functions:
- `map_task_ranges()`
- `build_two_key_lookup_formula(task_row, year_col)`