Skip to Content
Formula Foundry Docs is in beta — content is being added regularly.
Snippet Library

Snippet Library

The Snippet Library is where you keep formulas you want to reuse. Think of it as a bookmark list for your best formulas, always one click from the Editor.

Saving a snippet

  1. Write or edit a formula in the Editor.
  2. Click the Save to Snippets button (bookmark icon) in the toolbar, or open the Snippets panel on the side rail and choose New.
  3. Give your snippet a Snippet Name (e.g. “Monthly revenue growth %”).
  4. Paste or refine the formula in the Formula / Logic field — it has the same Monaco editor you’re used to.
  5. If your plan supports team sharing, choose Private (visible only to you) or Team (visible to everyone in your workspace). If not, the snippet is private by default.
  6. Click Save.

Snippets also remember the platform they were saved for (Google Sheets or Excel), so the Editor formats them correctly when you load them.

Using a snippet

  1. Open the Snippets panel from the side rail, or go to the full Snippets page from the portal.
  2. Filter by Team or Private at the top, or search by name.
  3. Click a snippet to load it into a new editor tab. From there you can tweak it, run the translator, or insert it directly.

Managing snippets

  • Edit — update the formula, name, or visibility.
  • Delete — remove a snippet you no longer need.
  • Search & filter — scoped to your workspace.

Private vs. team snippets

  • Private snippets are bound to your user. Only you see them.
  • Team snippets are bound to the workspace. Every member of the workspace can see and use them, which makes them a good home for shared templates and standard calculations.

The Team toggle only appears if your plan’s canShareSnippets capability is on. Starter and trial workspaces are private-only.

Quotas

Each plan caps the total number of snippets via maxSnippets. When you’re close to the cap, the panel shows a progress bar. Once you hit it, saving is disabled until you delete something or upgrade — see Billing & Plans.

Sync

Snippets live in Firestore under your workspace and sync automatically across Google Sheets, Excel, and the web portal.

Tips

  • Use clear names: “VLOOKUP — product price by SKU” is better than “Lookup 1”.
  • Snippets preserve custom variables (@@name), so they stay readable when you load them in a spreadsheet that defines those variables.
  • Shared team snippets are a great way to enforce a single “house” version of a formula.
Last updated on