This function converts text to an integer value. The VALUE function converts text in a specified format (such as a number, date, or time) into an integer value.
Syntax:
VALUE(text)
Parameter list:
Example :
As shown in the image below, there are the names of certain fruits, the amount, and we want to know the total number of fruits, which we can obtain by combining the value function with the left function.
If the data is not in an Excel-compatible format, it can be left as text. When this occurs, some functions, such as SUM or AVERAGE, disregard the data in certain cells, resulting in calculation mistakes. The #VALUE error is returned by a VALUE formula.
Text data aligns to the left in a cell, so you can track the data type by alignment as well. On the right cell, numbers and dates are aligned.
The function translates text in a recognised format (a number in the text, a date or time format, money, or a percentage) to a numeric value.
Normally, Excel translates text to numeric values as needed, therefore the VALUE function is rarely used.
Ask Your Query