1. Home
  2. Functions
  3. Text
  4. VALUETOTEXT

VALUETOTEXT function

Returns any value as text; the strict format puts quotes around text.

Syntax

=VALUETOTEXT(value, [format])

Arguments

ArgumentRequiredDescription
valueRequiredThe value to convert
formatOptional0 concise (default) or 1 strict

How to use VALUETOTEXT

VALUETOTEXT takes 1 required argument and 1 optional argument. Type =VALUETOTEXT( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=VALUETOTEXT(123)Result "123"
=VALUETOTEXT("Hello", 1)Result ""Hello""
=VALUETOTEXT(TRUE)Result "TRUE"

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.