Airtables
Bookshelf with books arranged by colour from orange to blue

Formulas

Write Airtable formulas a colleague can read: field names in braces, IF and SWITCH branches, blank checks that don't trip over zero, text joined with & or CONCATENATE, and date labels from DATETIME_FORMAT. I'd start with a calculation whose inputs already live in the record, because its result is easy to check before adding conditions.

Choose the result you need from one record: a condition, a text label or a date calculation. I’d check field types and inputs first, because a valid expression can still produce the wrong result for the data it reads. Use the syntax guide to start, or the error guide when a formula fails.

Start with field references and a result

Read the syntax guide or use the builder to assemble a recipe with your field names.

Write conditions

Choose IF for a conditional branch or SWITCH when one value selects the result.

  • Airtable SWITCH formula: replace nested IFs with one readable rule

    Use SWITCH to pair one expression with exact values and outputs, with an optional default for the rest. Convert a nested IF while preserving the original field, handle empty fields and zeros, and keep range conditions explicit.

  • Writing an Airtable IF formula with AND, OR and blank checks

    IF tests each record and returns one value for a match and another, or nothing, for the rest. Combine fields with AND, OR and NOT, catch empty fields without mistaking a 0 for one, compare numbers and dates without #ERROR, and decide when a nested IF should become a SWITCH.

Build readable labels

Join field values into text or format a date for a label.

Calculate dates and deadlines

Choose the date operation before copying a formula: move a date, measure a difference or use a working-day calendar.

Find the formula error

Separate a syntax problem from a result caused by a record’s inputs.