Syntax

=TEXT(value, format_text)

Example

=TEXT(A1,"$#,##0.00")

When to Use It

Use TEXT when you need to combine a formatted number into a larger text string — e.g. building a sentence like "Total: $1,200.00" using & to join TEXT's output with other text.