Best AI for spreadsheets & Excel / head-to-head

GLM 5.2 vs Qwen3.7 Maxfor spreadsheets & Excel

The verdict

GLM 5.2 wins, 9695

Same 12 spreadsheets & Excel tasks, marked blind by three rival labs. GLM 5.2 took 1 tasks, Qwen3.7 Max took 1, 10 tied. Tested 13 Aug 2026.

Where they differed most

The task — Clean messy data

These postcodes were typed by hand: 'sw1a1aa', 'SW1A 1AA', ' m1 4wb', 'M14WB', 'ec1v9nr'. Give a single Excel formula that normalises any one of them to standard UK format (uppercase, one space before the final three characters). Assume the raw value is in A2.

GLM 5.210/10
Here is a single Excel formula that will normalise the postcode in cell A2 to the standard UK format:

`=UPPER(REPLACE(SUBSTITUTE(A2," ",""),LEN(SUBSTITUTE(A2," ",""))-2,0," "))`

**How it works:**
1. `SUBSTITUTE(A2," ","")` removes all existing spaces from the postcode.
2. `LEN(...)-2` calculates the position of the 4th character from the end (which is where the space should be inserted).
3. `REPLACE(..., ..., 0, " ")` inserts a single space at that exact position without deleting any characters (because `num_chars` is set to `0`).
4. `UPPER(.…
## The Formula

```excel
=LET(c, UPPER(SUBSTITUTE(A2," ","")), LEFT(c, LEN(c)-3) & " " & RIGHT(c, 3))
```

## How it works

The formula does three things in sequence:

| Step | Action | Example (`' m1 4wb'`) |
|---|---|---|
| **1. Clean** | `UPPER(SUBSTITUTE(A2," ",""))` — strips *all* spaces and uppercases | `M14WB` |
| **2. Outward** | `LEFT(c, LEN(c)-3)` — grabs everything except the last 3 chars | `M1` |
| **3. Inward** | `RIGHT(c, 3)` — grabs the last 3 chars | `4WB` |

These are then joined with a single space: **`M1 4WB`**

## Verificati…

Task by task

TaskGLM 5.2Qwen3.7 Max
Excel formula from a description1010
Fix a broken formula77
Clean messy data108
Choose the right chart1010
Google Sheets QUERY1010
Spot the error in the numbers1010
Pivot logic in words1010
Percentage change trap1010
Conditional formatting rule1010
Reconcile two lists1010
Explain a formula back1010
Refuse the impossible89

Full receipts: GLM 5.2, Qwen3.7 Max · judges claude-sonnet-5, gemini-3.1-pro-preview, gpt-5.6-terra

Questions people ask

Which is better for spreadsheets & Excel: GLM 5.2 or Qwen3.7 Max?

GLM 5.2 — it scored 96/100 against 95/100 on our 12-task spreadsheets & Excel suite, winning 1 tasks to 1 with 10 tied. Every answer was marked blind by three judges from three rival AI labs.

How was this tested?

Both models answered the identical published spreadsheets & Excel tasks. Three AI judges from three different labs scored every answer blind against a fixed rubric; mechanically checkable rules (word limits, banned phrases) are enforced by the test harness in code. The raw outputs and judge verdicts are downloadable.

More spreadsheets & Excel head-to-heads: GLM 5.2 vs GPT-5.3-Codex · GPT-5.3-Codex vs Qwen3.7 Max · GLM 5.2 vs GPT-5.6 Luna · GPT-5.6 Luna vs Qwen3.7 Max · GLM 5.2 vs GPT-5.6 Terra · GPT-5.6 Terra vs Qwen3.7 Max

Full ranking: Best AI for spreadsheets & Excel · model pages: GLM 5.2, Qwen3.7 Max