Skip to main content
← All functions

VALUETOTEXT function

Returns text from any specified value

Syntax

VALUETOTEXT(value, [format])

Square brackets indicate optional arguments.

Arguments

ArgumentRequiredMeaning
valueYesThe value to return as text."Univer"
formatNoThe format of the returned data. It can be one of two values: 0 Default. Concise format that is easy to read. 1 Strict format that includes escape characters and row delimiters. Generates a string that can be parsed when entered into the formula bar. Encapsulates returned strings in quotes except for Booleans, Numbers and Errors.1

Try VALUETOTEXT

Preserve quotation marks in strict text output

=VALUETOTEXT(A2,1)

With format 1, a text value is enclosed in quotation marks. Those marks are part of the returned text, while the original cell still contains North without them.

Inspect the current formula

Read its written arguments or observe actual operation values in a separate local calculation. This action neither applies a draft nor grades an answer.

Read the formula, one argument at a time

Explore the written function calls and their inputs. The calculation result belongs to the complete formula.

VALUETOTEXT · top-level call

=VALUETOTEXT(A2,1)

1 / 2 · value

The value to return as text.

VALUETOTEXT reference ↗

Follow the cells behind a result

Read explicit local references and helper formulas using a separate calculation. Your draft stays in this field; the worksheet and practice checks do not change.

The worksheet runs locally. Published checks apply to the supplied example only. Native Excel and Google Sheets compatibility remain unverified.

Reference and compatibility

Univer 1.0.4 / Apache-2.0. Calculation checks cover the supplied examples only. The browser worksheet does not implement every Excel feature, external service or connected data type.