ExcelFunctions.net Logo

The Excel VALUE Function

Home » Excel-Built-In-Functions » Excel-Value-Function


Search this site:
Custom Search

Basic Description

The Excel VALUE Function converts a text string into a numeric value.

Excel stores values as either text or numeric values, so, for example, if you attempt to use the text value "10" in an addition, multiplication, or other numeric operation, you will get an error.

Therefore, if you want to extract a numeric value from a text string, you need to convert this to a number, before Excel will be able to recognise it as a numeric value. The VALUE function can be used to do this.


The format of the VALUE function is

VALUE( Text )

where the Text argument is a text value that can be translated into a number.

If the VALUE function is not able to convert the supplied text value into a number, it will return the #VALUE! error.


Examples

The following spreadsheet shows the VALUE function being used for four different examples. Note that, in the example spreadsheet, the values in cells A2 - A4 are all text values. The spreadsheet on the left shows the format of the function and the spreadsheet on the right shows the results :

Examples of use of the Excel VALUE function Results from the Excel VALUE function

It is seen, from the examples above, that the Excel VALUE function can interpret different formats of numbers. For example,

  • in the example in cell B2, the function understands the text value "1.0E-07" to represent the scientific notation for the number 0.0000001

  • in the example in cell B2, the function understands the text value "50,000" to represent the number 50000

However, in the example in cell B4, the VALUE function is not able to interpret the currency $ symbol as part of a number, so it produces the #VALUE! error message.






Disclaimer Privacy Policy

Copyright © 2008-2010 ExcelFunctions.net