Processed online by Toolvito
Spreadsheet Formula Generator
Build a formula from simple fields, or describe what you need and let AI write it. Paste a few rows of your table and the result you expect: the formula is worked out on them, so you can see that it is right before you use it.
How to make a formula
- Choose Build a formula step by step (no AI) or Write a formula with AI.
- Copy a few rows of your table, with the header row, from your spreadsheet and paste them into Sample of your table.
- Fill in the fields. You can use a column name in place of a range: Sales for the whole column, or [Sales] for the value in the same row.
- Type the result you expect for your sample (for “Each row”, one result per line). Then press the button.
- Read the check. Copy the formula, or download the sample workbook with the formula in place.
How the check works
- The formula is read by a formula parser. Only well-known functions are allowed (for example SUM, SUMIFS, IF, IFS, XLOOKUP, VLOOKUP, INDEX, MATCH, TEXT, DATE, DATEDIF, TEXTJOIN).
- INDIRECT, OFFSET, random numbers and functions that read the web or other files are refused, because what they read cannot be checked.
- Every cell reference must be inside your sample. Other sheets, other files, names and tables are refused.
- LibreOffice Calc on the Toolvito server works the formula out on your sample, and the result is compared with the result you expect.
- LibreOffice on the server has no XLOOKUP, so an XLOOKUP is worked out as the same INDEX and MATCH lookup. The result tells you when this was done.
- If the formula does not give your expected result, it is shown as Not correct, and there is no workbook to download.
Commas or semicolons?
Excel, Google Sheets and LibreOffice use the list separator of your language settings. With English settings you write =SUM(A1,B1) and 1.5. In many other countries you write =SUM(A1;B1) and 1,5. Choose the one your program uses under More options.
TEXT format codes are written as in English settings (0.00, yyyy-mm-dd). In some languages Excel expects its own codes, for example TT.MM.JJJJ in German.
About the AI task
- A language model that runs on the Toolvito server writes the formula. It can misunderstand a description, so the check above is done by code and LibreOffice, not by the model.
- If the first formula fails a check, the model gets one more try with the reason.
- Without an expected result, the formula is worked out and the value is shown, but it is not confirmed.