VALUETOTEXT Function in Excel: Any Value as Text

⏱ 1 min readUpdated 28 September 2026

TextLevel: IntermediateAvailable in: Excel 365 / 2021+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Related functions

VALUETOTEXT converts any value to text; strict mode adds quotes around text so you can see stray spaces.

Syntax

=VALUETOTEXT(value, [format])
Argument What it means
format 0 = concise, 1 = strict (quotes text).

Examples

Example 1

=VALUETOTEXT(A2, 1)

“Delhi ” with a visible trailing space.

ARRAYTOTEXT · TEXT

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong