Create computed columns in Glide - Math, If-Then-Else, Relations, Rollups, Lookups, Templates. Use when adding calculations, formulas, lookups, or linking tables with relations.
Glide uses computed columns instead of cell formulas. Each computed column applies its logic to every row in the table.
Calculations in Glide are columns, not cell formulas. You build complex logic by chaining columns together - one column's output becomes another column's input.
For arithmetic calculations.
Important: Use plain, human-readable column names as variables. No special escaping or symbols needed.
Example - calculating a total:
Quantity * Unit PriceJust type the column names naturally. Glide will recognize them.
Other examples:
Price * 1.1 (add 10% markup)Total / Count (calculate average)End Date - Start Date (days between dates)Amount - Discount (apply discount)Configure formatting: After creating a math column, set up proper display formatting:
This makes the data instantly readable (e.g., "$1,234.56" instead of "1234.56").
For conditional logic. Returns different values based on conditions.
Structure:
Examples:
Status is "Complete" THEN "✅" ELSE IF Status is "In Progress" THEN "🔄" ELSE "⏳"Priority is "High" THEN "🔴" ELSE IF Priority is "Medium" THEN "🟡" ELSE "🟢"Days Until Due < 0 THEN "Overdue" ELSE "On Track"Total > 1000 THEN "Gold" ELSE IF Total > 500 THEN "Silver" ELSE "Bronze"You can chain multiple If-Then-Else for complex logic, or nest them.
Connect rows between tables based on matching values.
Setup:
Types:
Use relations to enable Lookups and Rollups.
Pull a value from a related row.
Setup:
Example:
Aggregate values across related rows.
CRITICAL CONCEPT: Rollups should almost always operate on a Relation column, not an entire table. This is because rollups on relations automatically filter to only the related rows.
The pattern:
Relation Column → Rollup Column (operates on the relation)
What happens:
Tables:
Goal: Count how many items are in each order
❌ WRONG approach:
In Orders table:
Rollup column → Select "Order Items" table → Count rows
Result: Every order shows the TOTAL count of all items in the entire table
✅ RIGHT approach:
In Orders table:
Step 1: Relation column → Match Order ID to Order Items table
Step 2: Rollup column → Select the Relation column → Count
Result: Each order shows only its own item count
Goal: In Companies table, show count of contacts and sum of deal amounts
✅ Correct setup:
Companies table:
1. Relation: "Related Contacts" → Links to Contacts where Company ID matches
2. Rollup: "Contact Count" → Operates on "Related Contacts" relation → Count
3. Relation: "Related Deals" → Links to Deals where Company ID matches
4. Rollup: "Total Deal Amount" → Operates on "Related Deals" relation → Sum of Amount
Rarely needed, but valid when:
Example:
Dashboard table (single row):
Rollup → Select Users table → Count rows
Result: Shows total user count
| Pattern | Relation | Rollup Configuration | |---------|----------|---------------------| | Count tasks per project | Project → Tasks | Count rows in relation | | Sum order amounts per customer | Customer → Orders | Sum of "Amount" column | | Average rating per product | Product → Reviews | Average of "Rating" column | | Max price in category | Category → Products | Max of "Price" column | | Count activities per contact | Contact → Activities | Count rows in relation |
Combine text and column values into formatted strings.
Example:
Hello, {Name}! Your order total is ${Total}.Great for:
Generate icons from the Hero Icons library.
Use AI to generate text based on other columns.
Build complex calculations by chaining simple columns:
Example: Order Status with Emoji
1. Relation: "Customer" → links to Customers table
2. Lookup: "Customer Name" → pulls name via Customer relation
3. Math: "Days Until Due" → Due Date - Today
4. If-Then-Else: "Is Overdue" → IF Days Until Due < 0 THEN true ELSE false
5. If-Then-Else: "Status Emoji" → IF Is Overdue THEN "🚨" ELSE IF Status = "Complete" THEN "✅" ELSE "📋"
Each column does one thing, and they build on each other.
When using Big Tables (not native Glide Tables), computed columns have limitations for filtering, sorting, and rollups.
Supported for filtering/sorting/rollups in Big Tables:
NOT supported for filtering/sorting/rollups in Big Tables:
Lookup requirements in Big Tables:
Template requirements in Big Tables:
Rollup/Lookup row limit: Maximum 100 matching rows in Big Tables.
See the data-modeling skill for full Big Table documentation.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer