Syntax
=VALUE(text)Arguments
| Argument | Required | Description |
|---|---|---|
text | Required | The text to convert |
How to use VALUE
VALUE takes 1 required argument. Type =VALUE( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.
Examples
Each result below was calculated by the SheetsBat formula engine.
=VALUE("$1,000")Result =VALUE("16:48:00")-VALUE("12:00:00")Result =VALUE("abc")Result Related text functions
- TO_DOLLARSReturns a number as a currency value (the number itself; other values are returned unchanged).
- TO_PERCENTReturns a number as a percentage value (the number itself; other values are returned unchanged).
- TO_PURE_NUMBERReturns a value as a plain number without date, percent or currency meaning; numeric text is converted.
- TO_TEXTConverts a value to text.
- TRIMRemoves spaces from the start and end of text and turns runs of spaces inside it into single spaces.
- UNICHARReturns the Unicode character for a code number.
- UNICODEReturns the Unicode code point of the first character of a text.
- UPPERConverts text to uppercase.
- VALUETOTEXTReturns any value as text; the strict format puts quotes around text.