VALUE()

Syntax. VALUE(text)

Definition. The VALUE() function converts the text into a number.

Arguments

  • text (required). The text enclosed in quotation marks or the reference to the cell that contains the text you want to convert

Background. Excel converts numbers displayed as text values into numeric values. However, with data imported from third-party applications or with third-party add-ins, errors might occur.

Usually you do not need the VALUE() function within a formula, but you can convert a value list imported as text so that Excel can recognize and display the values:

  1. Enter 1 in an empty cell.

  2. Press Ctrl+C to copy the cell content into the Clipboard.

  3. Select the range containing the “text” numbers, click the Paste arrow on the Home tab, and click Paste Special (Excel 2007 and Excel 2010). In Excel 2003, select the Edit/Paste Special command.

  4. Select the Values and Multiply options in the Paste Special dialog box, and click OK.

All values in the selected range should be displayed as numbers instead of as text. Because you don’t need the cell with the 1 anymore, you can delete this cell.

The content of the text argument can have any format supported by Excel for constants, dates, and times. VALUE() returns the #VALUE! error if the text has another format.

Example. You might need to ensure that imported numbers are passed as numeric values to further process numbers imported from text files. Here are a few more examples:

  • =VALUE("1.234") returns 1234.

  • =VALUE(1234) returns 1234.

  • =VALUE("09/09/2008") returns 39700.

  • =VALUE(TRUE) returns the #VALUE! error.

See Also

DOLLAR(), FIXED(), N(), TEXT(), the information functions

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.218.221