formula-protection

Block edits to critical spreadsheet formulas while allowing safe IFERROR wrappers.

317|108|Updated Oct 18, 2025
One-click install
npx skills add https://github.com/AojdevStudio/Finance-Guru --skill formula-protection
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: formula-protection
Source: https://github.com/AojdevStudio/Finance-Guru/tree/main/.claude/skills/formula-protection
Command: npx skills add https://github.com/AojdevStudio/Finance-Guru --skill formula-protection

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guardrail skill prevents accidental modification or deletion of critical spreadsheet formulas that maintain financial data integrity, ensuring calculations remain correct.

Core Features & Use Cases

  • Blocking sensitive formulas: Prevent edits to GOOGLEFINANCE price formulas and core calculation columns, while allowing safe wrappers like IFERROR.
  • Safe repair workflows: Provides procedures to fix broken references and expand ranges without altering formula logic.
  • Use Case: In a portfolio tracker, accidental edits to Last Price or total rows won't corrupt the data pipeline because edits are blocked unless a safe wrapper is applied.

Quick Start

Wrap eligible formulas with IFERROR to prevent errors while preserving the original calculation.

Frequently Asked Questions about formula-protection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I protect critical Google Sheets formulas from accidental edits?

Protecting critical spreadsheet formulas involves enforcing a guardrail that blocks modifications to core formula cells. This preserves financial data integrity by preventing accidental edits while still permitting safe operations like wrapping formulas with IFERROR or fixing broken references.

Can I add an IFERROR wrapper to a protected Google Sheets formula?

Yes, adding an IFERROR wrapper to a protected formula is an allowed safe-edit operation. The guardrail specifically permits applying safe wrappers like IFERROR to eligible formulas to prevent calculation errors while preserving the original formula logic.

What is the best way to fix broken references in financial spreadsheet formulas?

The best way to fix broken references in financial formulas is through a safe repair workflow. This procedure fixes broken references and expands formula ranges without altering the underlying calculation logic, maintaining data pipeline integrity.

How does formula protection work for portfolio trackers in Google Sheets?

Formula protection for portfolio trackers blocks accidental edits to Last Price formulas and total rows, preventing data pipeline corruption. Edits are blocked unless processed through a safe-edit workflow like applying an IFERROR wrapper.

Are there limitations on expanding formula ranges in protected spreadsheet cells?

Expanding formula ranges in protected cells is limited to operations that do not change the underlying calculation logic. The guardrail enforces scope-limiting edits, meaning range expansions must follow safe repair workflows to maintain formula integrity.