Generate complete Google Sheets formula documentation following APPSHEET_SYSTEM_BLUEPRINT.md templates for ARRAYFORMULA, VLOOKUP, QUERY, and calculated formulas. Use when documenting Google Sheets formulas, writing to docs/formulas/googlesheet_formulas.md, or when user mentions document formulas, ARRAYFORMULA, VLOOKUP, QUERY, or spreadsheet formulas.
Generate complete documentation templates for Google Sheets formulas used in AppSheet projects.
Automatic triggers (no user request needed):
docs/formulas/googlesheet_formulas.mdManual invocation:
/googlesheet-blueprint-skillExample triggers:
googlesheet_formulas.md → Auto-apply blueprint formatThis skill provides complete documentation templates (see ):
Available Templates:
For complete templates with all fields, see TEMPLATES.md.
Determine what needs documentation:
Access the appropriate template from:
Include ALL required fields:
Check against requirements:
Purpose: Auto-calculate second installment due date (1 month after start date)
Formula Location: Batch Data!E:E Type: ARRAYFORMULA Trigger: Populates when Batch Starting Date (Column C) is filled
Formula:
=ARRAYFORMULA(
IF(
ROW(C:C)=1,
"Second Installment Date",
IF(
ISBLANK(C:C),
"",
EDATE(C:C, 1)
)
)
)
**How It Works:**
1. Header Row: If row number is 1, displays "Second Installment Date"
2. Blank Check: If Batch Starting Date (Column C) is blank, returns empty string
3. Date Calculation: Uses EDATE to add 1 month to Batch Starting Date
**Example Output:**
- Batch Starting Date: 2024-06-15
- Second Installment Date: 2024-07-15
**Dependencies:**
- Requires: Column C (Batch Starting Date)
- Updates: Automatically when Batch Starting Date changes
Purpose: Inherit Batch Starting Date from Batch Data table
Formula Location: Student Data!F:F Type: ARRAYFORMULA with VLOOKUP Trigger: Populates when Batch (Column B) is selected
Formula:
=ARRAYFORMULA(
IF(
ROW(B:B)=1,
"Batch Starting Date",
IF(
ISBLANK(B:B),
"",
VLOOKUP(B:B, 'Batch Data'!B:C, 2, FALSE)
)
)
)
**Dependencies:**
- Requires: Column B (Batch) to be filled
- Requires: Batch Data table with matching batch names
- Updates: Automatically when Batch Data is updated
See TEMPLATES.md for complete templates with all fields.
=ARRAYFORMULA(IF(B2:B="","",FORMULA_HERE))
Use Case: Apply formula to entire column, skip blank rows
=IFERROR(VLOOKUP(A2, 'OtherSheet'!A:B, 2, FALSE), "Not Found")
Use Case: Safe lookup with fallback value
=ARRAYFORMULA(IF(ROW(A:A)=1,"Header",IF(ISBLANK(A:A),"",CALCULATION)))
Use Case: Auto-fill with header row and blank handling
Formula documentation MUST include:
For the complete Experimental→Stable promotion workflow, use /version-management-skill.
Formula documentation files follow a 2-version discipline:
googlesheet_formulas.md
├── EXPERIMENTAL V[X] (new formulas being tested)
└── STABLE SYSTEM V[X-1] (current production)
Key Concepts:
backups/[date]-v[X]-stable/Starting new features:
Promoting to stable:
Use /version-management-skill which handles:
When promoting to stable:
✅ Google Sheets formula documentation templates ✅ ARRAYFORMULA patterns and best practices ✅ VLOOKUP/QUERY documentation format ✅ Formula dependency tracking ✅ Cross-sheet formula documentation
❌ Google Sheets formula syntax help (use built-in docs or web search) ❌ Formula debugging/troubleshooting (use Google Sheets help) ❌ Spreadsheet design/architecture (use appsheet-blueprint-skill for table structure)
AUTOMATIC INVOCATION: When documenting any Google Sheets formula, you MUST automatically use blueprint templates to ensure completeness. This ensures ALL required fields are included.
Always use complete templates: Don't omit fields. Every formula needs: Formula Type, Cell Location, Range, Formula, Purpose, Dependencies, Behavior, Example Output, Notes.
Templates are in TEMPLATES.md: Use TEMPLATES.md as the source of truth for all documentation format templates.
For comprehensive templates and real-world examples, see:
Version: 1.0 Last Updated: 2026-01-21 Source: googlesheet-blueprint-skill/SKILL.md