- What's the difference between TO_PURE_NUMBER and VALUE?
- VALUE() converts simple text to a number but fails on formatted values. TO_PURE_NUMBER is designed specifically to strip formatting (currency symbols, percentage signs, commas) and extract the pure numeric value. For a cell displaying $100, VALUE might error but TO_PURE_NUMBER returns 100.
- How do I use TO_PURE_NUMBER on a CSAT column stored as percentages?
- If CSAT is '92%' or '78%', apply =TO_PURE_NUMBER(F2) to extract 92 or 78. Then use it in calculations like =AVERAGE(ARRAYFORMULA(TO_PURE_NUMBER(F:F))) to get the mean CSAT score. This removes the % formatting automatically.
- Why does TO_PURE_NUMBER fail on my agent or ticket ID columns?
- TO_PURE_NUMBER fails (#VALUE!) when a cell contains pure text with no number in it, like 'Sarah' or 'TK-2401'. It only works on columns that include or represent numbers, such as priority, CSAT, or calculated time fields.
- Should I use TO_PURE_NUMBER or REGEX to extract numbers from ticket text?
- If the entire cell is a number with formatting ('92%', '$100'), use TO_PURE_NUMBER directly. If the number is embedded in longer text ('Priority: 3 - High'), use REGEXEXTRACT() to isolate it first, then pass the result to TO_PURE_NUMBER.