Create advanced Works with: Any AI

Notion Formulas, Relations, and Rollups Helper

Table output

Write formulas and rollups for common needs.

The Open buttons send the prompt text as currently shown below to that site only when you click. Fill in the placeholders first.

Rate this prompt

Loading ratings…

Help me build formulas, relations, and rollups in Notion. My databases and properties: [DATABASES_AND_PROPERTIES]. What I want to calculate or show: [GOALS]. Version notes: Notion's formula syntax has changed over time, so confirm syntax in the current documentation.

For each goal, provide a table row: Goal | Where (database and property type) | Formula or rollup configuration | Explanation | Example result | Pitfalls.
Cover typical needs: days until due date and overdue flags; progress percent from related tasks (rollup with percent checked); next due date among related tasks (rollup earliest date with a filter); status icons using conditional text; counting items by status in a related database; total hours and cost; full name from first and last name; formatting dates and numbers; avoiding empty-value errors; a "needs attention" checkbox formula combining several conditions; a recurring task due date approach; and filtered rollups (only open tasks).

Add instructions for creating each relation (two-way), naming properties clearly, and testing with three sample rows including blank values. Provide a troubleshooting list (rollups showing zero because of a filter, formulas returning errors on empty properties, property type mismatches). Note limits (formulas cannot write to other pages; automations or buttons are needed for that).

Fill in before use

Optional: type your details and the prompt above updates. Nothing is saved or sent.

Replace each bracketed placeholder with your own details, then paste into Any AI or another assistant.

Related prompts