Text
All versions
◉ 37 views
=VALUE()
Converts a text string that represents a number to a number.
Applies To:
Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016
=VALUE(text)
Hover argument names in the table for details.
Output typeNumber
Popularity50 / 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 =VALUE() 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 |
|---|---|---|---|
text |
Any type | Required | The text enclosed in quotation marks or a reference to a cell containing the text you want to convert. |
▣ Examples
Number equivalent of the text string "$1,000"
=VALUE("$1,000")
Result:
1000
The serial number equivalent to 4 hours and 48 minutes, which is "16:48:00" minus "12:00:00" (0.2 = 4:48).
=VALUE("16:48:00")-VALUE("12:00:00")
Result:
0.2
§ Remarks
- Text can be in any of the constant number, date, or time formats recognized by Microsoft Excel. If text is not in one of these formats, VALUE returns the #VALUE! error value.
- You do not generally need to use the VALUE function in a formula because Excel automatically converts text to numbers as necessary. This function is provided for compatibility with other spreadsheet programs.
✦ Tips
- You do not generally need to use the VALUE function in a formula because Excel automatically converts text to numbers as necessary. This function is provided for compatibility with other spreadsheet programs.
⚠ Common Errors
#VALUE!
If text is not in one of these formats, VALUE returns the #VALUE! error value.
Fix: Clean the text with TRIM and SUBSTITUTE before converting
💬 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!