Excel: Smart formula (AI-generated)

Use AI to generate and write an Excel formula from a natural language description.

Help Centre › Building Processes

Use AI to generate and write an Excel formula from a natural language description.

Runs on: macOS and Windows only.

Add it to a process

In the process designer, open the Add step tab. Find Smart formula (AI-generated) under Excel › Formulas & Functions, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
File pathNoEnter the file path, or use a variable such as {folders::desktop::path}\file.xlsx. Leave blank to use the workbook an earlier step opened.
Formula descriptionYesDescribe the formula you want in plain English.
SheetYesName of the sheet in the Excel file. Supports wildcards: * matches any characters.
CellYesThe cell, e.g. A1, or {variable}. Default: unknown.
VariableNoName of the variable where the generated formula and result will be stored. Default: smart_formula.
Autofill downNoAutomatically fill the formula down to the last row of data. Default: off.

See all Excel steps.

Example descriptions and generated formulas

DescriptionGenerated formula
Calculate the running total of Amount=SUM($C$2:C2)
Percentage of each row vs grand total=C2/SUM($C$2:$C$100)
Look up supplier name from Sheet2=VLOOKUP(A2,Sheet2!A:B,2,FALSE)
Days between Order Date and Delivery=E2-D2
IF Amount > 1000 then 'High' else 'Low'=IF(C2>1000,"High","Low")

Errors

ErrorDescription
File not openThe Excel file must be open before using this function.
Sheet not foundThe specified sheet does not exist.
Invalid cellThe specified cell reference is not valid.
AI not configuredThe AI API endpoint is not configured.

Tips

  • Mention column names exactly as they appear in the sheet.
  • Specify the cell (e.g. D2) so AI can use correct references.
  • Enable 'Autofill down' for formulas that should apply to every row.

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.