VALUE Function (Gnumeric)
Learn the VALUE function in Gnumeric: Converts text to a number.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
VALUE converts a recognized numeric text representation into a numeric value. It can help prepare imported text for arithmetic, but parsing depends on the active locale and date convention. A successful conversion should be checked against the intended meaning of the source text.
Syntax and parsing scope
=VALUE(text)
text is the input string or a cell containing it. The implementation also passes existing numeric values through. It uses Gnumeric’s number-format parser after skipping leading whitespace. If parsing fails, the result is #VALUE!.
There is no argument that specifies a decimal separator, currency or date order. Those conventions come from the environment and workbook. The executed examples below are explicitly scoped to C.UTF-8, so their punctuation must not be treated as a universal regional format.
Retained simple example
=VALUE("25")
The expected numeric result is 25. Quotes make the input text; the function returns a number that can participate in arithmetic. Applying a number format to a text cell alone does not perform this conversion.
Reproducible text controls
Under the tested C.UTF-8 locale:
- =VALUE(“1,234.50”) returns 1234.5.
- =VALUE(“12%”) returns 0.12.
- =VALUE("$1,234.50") returns 1234.5.
- =YEAR(VALUE(“2025-01-15”)) returns 2025.
For a column workflow, put the text 25, 12% and 1,234.50 in A2:A4 using text entry or preformatted text cells. Enter =VALUE(A2) in B2 and fill down. Expected values are 25, 0.12 and 1234.5 in this locale.
Keep the source column while validating the conversion. A percent input becomes a fraction; displaying 0.12 as 12% is formatting, not a second conversion. A currency symbol can be recognized by the parser without attaching an exchange rate or performing currency conversion.
Advanced use: prepare a ratio calculation
Suppose A2 contains the text “12%” and C2 contains numeric 200. =VALUE(A2)*C2 returns 24 under the tested parsing convention. Multiplying the converted fraction by 100 first would change the meaning and produce 2400 after multiplying by 200.
For imported date text, prefer a clearly specified source convention. The tested ISO-style year check proves that exact string is recognized here; it does not settle ambiguous strings such as 03/04/2025 across locales. When year, month and day are already separate numeric fields, DATE avoids guessing their order from a text string.
Errors and troubleshooting
=VALUE(“not a number”) gives #VALUE!. Inspect decimal/grouping separators, hidden spaces, labels and the source locale. Do not remove every comma or currency symbol blindly: that may turn an incorrect interpretation into a plausible number.
Preserve blank and invalid states explicitly in an import workflow. Converting missing input into zero can change averages and totals. These native controls do not certify every blank, whitespace or Unicode punctuation case.
If output looks unchanged, check the stored type and arithmetic behavior rather than appearance alone. A numeric 25 and text “25” can display identically. Retain the original field until parsing, units and expected ranges have been reconciled.
Availability and verification
Version coverage: Gnumeric 1.12.57 has the scoped checks below. The 1.12.62 evidence is a documentation/source check dated October 14, 2026.
- Introduced: Gnumeric 0.19, documented in the official release history. This is a historical introduction record; the native controls below use 1.12.57.
- Availability: Supported in Gnumeric 1.12.62, based on the function-specific registration.
- Scope: Desktop; the fn-string function module must be included and enabled.
- Checked: October 14, 2026. Documentation/source check; no new native test in Gnumeric 1.12.62.
The executable contract is also present in the official Gnumeric 1.12.57 fn-string source. The saved source was originally retrieved on October 17, 2026 and re-inspected for this guide. The last functioning release is not established; support in a named version is not a retirement claim.
On October 17, 2026, Gnumeric ssconvert 1.12.57 recalculated a synthetic workbook in the C.UTF-8 locale. Scoped controls: =VALUE("25") → 25; =VALUE("1,234.50") → 1234.5; =VALUE("12%") → 0.12; =VALUE("$1,234.50") → 1234.5; =YEAR(VALUE("2025-01-15")) → 2025; =VALUE("not a number") → #VALUE!. These are native calculation-engine results, not GUI tests or screenshots. Other tutorial layouts and displayed outputs are independent expectations unless covered by these exact formulas. Input/output files, preserved formulas, raw values and hashes were retained. The XLSX importer logged an unused workbookProtection-element warning; changed-input controls and recorded results were checked.