How to Convert Text to Number in Excel Using Formula: A Step-by-Step Guide

Converting text to numbers in Excel might seem tricky at first, but it’s actually pretty simple once you get the hang of it. Using a formula, you can swiftly change text that looks like a number into an actual number that you can use in calculations. This guide will walk you through the steps, so you’ll be an Excel pro in no time.

How to Convert Text to Number in Excel Using Formula

In this section, we’ll break down the process into simple, easy-to-follow steps. You’ll learn the exact formula to use and how to apply it to your data.

Step 1: Open Your Excel Workbook

Open your Excel workbook where you need to convert text to numbers.

Make sure your data is accessible and easy to locate. It’s a good idea to have your text data in a column, so you can quickly apply the formula.

Step 2: Select the Cell to Enter the Formula

Click on the cell where you want the converted number to appear.

This is where you’ll type your formula. It’s usually a good idea to choose a cell adjacent to your text data to keep things organized.

Step 3: Enter the Formula =VALUE(A1)

Type in the formula =VALUE(A1), where A1 is the cell containing the text you want to convert.

The VALUE function in Excel converts a text string that looks like a number into an actual number. Ensure you replace A1 with the correct cell reference for your data.

Step 4: Press Enter

After typing the formula, press Enter on your keyboard.

This step converts the text in cell A1 to a number. The result will appear in the cell where you entered the formula.

Step 5: Drag the Formula Down

If you have multiple cells to convert, click on the small square at the bottom-right corner of the cell with the formula. Drag it down to apply the formula to other cells.

This will copy the formula to adjacent cells, converting all the text data to numbers in one go. It makes the process quick and efficient.

Once you’ve completed these steps, all your text data will be converted into numbers. This means you can now use these numbers for calculations, graphs, and other Excel functions.

Tips for Converting Text to Number in Excel Using Formula

  • Double-check your cell references to ensure accuracy.
  • Use the TRIM function if your text has leading or trailing spaces.
  • Apply the VALUE formula to a separate column to keep your original data intact.
  • If VALUE doesn’t work, use the DATEVALUE or TIMEVALUE functions for date and time conversions.
  • Use the Paste Special feature to convert data in place without a formula.

Frequently Asked Questions

What if the VALUE formula doesn’t work?

If the VALUE formula doesn’t work, double-check that your text data is purely numeric and doesn’t include any unwanted characters.

Can I automate this process?

Yes, you can use VBA (Visual Basic for Applications) to automate this process if you frequently convert text to numbers.

What does the VALUE function do?

The VALUE function converts text that appears as numbers into actual numbers that Excel can recognize and use in calculations.

Can I convert dates and times?

Yes, use the DATEVALUE and TIMEVALUE functions to convert text-formatted dates and times into Excel date and time formats.

Will this formula change my original data?

No, the formula doesn’t change your original data. It creates a new set of data in the cells where you enter the formula.


  1. Open Your Excel Workbook
  2. Select the Cell to Enter the Formula
  3. Enter the Formula =VALUE(A1)
  4. Press Enter
  5. Drag the Formula Down


Converting text to numbers in Excel using a formula is a handy skill that can save you a lot of time and headaches. By using the VALUE function, you can ensure that your data is in the correct format for further analysis and calculations.

This guide has provided a step-by-step approach to make the conversion process simple and efficient. So next time you encounter text-formatted numbers, don’t stress! Just follow these steps, and you’ll have your data ready in no time.

If you found this guide helpful, you might want to explore more advanced Excel functions and formulas. There is a wealth of resources available online, from tutorials to forums where you can ask questions and share your experiences. Remember, practice makes perfect, and the more you work with Excel, the more proficient you’ll become. Happy Excel-ing!

Get Our Free Newsletter

How-to guides and tech deals

You may opt out at any time.
Read our Privacy Policy