Why it works
- What it does
- A number stored as text looks like a number but SUM, AVERAGE and SUMPRODUCT treat it as nothing. It often arrives from bank exports and scanners. A double minus, --, or VALUE turns it back into a number inside the formula.
- The shape of the formula
- =SUMPRODUCT(--amounts)
- How to remember it
- Numbers sit on the right of the cell, text on the left; a number on the left is a warning.
- The usual mistake
- Trusting a total that looks reasonable. A few text amounts are silently left out and nothing shows an error.
Keep practicing
- ISNUMBER: is this really a number?How do I find weights that are text, not numbers?Open
- SUMPRODUCT: multiply row by row, then addHow do I get the total value of stock from quantity and unit cost?Open
- Why a lookup returns #N/A when the value is thereWhy does VLOOKUP say #N/A for an item I can see in the list?Open
- Lesson: Numbers that are really textA short lesson in your workspace: the idea, small steps on a sheet, one task with new dataOpen
Updated