Text
Excel 2021
◉ 38 views
=VALUETOTEXT()
VALUETOTEXT function
Applies To:
Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2021Excel 2021 for Mac
=VALUETOTEXT(value, [format])
Hover argument names in the table for details.
Output typeText
Popularity8 / 100
VolatileNo
Dynamic ArrayNo
Download sample .xlsx ▦ Try in Playground
Dedicated file for this function — safe & lightweight · sample data + live formulas
⬇ Download Sample Workbook
A dedicated .xlsx for =VALUETOTEXT() with Persian sample data & live formulas — open in Excel and practice.
- Sheet “Sample” — data table + formula in place
- Sheet “Guide” — syntax, arguments & tips from this page
- Instant & secure (token + rate limit)
Quiz this function
%d questions — syntax, example & errors — test yourself!
◧ Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
value |
Any type | Required | The value to return as text. |
format |
Number | Optional | The format of the returned data. Optional. It can be one of two values:0 Default. Concise format that is easy to read. The text returned will be the same as the text rendered in a cell that has general formatting applied.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. |
▣ Examples
▦ Data
| Cell | Value |
|---|---|
A2 |
TRUE |
A3 |
1234.01234 |
A4 |
Hello |
A5 |
#VALUE! |
A6 |
Seattle |
A7 |
1234 |
A8 |
Concise Formula |
B8 |
Concise Result |
C8 |
Strict Formula |
D8 |
Strict Result |
A9 |
=VALUETOTEXT(A2, 0) |
B9 |
TRUE |
C9 |
=VALUETOTEXT(A2, 1) |
D9 |
TRUE |
A10 |
=VALUETOTEXT(A3, 0) |
B10 |
1234.01234 |
C10 |
=VALUETOTEXT(A3, 1) |
D10 |
1234.01234 |
A11 |
=VALUETOTEXT(A4, 0) |
B11 |
Hello |
C11 |
=VALUETOTEXT(A4, 1) |
D11 |
"Hello" |
A12 |
=VALUETOTEXT(A5, 0) |
B12 |
#VALUE! |
C12 |
=VALUETOTEXT(A5, 1) |
D12 |
#VALUE! |
A13 |
=VALUETOTEXT(A6, 0) |
B13 |
Seattle |
C13 |
=VALUETOTEXT(A6, 1) |
D13 |
"Seattle" |
A14 |
=VALUETOTEXT(A7, 0) |
B14 |
1234 |
C14 |
=VALUETOTEXT(A7, 1) |
D14 |
1234 |
A15 |
TRUE |
A16 |
1234.01234 |
A17 |
Hello |
A18 |
#VALUE! |
A19 |
Seattle |
A20 |
1234 |
A21 |
Concise Formula |
B21 |
Concise Result |
C21 |
Strict Formula |
D21 |
Strict Result |
A22 |
=VALUETOTEXT(A2, 0) |
B22 |
TRUE |
C22 |
=VALUETOTEXT(A2, 1) |
D22 |
TRUE |
A23 |
=VALUETOTEXT(A3, 0) |
B23 |
1234.01234 |
C23 |
=VALUETOTEXT(A3, 1) |
D23 |
1234.01234 |
A24 |
=VALUETOTEXT(A4, 0) |
B24 |
Hello |
C24 |
=VALUETOTEXT(A4, 1) |
D24 |
"Hello" |
A25 |
=VALUETOTEXT(A5, 0) |
B25 |
#VALUE! |
C25 |
=VALUETOTEXT(A5, 1) |
D25 |
#VALUE! |
A26 |
=VALUETOTEXT(A6, 0) |
B26 |
Seattle |
C26 |
=VALUETOTEXT(A6, 1) |
D26 |
"Seattle" |
A27 |
=VALUETOTEXT(A7, 0) |
B27 |
1234 |
C27 |
=VALUETOTEXT(A7, 1) |
D27 |
1234 |
Example 1
=VALUETOTEXT(A2)
Example 2
=VALUETOTEXT(A2, 1)
💬 Comments & Q&A 0 approved
🔒 Your comment will be published after review.Share your thoughts — visible after admin approval
No comments yet — be the first!