Log in  \/ 
x
or
x
x
Register  \/ 
x

or

Excel NUMBERVALUE function

Sometimes, you may have a list of numbers which are imported into the worksheet as text format as following screenshot shown. Excel can’t recognize them as regular numbers. In this case, how could you convert these cells to normal numbers? Actually, the NUMBERVALUE function in Excel can help you to convert the numbers in text format to numeric values quickly and easily.

doc numbervalue function 1


 Syntax:

The syntax for the NUMBERVALUE function in Excel is:

=NUMBERVALUE (text, [decimal_separator], [group_separator])

 Arguments:

  • text: Required. The text that you want to convert to normal number.
  • decimal_separator: Optional. The character used as a decimal separator in the text value.
  • group_separator: Optional. The character used as the thousands, millions separator in the text value.

Notes:

  • 1. If the decimal_separator and group_separator are not specified, the NUMBERVALUE function will use the separators from the current locale.
  • 2. If the text string is an empty cell, the result will be 0.
  • 3. #VALUE! error value will be returned:
    • 1). If a decimal separator is appeared more than once in the text string;
    • 2). If the group separator occurs after the decimal separator in the text string;
  • 4. If there are empty spaces between the text string, the NUMBERVALUE function will ignore them. For example, “1 0 0 0 0 ” is returned as 10000.
  • 5. If there are multiple characters in decimal-separator or group-separator, only the first character is used.
  • 6. The NUMBERVALUE function is applied to Excel 2016, Excel 365 and later versions.

 Return:

Return the real number from number is stored as text.


 Examples:

Example 1: Basic uses of the NUMBERVALUE function

Supposing, I have a list of numbers which are stored as text format, and I specify the decimal-separator and group-separator separately for each number as following screenshot shown.

To convert the text to real number format, please apply the below formula:

=NUMBERVALUE(A2, B2, C2)

And then, drag the fill handle down to the cells that you want to apply this formula, and you will get the result as below screenshot shown:

Notes:

1. In this formula, A2 is the cell contains the text you want to convert, B2 is the decimal-separator in the text, and C2 contains the group-separator.

2. You can also use the text strings to replace the cell references in the above formula as this:

=NUMBERVALUE("12.432,56", ",", ".")

Example 2: NUMBERVALUE function is used for dealing with the percentage values

If the text ends in one or more percent signs (%), they will be used in the calculation of the result. If there are multiple percent signs, the NUMBERVALUE function will consider each sign and produce the results accordingly. See screenshot:


 More Functions:

  • Excel PROPER Function
  • The PROPER function is used to capitalize the first letter of each word in the text string and make all the other characters in lowercase
  • Excel SEARCH Function
  • The SEARCH function can help you to find the position of a specific character or substring from the given text string.

The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 80% time for you.

  • Designed for 1500 work scenarios, helps you solve 80% Excel problems.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 30-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.
Ribbon of Excel (with Kutools for Excel installed)

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Firefox, And New Internet Explorer.
Screen Shot of Excel (with Office Tab installed)
Say something here...
symbols left.
You are guest
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.