Free tool

Turn plain‑English questions into copy‑ready Excel & Sheets formulas

Describe the calculation or transformation you need and get a tested, copy‑paste formula with an annotated example row, locale paste notes, and safer fallbacks for common errors.

Supported platforms

Excel, Google Sheets, LibreOffice, CSV/TSV

Generates syntax for desktop and web variants, plus guidance for imports

Output types

Formulas, Power Query steps, Office Script/VBA snippets

Choose formula, transformation steps, or a short script when appropriate

Locale guidance

Decimal & list separator notes

Includes paste instructions for comma/semicolon and dot/comma locales

Convert English into formulas

How the generator works

Type what you want in plain English—include column names, example values, or the sheet/table layout—and the tool returns a copy‑ready formula for your chosen platform plus an annotated example row. When a formula can break in typical scenarios, the output includes a safer alternative or a short validation check.

  • Recognizes Table names, named ranges, and dynamic arrays to provide table‑friendly syntax (e.g., structured references vs A1 ranges).
  • Provides both Excel and Google Sheets variants when functions differ (for example, NETWORKDAYS vs NETWORKDAYS.INTL differences).
  • Adds locale notes: whether to use comma vs semicolon separators, and how to paste formulas safely.

Try these prompts

Examples & prompt templates

Use or adapt these plain‑English prompts to get immediate, copyable formulas and explanations.

Basic aggregation & math

Sum, average, percentage change and rolling windows.

  • Sum sales in column C where Region = 'West' and Month = 'Jan'
  • Average of last 12 values in column D ignoring blanks
  • Calculate percentage change between columns Old and New for each row

Lookups & joins

Exact matches, XLOOKUP conversions, and joins across sheets.

  • Return Price from Products table where SKU matches A2, return 'Not found' if missing
  • Convert this VLOOKUP into an XLOOKUP and add a fallback value
  • Join two sheets by Customer ID and bring over email and phone

Text parsing & transformation

Split, extract, clean, and reformat text fields.

  • Split 'First Last' in column A into First and Last with formulas
  • Extract domain from email addresses in column B
  • Remove non‑numeric characters from phone numbers and format as (XXX) XXX‑XXXX

Dates, arrays & validation

Date math, dynamic arrays, and error handling.

  • Find the last business day of the month for a date in A2
  • Return unique values from column A and sort them alphabetically
  • Wrap a formula to avoid #DIV/0! and return 0 instead

Avoid broken formulas when moving between locales

Locale, paste, and compatibility guidance

Formulas can break when separators or decimal symbols differ. Outputs include a short 'Paste checklist' and a locale‑aware variant.

  • Comma vs semicolon: some locales use ';' as the argument separator. The tool gives both variants and a quick Find/Replace pattern to convert between them.
  • Decimal separators: note whether your sheet expects 1.23 or 1,23 and how to convert CSV imports safely.
  • Safe paste tips: paste into the formula bar, not the cell display; use plain text mode in some web editors to avoid smart quotes.

Fix #N/A, #VALUE!, #REF! and other common errors

Error handling & validation

Each generated formula includes an explanation of what can cause common errors and a recommended defensive wrapper or validation check.

  • Suggested wrappers: IFERROR(..., fallback), IFNA(..., fallback), or more explicit checks using ISERROR/ISNUMBER/ISBLANK.
  • When lookups can return duplicates, the output offers deterministic alternatives like XLOOKUP with exact match or INDEX/MATCH combined with UNIQUE.
  • Validation snippets to mark bad rows, e.g., =IF(AND(ISNUMBER(A2), LEN(B2)>0), "OK", "Check")

Formulas aren't always the best tool

When to use Power Query or a script

For complex transformations, large datasets, or repeated import rules, the generator suggests Power Query steps or a short Office Script/VBA snippet instead of a single formula.

  • Power Query: recommended for multi‑step cleanups (split/trim/detect types/pivot) and for repeatable ETL from CSV/TSV.
  • Office Script / VBA: suggested when a formula approach would be fragile or when you need to automate a multi‑sheet update.
  • Each suggestion includes a plain‑English description of the transformation and an example step list or short script outline.

Designed for spreadsheet users at every level

Who this helps

Ideal for analysts, finance teams, operations managers, small business owners, product managers, and trainers who need reliable formulas and clear explanations.

  • Data analysts: faster report building and safer lookups across tables.
  • Finance & accounting: cleaner models with validation and locale guidance.
  • Operations & SMBs: automate routine calculations and reduce manual errors.
  • Trainers: use the step‑by‑step explanations to teach formula logic.

Get a validated formula in minutes

Quick implementation steps

Follow these steps to minimize trial and error when adding generated formulas to your workbook.

  • 1) Describe the task: include column names, sample values, and desired output for one row.
  • 2) Select platform: choose Excel, Google Sheets, or LibreOffice so the generator returns the correct syntax.
  • 3) Copy & paste: paste into the formula bar and test on sample rows; verify expected outputs.
  • 4) Validate: add the recommended wrapper (IFERROR/IFNA/validation checks) before deploying widely.

FAQ

How accurate are generated formulas and how should I validate them?

Generated formulas are designed to be syntactically correct and include an annotated example row. Always validate by testing on representative data and edge cases (empty cells, duplicates, type mismatches). Use the provided validation checks and error‑safe wrappers before using formulas in production.

Which spreadsheet platforms and syntaxes are supported?

The tool produces variants for Microsoft Excel (desktop and Microsoft 365), Google Sheets (web), and LibreOffice Calc. When functions differ between platforms the output shows the appropriate alternative and notes any functional differences.

How does the generator handle regional settings (decimal and list separators)?

Each formula includes locale notes and alternate versions where needed (comma vs semicolon argument separators, dot vs comma decimals). The guidance shows a simple Find/Replace pattern or paste checklist to convert formulas between common locale formats.

Can the tool explain why a formula fails and suggest fixes?

Yes. Alongside the formula you'll get a plain‑English explanation of likely causes for common errors (e.g., #N/A from missing lookup keys, #REF! from deleted columns) and recommended fixes or defensive wrappers to prevent those errors.

Do I need to upload confidential data to generate formulas?

You do not need to upload full datasets. Providing a small, redacted sample row or describing the column names is usually sufficient. If you choose to paste sample values, redact any sensitive or personal information before submission.

When should I use a formula versus Power Query or Office Script/VBA?

Use formulas for cell‑level calculations and dynamic array solutions when results must update live in the sheet. Choose Power Query for repeatable import and transformation steps or large‑scale data cleaning. Office Script/VBA is recommended when you need to automate multi‑sheet workflows that cannot be expressed cleanly with a single formula.

How do I copy‑paste generated formulas without introducing smart quotes or wrong separators?

Paste into the formula bar rather than directly into the cell display, use plain text paste options in your browser or editor, and check the locale variant provided. If separators differ, use the included Find/Replace pattern to swap commas and semicolons.

Does the generator help optimize formulas for large datasets?

Yes. When appropriate, outputs suggest performance‑friendly alternatives (for example, switching volatile functions, using structured references, or recommending Power Query for large transforms) and explain trade‑offs in plain language.

Related pages