Common formulas

Copy-and-paste formulas for deadlines, budget and cost, progress and status, labels, linked records and scores, each with the result type to choose and a worked example on sample data.

On this page
Who is this for
Admins
Prerequisites
A formula field to paste into. See Formula basics.
Permissions
Admin role to create the formula field.

Copy a formula, then change the field names in braces to match your workspace. The worked examples and the sample screenshots show the results on 4 October 2026, so any formula that uses today gives different numbers on another day.

Why use it

Most formulas follow a few patterns, such as days to a deadline or budget used. Starting from a tested recipe means you change the field names rather than write the formula from nothing, and the worked example shows what result to expect.

Example: An admin needs a column that marks late projects. They open Dates and deadlines, copy the Late project flag recipe, change the field names in braces and the "Closed" status to match their workspace, and choose Yes / No as the result type. They click Evaluate to check it, then Save and close, and compare the column with the worked example.

Add a formula

  1. Copy the formula from a code block below.
  2. Open Administration → Entity & fields.
  3. Click the tab of the entity that should hold the field.
  4. Click Add field.
  5. Enter a Field name.
  6. In the Type grid, click Formula.
  7. Click Add. Gembaa opens Field settings.
  8. Click the Formula tab.
  9. Under This formula produces a…, choose the result type the recipe names.
  10. Paste the formula into Expression.
  11. Replace each field name in braces with the exact name of your field.
  12. Click Evaluate. The result appears under the button as = result.
  13. Click Save and close. The new field shows in the table and the record panel.

For what each step does and how to refer to a field, see Formula basics. If a formula shows a warning, see Fix formula problems.

Find a recipe

I want to...RecipeResult type
See how many days are leftDays to end dateNumber
Flag what is lateLate project flag or Late task flagYes / No
See how much budget is spentPercentage of budget spentNumber
Show Green, Amber or RedTraffic light from percentageText
Count the people on a teamPeople countNumber
Show the end date of a record's projectLinked project end dateDate

Start with these four

If your workspace has no formulas yet, add these first, in this order. Each one gives a column people use straight away.

  1. Days to end date, a Number that counts down to the end date.
  2. Late project flag, a Yes / No you can colour or filter on.
  3. Percentage display format, the share of budget spent shown with the 0% Display format.
  4. Traffic light from percentage, a Text result of Green, Amber or Red.

Put a formula to work

A formula column earns its place when other parts of Gembaa use it. This walk-through uses the Late project flag.

  1. Ask an admin to add the Late project flag formula to Project, as in Add a formula above.
  2. Open the Projects table, then Customise, and switch the new column on in the Data tab.
  3. On the Highlights tab, click Add.
  4. Pick the Late project flag column and choose the condition is yes.
  5. Choose Row and a red background, then click Add. Late projects turn red.
  6. Add a Filter on the Late project flag column with the condition is yes, then click Save changes and Save as new tab. Name it "Late projects".
  7. Optional: If you are an admin, right-click the tab and choose Save as preset, so the tab can reach other people. See Preset tabs.

An Excel export of that tab keeps the colours: choose Download, then Excel. The formula column exports as text. See Export data.

Sample data used in the examples

The worked examples use records from the Gembaa demo data. These are the example projects and tasks with the fields the recipes read, as they stand on 4 October 2026.

A Projects table with seven example projects and their Status, Health, Priority, Category, Start date, End date and CompletionA Projects table with seven example projects and their Status, Health, Priority, Category, Start date, End date and Completion
Sample projects, status and dates: the inputs the date, progress, status and label recipes read.
The same seven projects with Budget, Actual Cost (AC), Forecast at completion, Strategic, Value and UrgencyThe same seven projects with Budget, Actual Cost (AC), Forecast at completion, Strategic, Value and Urgency
Sample projects, money and ratings: the inputs the budget and score recipes read.
A Tasks table with four example tasks and their Status, Priority, Start date, Due date, Estimate and ProgressA Tasks table with four example tasks and their Status, Priority, Start date, Due date, Estimate and Progress
Sample tasks: Testing & QA is one of several tasks with that name, all with no Priority or Estimate.

Each recipe section below has its own sample: the same records with that section's recipes added as columns, one column per recipe, named after the recipe's heading. Every example names the sample that shows it, so you can check the result.

Things that differ from your workspace:

  • Progress is called Completion. In the demo data the Project progress field is named Completion, so the samples use {Completion} where the recipes say {Progress}. Tasks have a field called Progress.
  • Actual cost and forecast are custom fields. The demo data has two Currency fields on Project, Actual Cost (AC) and Forecast at completion. A fresh workspace has neither.
  • Labels differ. Project Status in the demo data is Planned, Execution, Blocked or Closed, and Health is On track, At risk or Off track.

A fresh workspace has these fields:

  • Project: Name, Status, Health, Priority, Program, Project manager, Start date, End date, Progress and Budget.
  • Task: Start date, Due date, Estimate, Status, Priority and Progress.

The formulas below use these names unless the recipe says otherwise.

Dates and deadlines

The Dates sample shows these recipes on three projects and three tasks.

Three projects with Start date, End date and columns for Days to end date, Days overdue, Duration in days, Duration in weeks, Days since start and Days to fixed dateThree projects with Start date, End date and columns for Days to end date, Days overdue, Duration in days, Duration in weeks, Days since start and Days to fixed date
Dates sample, projects: Days to end date to Days to fixed date.
Three projects with Status, Start date, End date and columns for Start plus 30 days, Future-only end date, Late project flag and Time elapsed %Three projects with Status, Start date, End date and columns for Start plus 30 days, Future-only end date, Late project flag and Time elapsed %
Dates sample, more projects: Start plus 30 days, Future-only end date, Late project flag, and Planned time used in the Time elapsed % column.
Three tasks with Status, Due date and columns for Days overdue, Late task flag and Due within 14 daysThree tasks with Status, Due date and columns for Days overdue, Late task flag and Due within 14 days
Dates sample, tasks: Days overdue, Late task flag and Due within 14 days.

Days to end date

Gives the days left, and a negative number once the date has passed.

datediff({End date}, today)
  • Result type: Number
  • Fields: Project End date.
  • Example (Dates sample): Customer Portal Redesign ends on 31 Dec 2027, so it shows 453. Customer Churn ML Model ended on 12 Sep 2025, so it shows -387.

Days overdue

Gives how many days late a date is, and 0 until then. max keeps the answer from going below 0.

max(0, datediff(today, {End date}))
  • Result type: Number
  • Fields: Project End date. For tasks use max(0, datediff(today, {Due date})) with Task Due date.
  • Example (Dates sample): Customer Portal Redesign shows 0. Customer Churn ML Model shows 387. For tasks, Audit existing portal screens (due 20 Sep 2026) shows 14 and Build component library shows 0.

Duration in days

Gives the length of a project or task.

datediff({End date}, {Start date})
  • Result type: Number
  • Fields: Project Start date and End date.
  • Example (Dates sample): Customer Portal Redesign shows 1054. Customer Churn ML Model shows 158.

Duration in weeks

Gives the length in whole weeks.

round(datediff({End date}, {Start date}) / 7)
  • Result type: Number
  • Fields: Project Start date and End date.
  • Example (Dates sample): Customer Portal Redesign is 1054 days, or 150.6 weeks, so it shows 151. Customer Churn ML Model shows 23.

Days since start

Gives how long a project has been running. A negative number means it has not started.

datediff(today, {Start date})
  • Result type: Number
  • Fields: Project Start date.
  • Example (Dates sample): Customer Portal Redesign shows 601. Legacy Portal Decommission starts in 2 days, so it shows -2.

Days to fixed date

Counts down to one date for every record, such as a go-live.

datediff(date("2026-12-31"), today)
  • Result type: Number
  • Fields: none.
  • Example (Dates sample): every record shows 88.

Start plus 30 days

Adds days to a date.

{Start date} + 30
  • Result type: Date
  • Fields: Project Start date.
  • Example (Dates sample): Customer Portal Redesign starts on 10 Feb 2025 and shows 12 Mar 25. Customer Churn ML Model shows 07 May 25.

Future-only end date

Gives the end date, or today if the end date has passed.

max({End date}, today)
  • Result type: Date
  • Fields: Project End date.
  • Example (Dates sample): Customer Portal Redesign shows 31 Dec 27. Customer Churn ML Model shows 04 Oct 26, which is today.

Late task flag

Gives Yes for a task that is past its due date and not finished.

{Status} != "Done" and {Due date} < today
  • Result type: Yes / No
  • Fields: Task Status and Due date. A fresh workspace has a Done status.
  • Example (Dates sample): Audit existing portal screens shows Yes. Build component library and Demand forecast model show No.

Late project flag

Gives Yes for a project past its end date that is not closed.

{End date} < today and {Status} != "Closed"
  • Result type: Yes / No
  • Fields: Project End date and Status. Replace "Closed" with the status your workspace uses for finished projects. A fresh workspace uses "Done".
  • Example (Dates sample): Customer Portal Redesign, Customer Churn ML Model and Legacy Portal Decommission show No. In the demo data eight projects are past their end date, and all eight are Closed, so no project shows Yes.

Due within 14 days

Gives Yes when a date is between today and 14 days away.

datediff({Due date}, today) >= 0 and datediff({Due date}, today) <= 14
  • Result type: Yes / No
  • Fields: Task Due date.
  • Example (Dates sample): Demand forecast model is due tomorrow and shows Yes. Audit existing portal screens (past) and Build component library (months away) show No.

Planned time used

Gives how far through its dates a project is, from 0 to 100.

round(min(100, max(0, datediff(today, {Start date}) / datediff({End date}, {Start date}) * 100)))
  • Result type: Number
  • Fields: Project Start date and End date. Name this field Time elapsed % if you want to use it in the behind schedule recipe.
  • Example (Dates sample, Time elapsed % column): Customer Portal Redesign shows 57. Customer Churn ML Model shows 100. Legacy Portal Decommission shows 0.

Budget and cost

Budget is a built-in Project field. Actual cost and forecast are not built in. The recipes use two custom Currency fields, Actual Cost (AC) and Forecast at completion. Add Currency fields for them first (see Entities and custom fields) and use their names in the braces.

Number results show without a currency symbol or thousands separator unless you set a Display format, for example 157500. To show money, enter #,##0 or $ #,##0.00 in Display format on the Formula tab. The worked examples use no Display format, except the last recipe in this section.

The Budget sample shows these recipes on the example projects.

Four projects with Budget, Actual Cost (AC), Forecast at completion and columns for Budget remaining, Forecast variance, Absolute gap and Over-budget flagFour projects with Budget, Actual Cost (AC), Forecast at completion and columns for Budget remaining, Forecast variance, Absolute gap and Over-budget flag
Budget sample, part 1: Budget remaining, Forecast variance, Absolute gap and Over-budget flag.
Five projects with Budget, Actual Cost (AC) and columns for Percentage of budget spent, Round to decimal places and Capped percentage spentFive projects with Budget, Actual Cost (AC) and columns for Percentage of budget spent, Round to decimal places and Capped percentage spent
Budget sample, part 2: Percentage of budget spent, Round to decimal places and Capped percentage spent.
Five projects with Budget, Actual Cost (AC) and columns for Guarded percentage spent and Percentage display formatFive projects with Budget, Actual Cost (AC) and columns for Guarded percentage spent and Percentage display format
Budget sample, part 3: Guarded percentage spent and Percentage display format.

Budget remaining

Gives the budget minus what has been spent. A negative number means overspent.

{Budget} - {Actual Cost (AC)}
  • Result type: Number
  • Fields: Project Budget and an actual cost field (typical custom field).
  • Example (Budget sample, part 1): Customer Portal Redesign shows 157500. Cloud Landing Zone Setup shows -25600.

Forecast variance

Gives the forecast cost minus the budget. Positive means a forecast overspend.

{Forecast at completion} - {Budget}
  • Result type: Number
  • Fields: Project Budget and a forecast field (typical custom field).
  • Example (Budget sample, part 1): Customer Portal Redesign shows 0. Customer Churn ML Model shows -10800. AML Platform Uplift shows 165000.

Absolute gap

Gives the distance between forecast and budget, whichever way it goes.

abs({Forecast at completion} - {Budget})
  • Result type: Number
  • Fields: as for forecast variance.
  • Example (Budget sample, part 1): Customer Churn ML Model shows 10800, where the variance showed -10800.

Over-budget flag

Gives Yes when the forecast is above the budget.

{Forecast at completion} > {Budget}
  • Result type: Yes / No
  • Fields: as for forecast variance.
  • Example (Budget sample, part 1): Cloud Landing Zone Setup and AML Platform Uplift show Yes. Customer Portal Redesign shows No.

Percentage of budget spent

Gives the share of the budget already spent, as a whole number.

round({Actual Cost (AC)} / {Budget} * 100)
  • Result type: Number
  • Fields: Project Budget and an actual cost field (typical custom field).
  • Example (Budget sample, part 2): Customer Portal Redesign shows 55. Cloud Landing Zone Setup shows 108. Predictive Analytics Platform shows 17.

Round to decimal places

round rounds to whole numbers only. To keep decimals, multiply, round, then divide. For one decimal place use 1000 and 10. For two use 10000 and 100.

round({Actual Cost (AC)} / {Budget} * 10000) / 100
  • Result type: Number
  • Fields: as for percentage of budget spent.
  • Example (Budget sample, part 2): Predictive Analytics Platform shows 16.5. Loyalty Programme Platform shows 44.65, where the whole-number recipe shows 45. A whole result such as 55 shows without trailing zeros.

Capped percentage spent

Keeps the figure between 0 and 100, for example to feed a highlight rule.

min(100, max(0, round({Actual Cost (AC)} / {Budget} * 100)))
  • Result type: Number
  • Fields: as for percentage of budget spent.
  • Example (Budget sample, part 2): Cloud Landing Zone Setup shows 100, where the uncapped figure is 108. Customer Portal Redesign shows 55.

Guarded percentage spent

Dividing by 0 cannot be worked out. This tests the budget first and shows text instead. An empty Budget counts as 0, so it takes the guard branch.

if({Budget} == 0, "No budget set", round({Actual Cost (AC)} / {Budget} * 100) || "%")
  • Result type: Text
  • Fields: Project Budget and an actual cost field (typical custom field).
  • Example (Budget sample, part 3): Customer Portal Redesign shows 55%. Cloud Landing Zone Setup shows 108%. Legacy Portal Decommission has nothing spent and shows 0%. Every sample project has a Budget; a project without one would show No budget set.

Percentage display format

Keep the formula as a ratio and set the look in Display format. Enter 0% to show a whole percentage, or 0.0% to keep one decimal place.

{Actual Cost (AC)} / {Budget}
  • Result type: Number, with Display format 0%.
  • Fields: Project Budget and an actual cost field (typical custom field).
  • Example (Budget sample, part 3): Customer Portal Redesign has a ratio of 0.55 and shows 55%. Cloud Landing Zone Setup shows 108%. Filters, sorting and totals still use the ratio.

Progress and status

The Progress sample shows these recipes on the example projects and tasks. In the demo data the Project progress field is called Completion, so the project columns use {Completion} in place of {Progress}.

Five projects with Completion and columns for Time elapsed %, Behind schedule, Traffic light from percentage and Empty progress messageFive projects with Completion and columns for Time elapsed %, Behind schedule, Traffic light from percentage and Empty progress message
Progress sample, projects: Behind schedule, Traffic light from percentage and Empty progress message, with Time elapsed % as their input.
Three projects with Status, Health and columns for Open or finished label, Project not closed and Attention from healthThree projects with Status, Health and columns for Open or finished label, Project not closed and Attention from health
Progress sample, status: Open or finished label, Project not closed and Attention from health.
Three tasks with Priority, Estimate, Progress and columns for Hours left and Escalate high priority tasksThree tasks with Priority, Estimate, Progress and columns for Hours left and Escalate high priority tasks
Progress sample, tasks: Hours left and Escalate high priority tasks.

Behind schedule

Gives Yes when progress is lower than the share of planned time used. It uses the formula named Time elapsed % from the planned time used recipe.

{Progress} < {Time elapsed %}
  • Result type: Yes / No
  • Needs: the Planned time used formula, saved first as a field named Time elapsed %.
  • Fields: Project Progress and a Number formula named Time elapsed %.
  • Example (Progress sample, projects): Customer Portal Redesign shows Yes (55 against 57). Customer Churn ML Model shows No (100 against 100). Predictive Analytics Platform shows Yes (11 against 44). Empty progress counts as lower than any number above 0, so AML Platform Uplift (empty, 53) shows Yes, while Legacy Portal Decommission (empty, 0, not started) shows No.

Traffic light from percentage

Gives Green, Amber or Red from a percentage. The second test sits inside the first if.

if({Progress} >= 75, "Green", if({Progress} >= 40, "Amber", "Red"))
  • Result type: Text
  • Fields: Project Progress.
  • Example (Progress sample, projects): Customer Portal Redesign (55) shows Amber. Customer Churn ML Model (100) shows Green. Predictive Analytics Platform (11) shows Red. AML Platform Uplift and Legacy Portal Decommission have empty progress and show Red.

The same result with ? : and no brackets:

{Progress} >= 75 ? "Green" : {Progress} >= 40 ? "Amber" : "Red"

Empty progress message

Gives the percentage with a % sign, or a message when nothing is entered.

if({Progress} == "", "No progress yet", {Progress} || "%")
  • Result type: Text
  • Fields: Project Progress.
  • Example (Progress sample, projects): Customer Portal Redesign shows 55%. Legacy Portal Decommission and AML Platform Uplift show No progress yet.

Hours left

Gives the estimate multiplied by the share of the work still to do.

round({Estimate} * (100 - {Progress}) / 100)
  • Result type: Number
  • Fields: Task Estimate and Progress.
  • Example (Progress sample, tasks): Audit existing portal screens (24 hours, 85% done) shows 4. Demand forecast model (46 hours, 35%) shows 30. Testing & QA has no estimate and shows 0.

Open or finished label

Turns a status into a plain label.

{Status} == "Closed" ? "Finished" : "Open"
  • Result type: Text
  • Fields: Project Status. Replace "Closed" with your finished status. A fresh workspace uses "Done".
  • Example (Progress sample, status): Customer Portal Redesign shows Open. Customer Churn ML Model and Cloud Landing Zone Setup show Finished.

Project not closed

Gives Yes while a project is not in its finished status. not needs brackets around the test.

not ({Status} == "Closed")
  • Result type: Yes / No
  • Fields: Project Status. Use "Done" in a fresh workspace.
  • Example (Progress sample, status): Customer Portal Redesign shows Yes. Customer Churn ML Model shows No.

Escalate high priority tasks

Gives Escalate for High or Urgent tasks, and Normal for everything else.

{Priority} == "Urgent" or {Priority} == "High" ? "Escalate" : "Normal"
  • Result type: Text
  • Fields: Task Priority. A fresh workspace has Low, Medium, High and Urgent.
  • Example (Progress sample, tasks): Audit existing portal screens (High) shows Escalate. Testing & QA has no priority and shows Normal.

Attention from health

Gives Yes when health is poor. Compare against the labels your workspace uses.

{Health} == "At risk" or {Health} == "Off track"
  • Result type: Yes / No
  • Fields: Project Health. The example uses On track, At risk and Off track. A fresh workspace uses Green, Amber and Red, so change the quoted labels to match.
  • Example (Progress sample, status): Customer Portal Redesign (At risk) and Customer Churn ML Model (Off track) show Yes. Cloud Landing Zone Setup (On track) shows No.

Labels and codes

The Labels sample shows these recipes on two projects and two Staff records.

Two projects with Category, Priority, End date and columns for Joined label and Sentence with a numberTwo projects with Category, Priority, End date and columns for Joined label and Sentence with a number
Labels sample, projects: Joined label and Sentence with a number.
Two Staff records with First name, Last name and a Full name (formula) columnTwo Staff records with First name, Last name and a Full name (formula) column
Labels sample, Staff: the Full name recipe, in a column called Full name (formula) because Staff already has a field called Full Name.

Joined label

Joins text with ||. Numbers are turned into text.

{Category} || " - " || {Priority}
  • Result type: Text
  • Fields: Project Priority and a Select field called Category (typical custom field). In a fresh workspace use {Status} || " - " || {Priority}.
  • Example (Labels sample, projects): Customer Portal Redesign shows Client Facing / External - High. Customer Churn ML Model shows Strategic - Medium.

Sentence with a number

Builds a sentence from text and a calculated number.

"Ends in " || datediff({End date}, today) || " days"
  • Result type: Text
  • Fields: Project End date.
  • Example (Labels sample, projects): Customer Portal Redesign shows Ends in 453 days. Customer Churn ML Model shows Ends in -387 days.

Full name

Joins a first and last name with a space between.

{First name} || " " || {Last name}
  • Result type: Text
  • Fields: Staff First name and Last name. Field names must be unique on an entity, so give the formula a name such as Display name if Staff already has a Full Name field.
  • Example (Labels sample, Staff): Sarah Kobayashi shows Sarah Kobayashi. Bram Peeters shows Bram Peeters.

Checkbox to label

Turns a Checkbox field into words.

{Approved} ? "Approved" : "Pending"
  • Result type: Text
  • Fields: a Checkbox field called Approved (typical custom field). Neither a fresh workspace nor the demo data has one, so this recipe has no sample.
  • Example: a ticked Approved shows Approved. An empty Checkbox is read as No, so it shows Pending.

Linked records and counts

These recipes need a Relation field. To follow a link and read a field of the linked record, the Relation field must link one record only. Project Program can link several programs, so {Program}.{End date} on a Project is refused. The examples use fields that do link one record: SOW Project and Milestone Parent. The counts use Team Members, which links several Staff records.

Two SOWs with Project, End Date and columns for Linked project end date and Gap to project endTwo SOWs with Project, End Date and columns for Linked project end date and Gap to project end
Linked sample, SOWs: Linked project end date and Gap to project end.
Three milestones with Parent and columns for Linked record type and Parent project nameThree milestones with Parent and columns for Linked record type and Parent project name
Linked sample, milestones: Linked record type and Parent project name.
Two teams with Members and columns for People count and Label with nobody on itTwo teams with Members and columns for People count and Label with nobody on it
Linked sample, teams: People count and Label with nobody on it.

People count

Gives the number of values in a Multi-select, Relation or User field.

count({Members})
  • Result type: Number
  • Fields: a Multi-select, Relation or User field, such as Team Members.
  • Example (Linked sample, teams): Phoenix has nine members and shows 9. Zenith has none and shows 0.

Label with nobody on it

Turns a count into a plain label.

if(count({Members}) == 0, "Nobody yet", "Staffed")
  • Result type: Text
  • Fields: as for the count recipe.
  • Example (Linked sample, teams): Zenith shows Nobody yet. Phoenix shows Staffed.

Linked project end date

Gives a field from the one record a Relation field links to. This reads the Project's end date on a SOW.

{Project}.{End date}
  • Result type: Date
  • Fields: SOW Project (a Relation field that links one record) and the linked Project's End date. Use the exact names in your workspace.
  • Example (Linked sample, SOWs): Hypercare belongs to Customer Portal Redesign and shows 31 Dec 27. Data migration belongs to Self-Service Account Hub and shows 30 Sep 28. A SOW with no Project would show today's date, because an empty date reads as today.

Gap to project end

Combines a field on this record with a field on the linked record.

datediff({Project}.{End date}, {End Date})
  • Result type: Number
  • Fields: SOW Project and End Date, and the Project's End date. In the demo data the SOW field is End Date with a capital D and the Project field is End date, and each name must be written exactly.
  • Example (Linked sample, SOWs): Hypercare ends on 05 Mar 2027 and shows 301. Data migration shows 610. A positive number means the SOW ends before its project does.

Linked record type

Gives the entity type of the record a Relation field links to. It works without naming a type, even when the Relation field can link several types.

{Parent}.type
  • Result type: Text
  • Fields: Milestone Parent, which links one Program, Project, Task or Sub-task.
  • Example (Linked sample, milestones): Portal design sign-off shows Project. Portal UX audit delivered shows Task. Self-Service Modernization kickoff gate shows Program. An empty Parent shows nothing.

Parent project name

Reads a field from a Relation field that can link several types. Name the type after a colon.

{Parent:Project}.{Name}
  • Result type: Text
  • Fields: Milestone Parent and the Project's Name.
  • Example (Linked sample, milestones): Portal design sign-off shows Customer Portal Redesign. The other two milestones belong to a Task and a Program, so they show nothing.

Scores

The Scores sample shows this recipe on three projects, with a second column that leaves out the rounding.

Three projects with Strategic, Value, Urgency and columns for Weighted score and Weighted score, not roundedThree projects with Strategic, Value, Urgency and columns for Weighted score and Weighted score, not rounded
Scores sample: Weighted score, with and without rounding.

Weighted score

Combines several 1 to 5 ratings into one score. Rounding the sum with round(... * 10) / 10 keeps it to one decimal place.

round(({Strategic} * 0.5 + {Value} * 0.3 + {Urgency} * 0.2) * 10) / 10
  • Result type: Number
  • Fields: three rating fields (typical custom fields). The recipe works with Select fields labelled 1 to 5, because multiplication reads a Select label as a number. In a fresh workspace, add your own Number fields.
  • Example (Scores sample): Customer Portal Redesign (4, 4, 4) shows 4. Customer Churn ML Model (5, 2, 3) shows 3.7. Legacy Portal Decommission (1, 1, 3) shows 1.4. Without the rounding it shows 1.4000000000000001.

Go further

  • Highlight rules: colour rows by a Yes / No recipe, such as Late project flag. See Customise your table view.
  • Preset tabs: ask your admin to pin a tab filtered on a formula result for the whole team. See Preset tabs.
  • Rollups: ask your admin to total a number across child records, which no formula can. See Entities and custom fields.
  • Formula reference: look up every function and how an empty field reads. See Functions and operators.

Good to know

  • Results that use today change each day. They are never stored, so there is nothing to refresh.
  • Number results show every decimal and no thousands separator unless you set a Display format. Set one, or wrap the calculation in the rounding pattern, to tidy it.
  • Different field names and labels are the most common reason a pasted formula fails. If a name matches no field, Save and close is refused with an unknown field message under Expression. See Fix formula problems.
  • A formula cannot tell an empty date from today's date, so no recipe can count days to a date that was never entered. See Fix formula problems.

Type a feature, a screen or a task, for example “allocation” or “share a view”.