Generate an Excel formula from a requirement
Turn a calculation need and real column layout into a formula you can verify
Topics
Prompt templates for generating, explaining, repairing, and verifying Excel formulas without hiding assumptions or data problems
Spreadsheet formulas can look correct while referencing the wrong field, hiding missing matches, or mishandling blanks. These recipes start from the real workbook layout and require test cases before a formula is trusted.
Tested with real examples
Turn a calculation need and real column layout into a formula you can verify
Understand what a formula calculates, its dependencies, and where it can fail
Find the root cause of an Excel error before replacing the formula
Join two sheets with an explicit key, match rule, and no-match behavior
Turn ordered business rules into a formula with explicit precedence and edge cases
Create a SUMIFS, COUNTIFS, or AVERAGEIFS formula from explicit criteria
Build a text formula from real delimiters without assuming every row has the same shape
Normalize mixed date inputs before calculating calendar or working time
Inspect field meanings and define reversible cleaning rules before changing data
Define duplicate identity, detect exact and near matches, and preserve conflicts for review
Separate names, addresses, or codes using verified delimiters and exception flags
Standardize presentation differences without changing identifiers or meaningful text