Converts a value to a text string
=VALUETOTEXT(value, [format])
| Parameter | Description |
|---|---|
value |
The value to convert to text. |
format |
[optional] Output format. 0 = concise (default), and 1 = strict. |
With the value 100 in cell A1:
=VALUETOTEXT(A1) // returns "100"
=VALUETOTEXT(A1,0) // returns "100"
=VALUETOTEXT(A1,1) // returns "100"
With the text "apple" in cell A1:
=VALUETOTEXT(A1) // returns "apple"
=VALUETOTEXT(A1,0) // returns "apple"
=VALUETOTEXT(A1,1) // returns ""apple""