We asked one AI tool for twelve Excel formulas on a 30-row sheet of made-up orders. Eleven of the twelve gave the right result when we evaluated them with a Python formula engine. The twelfth returned 0 where the key says 2, and we could not settle it in Excel, so we have not counted it either way.
This is a record of one run on made-up data.
Twelve formula requests and the numbers they should give
People who ask an AI for a spreadsheet formula usually paste it in and look at the number that comes out. This run asks a narrower question: for a set of common jobs, does the formula give the number a careful person would get by hand? Each request has one correct result, and we worked it out before the model was called.
A made-up sheet of 30 orders
Run on November 16, 2026 (U.S. Eastern time). The sheet is one we made up for this test. It has 30 orders with columns for Order ID, date, rep, customer, region, product code, units, list price, discount and status. The customer names are invented. One Order ID (SO-1012) appears on two rows, on purpose. A four-line price table sits next to the orders.
We did not use Excel or LibreOffice for the check, because neither is installed on the computer that made the run. We wrote each formula into a copy of the sheet with openpyxl and evaluated it with the Python package formulas 1.3.4. That engine is not Excel, and it has limits, which request 9 shows.
Before the model call we worked out each result by hand from the rows, then re-added the totals with a short script. The two agreed. The key was not changed after the run.
The request: two CSV files and twelve jobs
You will get two CSV files. orders_made_up.csv is the sheet "Orders": row 1 holds the headers and rows 2 to 31 hold 30 orders, in columns A to J. prices_made_up.csv is a small price table that sits in columns L and M of the same sheet (L1 "Product Code", M1 "List Price", rows 2 to 5). Both files are made up for this test. Write one Excel formula for each of the 12 requests below. Use Excel 365. Put each formula on the sheet "Orders". Use cell ranges that cover the data rows (rows 2 to 31 for the orders, L2:M5 for the price table). Do not use whole columns. Do not explain. Output format: one line per request, exactly "N. <formula>". Nothing else. Requests: 1. Total net revenue for all orders: Units times List Price times (1 minus Discount), added up over all 30 orders. 2. Total net revenue for orders in the West region only. 3. How many orders have the Status "Refunded"? 4. Total Units for rep Ana, counting only orders with Status "Closed". 5. Average List Price of orders whose Status is not "Refunded". 6. The List Price for Product Code P-104 from the price table in L2:M5, exact match. 7. The Order ID of the order with the most Units. 8. How many different reps appear in column C. 9. How many rows share an Order ID with at least one other row. Count rows, not Order IDs. 10. How many days are there from the earliest Order Date to the latest Order Date? 11. The first name only, taken from the Customer in row 2. For example, "Okafor, Ngozi" gives "Ngozi". 12. Total Units in the East region for orders dated on or after November 1, 2026, all statuses. Orders file follows.
The two CSV files followed the request in the same message, as the run log stores them. The request was sent exactly as shown.
Twelve formulas, three shown here
The tool returned twelve lines and nothing else. Three of them, the first, the sixth and the last:
1. =SUMPRODUCT(G2:G31,H2:H31,1-I2:I31)
6. =XLOOKUP("P-104",L2:L5,M2:M5,,0)
12. =SUMIFS(G2:G31,E2:E31,"East",B2:B31,">="&DATE(2026,11,1))
Three of the answers use newer Excel functions. Microsoft’s function list describes XLOOKUP as “Searches a range or an array, and returns an item corresponding to the first match it finds.” It describes UNIQUE as “Returns a list of unique values in a list or range,” and TEXTAFTER as “Returns text that occurs after given character or string.” The tool used XLOOKUP in lines 6 and 7, UNIQUE in line 8 and TEXTAFTER in line 11. Line 9 is the one we could not settle, and it is covered below.
Eleven matched on the check engine
| Check | Result |
|---|---|
| Matched the key on the check engine | 11 of 12 |
| Not settled by the engine (request 9) | 1 |
| Wrong results | 0 |
| Error values or no value | 0 |
| Formulas that use Excel 365 functions (XLOOKUP, UNIQUE, TEXTAFTER) | 3, all computed by the engine; not run in Excel |
| Requests asked again | 0 |
Request 9 and the duplicate Order ID count
Request 9 asked how many rows share an Order ID with another row. The right answer is 2, because SO-1012 appears on two rows. The tool wrote =SUMPRODUCT(--(COUNTIF(A2:A31,A2:A31)>1)), a common idiom. On our engine that formula returned 0. The same logic with *1 in place of -- returned 2, and a plain COUNTIF for SO-1012 returned 2. So the engine loses the double minus on an array. We expect Excel to evaluate the idiom as written, but we did not open the sheet in Excel, so we count the line as not settled, not as right.
No changes needed, on clean made-up data
None of the twelve needed a change to match the key on the engine, and no request needed a second ask. The data is made up, though. It has no blank cells, no text numbers and no merged headers, so this run does not show how the tool does on a real workbook. Two things would still need a person before anyone pastes these into a real file. First, the ranges are fixed at rows 2 to 31. A real sheet grows, and a formula that stops at row 31 misses new rows. Second, request 9 shows that “how many” can mean rows or IDs, and the two answers differ. The person has to say which one they want.
What twelve requests on one clean sheet leave open
This is one run, with twelve requests, on one made-up sheet, with one model. Twelve is too few to say how the tool does with spreadsheet formulas in general. The set includes two traps on purpose, a rows-or-IDs count and a text split, so it is not a random sample of work. A second run might write different formulas for the same requests. The result says only what happened on November 16, 2026, with this engine.
The tool was the OpenAI API, model gpt-5.5, returned by the API as gpt-5.5-2026-04-23. The API reported 9.08 seconds for the call. Usage: 2,337 tokens in total, 1,576 of them input and 761 output, including 512 reasoning tokens.
Sources and the formula run file
- Microsoft Support, Excel functions (alphabetical)
- Test material: an orders file and a prices file (CSV), made up for this run.
- Run record: run_20261117T003726Z.json, with the request as sent, the full response, the model name the API returned and the token count. It is kept with the test files and the answer key and is not published.