The VALUE function converts a numeric string to a number format in Excel
The VALUE () function helps you convert a string to a numeric form, which is rarely used alone but often combined with functions like LEFT (), RIGHT (), MID (), etc. For details. Regarding the syntax and usage of the VALUE () function, you follow the article below.
The article shows you the syntax, how to use the VALUE () function and how to combine the VALUE () function with other functions in Excel.
Description
The VALUE () function is used to convert a series of numbers to a number.
The VALUE () function is often used in conjunction with string-cutting functions: LEFT () - cuts the left string, RIGHT () - cuts the right string, MID () - cuts the string at Between. Because when cutting the string, the format of the string to be cut is not a numeric format, you need to use the VALUE () function to convert it to numeric.
Syntax
= VALUE (text)
Where: text is a series of numbers enclosed in quotes or a formula, referring to the cell containing the series of numbers that you want to convert.
Note
- text can be a date, time or constant format, if the text is not in these formats then the VALUE () function will return an error.
- Usually you do not need to use the VALUE () function because Excel will convert text to numbers as needed, but there are some cases you need to use this function.
For example
- The VALUE () function.
- Combine the VALUE () function with the string cutting function RIGHT ().
- Combine the VALUE () function with the IF () function.
With the specific examples in the above article, you can better understand the VALUE () function in Excel. So, now you can apply the VALUE () function when you need to convert strings into numbers. Good luck!
You should read it
- How to use MID functions to get strings in Excel
- MONTH function - The function converts a serial number into a month in Excel
- The LEFT function, how to use the left-hand string cutting function in Excel
- DATEVALUE function - Functions to convert text format dates to serial numbers in Excel
- MINUTE function - The function converts a serial number into a minute in Excel
- Atof () function in C
- How to use Excel's VALUE function
- The function strtod () in C
May be interested
- MID and MIDB functions to cut strings in Excelthe mid () function returns a string from a text string, with the position to start extracting from the text string and the number of characters returned by the string that is specified. functions used in languages use a single-byte character set (sbcs) and always count each character as 1.
- LOOKUP function searches in Excelthe lookup () function returns a value from a data range consisting of 1 column or 1 row, or from an array. the lookup () function is an improvement of the two functions vlookup () and hlookup () because it has the additional function to distinguish the search area as rows or columns.
- CELL function to look up information of a cell in Excelcell () returns the format, position, or content information of a cell depending on your needs. when you need to look up a cell's information, cell () is the most used function.
- LEFT and LEFTB functions - Functions for cutting strings in Excelleft () and leftb () are two string-cutting functions that are used a lot in string processing with excel spreadsheets. the left () and leftb () functions help you cut the string to the left of the text string as quickly and efficiently as possible.
- The OFFSET function returns a reference in Excelthe offset () function returns a reference to a range, a cell or a range of cells with the number of rows and columns specified by you. the return reference can be a cell or a range of cells that you can specify the number of rows and columns to return.
- The RAND function returns a random real number, greater than or equal to 0 and less than and equal to 1the rand () function returns a random real number, greater than or equal to 0 and less than and equal to 1.