The Excel VALUE function converts text that appears in a recognize format (it could be a number, date or time, according to the current regional setting format) to a number.
VALUE(text)
text, text value to convert to a number.
For example, there is data as shown below. Column A contains several texts, appear as numbers, dates and even hours. What is the result of the VALUE function in column B?
=VALUE(A2)
Nothing special, cell A2 contains alphanumeric without any sign.
The result is 1234.
=VALUE(A3)
Cell A3 contains numbers with thousands separators and decimal separators that correspond to the current regional setting (United State Format).
The result is 1234.45.
=VALUE(A4)
The result is a #VALUE! error. Why? Thousands separators with a period may be used in several countries, but the current regional setting is a united state format, the thousands separator is a comma, applies to decimal separators too.
Use Excel NUMBERVALUE function to convert text with thousands separators or decimal separators that do not match the current regional setting.
=VALUE(A5)
In addition to the thousands separator and decimal separator that must match. If the currency symbol matches the current regional setting, the VALUE function returns no error.
The result is 123.25
=VALUE(A5)
Not only converts text that appears as a number. The VALUE function able to convert text that appears as a time.
The result is 0.5
=VALUE(A6)
The VALUE function able to convert text that appears as a date, with one condition, the text format is by the current regional setting.
The result is 36526
Why the conversion result for text that appears as date and time is a number?
Excel stores data date and time in the form of numbers. For a more detailed explanation, read the following article:
=VALUE(A6)
The result is a #VALUE! Error because the dd/mm/yyyy format is unrecognized in United States format.
Please see the image below for the complete result of VALUE function in column B.
Calculate Number of Days Between Two Dates Excel has a function that calculates the number of days between two dates,…
What is Flash Fill Excel Flash Fill automatically fills your data when Excel detects a pattern in your initial data…
What is Paste Special Paste special is a paste but you can choose the result type. As we all know,…
What is the Excel TEXTJOIN Function? The excel TEXTJOIN function is the best function to concatenate strings in Excel, has…
What is the Excel CONCAT Function? The excel CONCAT function combines all data; it could be a text, a number…
What is the Excel CONCATENATE Function? The excel CONCATENATE function combines text or numbers into a text. CONCATENATE Syntax CONCATENATE(text1,…