Table of Contents
Converting text to numbers in Google Sheets is a simple process that can be done using the built-in functions and formatting options. This allows users to easily manipulate and analyze data that is in text format. To convert text to numbers, users can use the “VALUE” function to convert individual cells or columns of data. They can also use the formatting options to change the format of the cells to a number format. By following these steps, users can effectively convert text to numbers in Google Sheets for efficient data analysis and calculations.
Google Sheets: Convert Text to Numbers (3 Examples)
You can use the following formulas to convert text to numbers in Google Sheets:
Method 1: Convert Text to Number
=VALUE(A1)Method 2: Convert Currency to Number
=TO_PURE_NUMBER(A1)
Method 3: Extract Numbers from Text
=SPLIT(A1,CONCATENATE(SPLIT(A1,".0123456789")))
The following examples show how to use each formula in practice.
Example 1: Convert Text to Number
We can type the following formula into cell B2 to convert the text in cell A2 to a number:
=VALUE(A2)We can copy and paste this formula down to the remaining cells in column B:

All of the cells in column B are now a number.
To verify this, we can type =ISNUMBER(B2) in cell C2:

We can see that the value in cell B2 is a number since the ISNUMBER() function returned TRUE.
Example 2: Convert Currency to Number
We can type the following formula into cell B2 to convert the currency value in cell A2 to a number:
=TO_PURE_NUMBER(A2)We can copy and paste this formula down to the remaining cells in column B:

All of the cells in column B are now a number.
To verify this, we can type =ISNUMBER(B2) in cell C2:

We can see that the value in cell B2 is a number since the ISNUMBER() function returned TRUE.
Example 3: Extract Numbers from Text
We can type the following formula into cell B2 to extract numbers from the text in cell A2:
=SPLIT(A2,CONCATENATE(SPLIT(A2,".0123456789")))We can copy and paste this formula down to the remaining cells in column B:

All of the cells in column B are now a number.
To verify this, we can type =ISNUMBER(B2) in cell C2:

We can see that the value in cell B2 is a number since the ISNUMBER() function returned TRUE.
Additional Resources
The following tutorials explain how to perform other common tasks in Google Sheets:
Cite this article
stats writer (2024). How can I convert text to numbers in Google Sheets?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-convert-text-to-numbers-in-google-sheets/
stats writer. "How can I convert text to numbers in Google Sheets?." PSYCHOLOGICAL SCALES, 30 Jun. 2024, https://scales.arabpsychology.com/stats/how-can-i-convert-text-to-numbers-in-google-sheets/.
stats writer. "How can I convert text to numbers in Google Sheets?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-convert-text-to-numbers-in-google-sheets/.
stats writer (2024) 'How can I convert text to numbers in Google Sheets?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-convert-text-to-numbers-in-google-sheets/.
[1] stats writer, "How can I convert text to numbers in Google Sheets?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.
stats writer. How can I convert text to numbers in Google Sheets?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.
