Text Functions
Intermediate

VALUE Function

Numbers that arrived as text, and will not behave until you convert them.

Task:

The payment gateway export puts every amount in as text, which is why the column will not behave like money. Convert each amount to a real number in column C.

Learning Objectives:

  • Convert text to a number with VALUE
  • Recognise text-formatted numbers by their alignment
  • Understand why an import needs cleaning before it is used
Hints

Solve without hints for +5 XP

Interactive Spreadsheet

The data in this exercise

This is the grid you start with. Cell references in the task — B6, C2 — point at the row numbers and column letters below.

ABC
1ReferenceAmount (text)Amount
2PAY-44711240.50
3PAY-447289.99
4PAY-4473376.00
What this exercise teaches (contains the answer)

Exports from payment systems, bank portals and older databases routinely deliver numbers as text, and the damage is quiet rather than loud. Try =SUM(B2:B4) on the text column: it comes back 0. Not an error — a confident zero, because a range contributes only the numbers in it and text is skipped however much it looks like one. The same silence puts 9 after 100 when you sort, and leaves a lookup matching nothing. VALUE is the one-step fix, once you know to look for it.

Functions used here