Repository navigation
Sheets: working columns go on a Workings tab, and a ranked table has a pattern - #9
Merged
Merged
Conversation
…a pattern A league table built by the skill showed its working columns beside it: the same rows again, unsorted, with a "Sort key" of numbers like 7,506,010.998 and a rank. The engine has no SORT, RANK, LARGE or ROW, so a ranked table needs helper columns, and nothing said where they go. build.md now says: working columns go on a tab named Workings, last in the list, under headers that say what they are; lists people edit stay on a tab they fill in; a ranked table ranks on Workings with COUNTIFS (ties split on the next figure, then by the list's order, so each position appears once) and looks its rows up by position. functions.md names RANK, LARGE, SMALL and ROW as not supported and points to the pattern. The engine can't hide a column or a tab. Co-authored-by: Pointman <noreply@pointman.ai> Co-authored-by: Claude <noreply@anthropic.com>
… list's names Co-authored-by: Pointman <noreply@pointman.ai> Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Pointman <noreply@pointman.ai> Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The skill now tells the agent where working columns go: a tab named Workings, last in the list. It also gives a COUNTIFS pattern for ranked tables, because the engine has no SORT, RANK, LARGE or ROW.
Why
A league table built from the ask "track a 5-a-side football team's season: fixtures, scores, who played, and a league-style table of points" showed its working columns beside it. Columns M to W on the Table tab held the six teams again, unsorted, under "Teams (edit names here)", with a "Sort key" (7,506,010.998, 493,002.993 …) and a "Rank". A person sees every figure twice, plus a column of nonsense. Nothing in the skill said where helper columns go, and there was no ranking pattern to follow, so the agent improvised one. It also tried
ROW()first, which shows#NAME?.Can the engine hide a column or a tab?
No. The format has no field for it, the page draws every tab and every column, and the .xlsx writer writes no hidden flag. The words therefore send working columns to a tab of their own, which the .xlsx keeps as well.
The change
references/build.md, new section "Working columns go on a tab of their own":references/functions.md:RANK,LARGE,SMALLandROWjoin the not-supported list, which points to the pattern.No engine, page or script change.
Tested
sheet.js check), with two and three keys, including a full tie: positions come out 1 to 6 with each appearing once, and the lookups return the right teams.node tests/run.js82/82.spacesheep skills lint: well-formed, hash d88555811346.claude-opus-5-5, xhigh)claude-sonnet-5-5, medium)All runs pass
sheet.js check. An earlier Opus run, made before the "figures a read tab shows again" line, kept each team's totals beside the names on its Teams tab. That line is the second commit.Worth a close look
B$2:B2) is what makes every position unique. It assumes the list has no blank rows inside the ranges.