Among the fundamental Excel functions, VALUE can be utilized across various Excel versions, including Excel 2016, 2013, 2010, 2007, 2003, as well as Excel for MAC, iPhone, and Android. VALUE function assists in converting a string to a number, often used in conjunction with functions like LEFT, RIGHT, MID, etc. For details on the syntax and usage of the VALUE function, follow the detailed article below.
VALUE Function - Syntax and Illustrative Examples
Guidelines on Using the VALUE Function in Excel - Illustrated Examples
1. VALUE Function Syntax in EXCEL
Syntax: VALUE (text)
Where: text is a character string containing a number, which can be in date, time, or constant format. Text must be enclosed in double quotation marks (“ ”) or refer to the cell containing the text you want to convert.
For date formats, Excel starts counting from the year 1900 up to the specified date in the function. For time formats, the result is obtained by dividing the number of hours by 24.
Purpose: Converts a character string containing a number into a numerical value.
2. Specific Examples of VALUE Function in EXCEL
Example 1:
=VALUE('100')=100
=VALUE('$100001')=100001
=VALUE('30/1/1900')=30
=VALUE('6:00')=0.25
Example 2: For the given dataset:
Consider the column 'Number' representing employee codes. We want to extract the last 2 digits of the employee code. How do we achieve this?
We will use the string-cutting function, specifically the RIGHT function, to extract the last 2 digits. The formula will be =RIGHT(C5,2)
Now, using the RIGHT function, you will obtain the last 2 digits after the character sequence of the employee code. If you want to get the numeric value as '1' instead of '01' as seen in the result here, you can use VALUE.
Formula: =VALUE(RIGHT(A4,2))
Simply drag the formula down to the remaining cells, and you'll get the desired results.
So, here Mytour has introduced the VALUE function in Excel along with the syntax and specific examples. The VALUE function is quite straightforward, making it easy for you to understand its usage. Additionally, we've provided some examples combining the VALUE function with other Excel functions to enhance efficiency in your work. We hope what we share here will help you excel in Excel. Generally, you may not need to use the VALUE function extensively in Excel formulas. It is provided for easy compatibility with other basic Excel functions. Wishing you success.
