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
| Field | Required | What it does |
|---|---|---|
| File path | No | Enter 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 description | Yes | Describe the formula you want in plain English. |
| Sheet | Yes | Name of the sheet in the Excel file. Supports wildcards: * matches any characters. |
| Cell | Yes | The cell, e.g. A1, or {variable}. Default: unknown. |
| Variable | No | Name of the variable where the generated formula and result will be stored. Default: smart_formula. |
| Autofill down | No | Automatically fill the formula down to the last row of data. Default: off. |
See all Excel steps.
Example descriptions and generated formulas
| Description | Generated 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
| Error | Description |
|---|---|
| File not open | The Excel file must be open before using this function. |
| Sheet not found | The specified sheet does not exist. |
| Invalid cell | The specified cell reference is not valid. |
| AI not configured | The 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.