VALUETOTEXT Function

Converts any value to text, optionally in strict format with quotes.

Category

Text

Available in

Microsoft 365, Excel 2024

Returns

Text

Want to practice VALUETOTEXT in a real spreadsheet? Open a blank sheet in our Practice Sandbox and try it with live data, with the AI Excel tutor beside you. No Excel needed — just a free account.Try it free in the Sandbox

Overview

VALUETOTEXT turns any value — text, a number, TRUE/FALSE or an error — into text.

In strict format (1), text values are wrapped in quotation marks, which is useful when you're building formulas or data for other systems.

Syntax

=VALUETOTEXT(value, [format])

Arguments

ArgumentRequired?What it does
valueYesThe value to convert.
formatOptional0 = concise (default), 1 = strict, which adds quotes around text.

Examples

Example 1 — Strict format

Quote the text values but not the numbers.

B2fx=VALUETOTEXT(A2, 1)
AB
1ValueStrict
2Ana"Ana"
3125125
4TRUETRUE
=VALUETOTEXT(A2, 1) Explain

Common mistakes

  • Number formatting isn't kept. 125.5 formatted as currency becomes "125.5". Use TEXT to control how numbers look.

Notes

Kyle Stott

Author

Kyle Stott

Certified Microsoft Excel Expert

Kyle has worked professionally with Microsoft Excel for over a decade and has consulted on and taught Excel best practices to over 400 companies across 30+ countries.