Now before we move forward, let’s first look at a few reasons why you may end up with a workbook that has numbers stored as text. Now, let’s see how to tackle such cases.

## Convert Text to Numbers in Excel

In this tutorial, you’ll learn how to convert text to numbers in Excel. The method you need to use depends on how the number has been converted into text. Here are the ones that are covered in this tutorial.

Using the ‘Convert to Number’ option. Change the format from Text to General/Number. Using Paste Special. Using Text to Columns. Using a Combination of VALUE, TRIM, and CLEAN function.

### Convert Text to Numbers Using ‘Convert to Number’ Option

When an apostrophe is added to a number, it changes the number format to text format. In such cases, you’ll notice that there is a green triangle at the top left part of the cell.

In this case, you can easily convert numbers to text by following these steps:

Select all the cells that you want to convert from text to numbers. Click on the yellow diamond shape icon that appears at the top right. From the menu that appears, select ‘Convert to Number’ option.

This would instantly convert all the numbers stored as text back to numbers. You would notice that the numbers get aligned to the right after the conversion (while these were aligned to the left when stored as text).

### Convert Text to Numbers by Changing Cell Format

When the numbers are formatted as text, you can easily convert it back to numbers by changing the format of the cells. Here are the steps:

Select all the cells that you want to convert from text to numbers. Go to Home –> Number. In the Number Format drop-down, select General.

This would instantly change the format of the selected cells to General and the numbers would get aligned to the right. If you want, you can select any of the other formats (such as Number, Currency, Accounting) which will also lead to the value in cells being considered as numbers.

### Convert Text to Numbers Using Paste Special Option

To convert text to numbers using Paste Special option:

Enter 1 in any empty cell in the worksheet. Make sure it is formatted as a number (i.e., aligned to the right of the cell). Copy the cell that contains 1. Select the cells that you want to convert from text to numbers. Right-click and select Paste Special. In the Paste Special dialog box, select Multiply within the Operation category. Click OK.

### Convert Text to Numbers Using Text to Column

This method is suitable in cases where you have the data in a single column. Here are the steps:

Select all the cells that you want to convert from text to numbers. Go to Data –> Data Tools –> Text to Columns. In the Text to Column Wizard: In Step 1: Select Delimited and click on Next. In Step 2: Select Tab as the delimiter and click on Next. In Step 3: In Column data format, make sure General is selected. You can also specify the destination where you want the result. If you don’t specify anything, it will replace the original data set.

While you may still find the resulting cells to be in the text format, and the numbers still aligned to the left, now it would work in functions such as SUM and AVERAGE.

### Convert Text to Numbers Using the VALUE Function

You can use a combination of VALUE, TRIM and CLEAN function to convert text to numbers.

VALUE function converts any text that represents a number back to a number. TRIM function removes any leading or trailing spaces. CLEAN function removes extra spaces and non-printing characters that might sneak in if you import the data or download from a database.

Suppose you want convert cell A1 from text to numbers, here is the formula: If you want to apply this to other cells as well, you can copy and use the formula. Finally, you can convert the formula to value using paste special.

Multiply in Excel Using Paste Special. How to Convert Text to Date in Excel (8 Easy Ways) How to Convert Numbers to Text in Excel Convert Formula to Values Using Paste Special. Excel Custom Number Formatting. Convert Time to Decimal Number in Excel Change Negative Number to Positive in Excel How to Capitalize First Letter of a Text String in Excel Convert Scientific Notation to Number or Text in Excel How To Convert Date To Serial Number In Excel?