Value()
This function is used to convert a number, stored as a text, into value
Syntax:
= Value (Number _text)
Number_text: Number stored as a string/text
Example:
In the above example, I have used two functions deliberately to show the actual application of this function. In the above example, the Mid() function extracts the numbers as text, from the string – ‘B99’.
And the function Value() converts the number, extracted as text back into a proper number. The difference between the two is that a number stored as text cannot be used for any calculations, whereas a proper number can be used for calculations
Note: I have used two functions in two different cells in the above example. This, instead can be written as:
= Value( Mid( B3,2,2) )
0 comments:
Post a Comment