Pad order numbers to five digits with TEXT
Show a number with leading zeros so it matches the format another system expects.
TEXT
Formats a number as text using a format code, for padding, percentages and fixed decimals. Below is 1 interactive exercise that puts it to work on realistic business data — you write the formula, and get told exactly what went wrong when it does not work.
TEXT(value, format_text)
Need a refresher? Learn TEXT — syntax, a worked example and where it goes wrong.
Ordered from most approachable to hardest.
Formats a number as text using a format code, for padding, percentages and fixed decimals. It belongs to the text functions family, and it shows up constantly in real work — which is why it is worth being genuinely fluent rather than merely familiar.
Reading about a function is not the same as being able to write it. The exercises on this page exist because the gap between recognising TEXT and producing it from memory, correctly, on data you have not seen before, only closes by doing it.