AdSense

Saturday, October 28, 2017

This example teaches you how to convert 'text strings that represent numbers' to numbers by Excel made Easy

 
By default, text is left-aligned and numbers are right-aligned. This example teaches you how to convert 'text strings that represent numbers' to numbers.
Text to Numbers in Excel

1. Select the range A1:A4 and change the number format to General.
General Format
2. Numbers preceded by an apostrophe are also treated as text. Select cell A5 and manually remove the apostrophe.
Remove Apostrophe
3a. You can also combine step 1 and 2 by adding an empty cell to the range A1:A5. By doing this, you let Excelknow that these text strings are numbers. Copy an empty cell.
Copy Empty Cell
3b. Select the range A1:A5, right click, and then click Paste Special.
3c. Click Add.
Add Empty Cell
3d. Click OK.
Result. All numbers are right-aligned and treated as numbers.
Text to Numbers Result
4a. You can also use the VALUE function.
Value Function
4b. Here's another example. Use the Right function (or any other text function) to extract characters from a text string and then use the VALUE function to convert these characters to a number.
Right Function

credit/source: http://www.excel-easy.com/examples/text-to-numbers.html

Note: This  article was published with the intention to inform those who wants to lean more about Microsoft excel. All rights reserved to original writer's website. Thank you.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.