
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.
Airtable formulas explained: syntax, field references and common functions
Airtable formulas read named fields in each record. Braces, quoted text, operators, function groups by job, and a three-record check before you rely on it.
Airtable formula builder
Choose a task, enter your field names and copy the formula. Four recipes for text, conditions and dates, with clear return types and blank-date handling.
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.
Format dates in Airtable with DATETIME_FORMAT
Keep the stored date for calculations and use a separate formula for display text. Choose case-sensitive tokens and an explicit time zone before sending the label to a message or export.
Joining text in Airtable with CONCATENATE, & and ARRAYJOIN
Join fields into readable labels, keep optional separators with their values, format dates and numbers, and combine linked values through a rollup.
Calculate dates and deadlines
Choose the date operation before copying a formula: move a date, measure a difference or use a working-day calendar.
Airtable DATEADD: add days, months or time without losing the date
Calculate a new date with the right unit, preserve zero offsets and keep readable labels separate from date arithmetic.
Airtable DATETIME_DIFF: days, decimal hours and Duration
Choose whole days, decimal hours or an h:mm duration, with blank-safe formulas and clear expected results.
Airtable WORKDAY: deadlines, weekends and holidays
Calculate working-day deadlines with an explicit holiday calendar and distinguish dates after a start from a task that includes day one.
Find the formula error
Separate a syntax problem from a result caused by a record’s inputs.
Airtable formula errors: fix invalid formulas, NaN and circular references
Separate a formula that will not save from one that fails on specific records, then verify the inputs and boundary that caused the error.