To convert a range of cells to numbers in Excel, select the range, then use the Error Checking button (the yellow diamond with an exclamation mark) and choose Convert to Number. Alternatively, multiply the entire range by 1 using =A1:A10*1 with the Ctrl+Shift+Enter array formula (or use =VALUE(A1) in a helper column). The fastest method depends on whether the cells contain text-formatted numbers, leading apostrophes, or errors.
Why Excel Stores Numbers as Text
Excel treats a cell as text when it was imported from a CSV, copied from a webpage, or typed with a leading apostrophe (e.g., '123). Text-formatted numbers align left by default, and the cell may show a green triangle in the top-left corner. When you try to sum such a range, SUM ignores text values and returns 0, which confuses many users. Understanding this distinction is the first step to fixing it.
Method 1: Error Checking (Quickest for Small Ranges)
This works when Excel has already flagged the cells as text.
- Select the range of cells with green triangles.
- Click the yellow warning icon that appears next to the first selected cell.
- Choose Convert to Number from the dropdown.
This method only works if the green triangle is present. If you don’t see it, the cells might be formatted as Text (via the Number Format dropdown) but contain real numbers – in that case, change the format to General and re-enter the values. On Mac, the same steps apply; the icon appears in the same location.
Method 2: Paste Special Multiply (Best for Large Ranges)
This converts an entire range without formulas, and it’s the most reliable for hundreds or thousands of cells.
- Type
1in any empty cell. - Copy that cell (Ctrl+C, or Cmd+C on Mac).
- Select the target range of text-numbers.
- Go to Home > Paste > Paste Special (or right-click > Paste Special).
- Under Operation, choose Multiply, then click OK.
This multiplies every cell by 1, forcing Excel to treat the content as a number. Afterward, delete the temporary 1 cell. This method also removes leading apostrophes and works with negative numbers, decimals, and scientific notation.
Method 3: VALUE Function in a Helper Column
If you need a formula-based approach (for dynamic data), use the VALUE function. Assume your text-numbers are in A2:A10. In B2, enter:
=VALUE(A2)
Drag the fill handle down to B10. This returns the numeric value of A2. If A2 contains a date-like text (e.g., “1/1/2025”), VALUE may convert it to a serial number – be careful. For a range without dragging, use an array formula in Excel 365:
=VALUE(A2:A10)
Press Ctrl+Shift+Enter if you are on an older Excel version; in Microsoft 365, it spills automatically. The result is a dynamic array of numbers.
Method 4: Text to Columns (For Stubborn Data)
When cells contain extra spaces, non-breaking spaces, or are formatted as Text with no green triangle, use Text to Columns:
- Select the range.
- Go to Data > Text to Columns.
- Choose Delimited and click Next.
- Uncheck all delimiters (or keep Tab if your data has tabs), then click Next.
- Under Column data format, select General and click Finish.
This forces Excel to reinterpret each cell as a general value. It’s particularly useful when the cells contain a trailing space that isn’t visible. On Excel for the web, Text to Columns is not available; use the Paste Special Multiply method instead.
Common Problems and Misconceptions
- Green triangle not showing? Go to File > Options > Formulas and ensure “Enable background error checking” is checked. Also, the cell must be formatted as General or Number – if it’s explicitly Text format, the triangle may not appear.
- SUM returns 0? That’s the classic symptom. Use
=SUM(VALUE(A2:A10))as an array formula (Ctrl+Shift+Enter) to sum text-numbers without converting them permanently. - Leading apostrophe? The apostrophe is invisible in the cell but shows in the formula bar. Paste Special Multiply removes it.
- Non-breaking spaces (CHAR(160))? These come from web imports. Use
=SUBSTITUTE(A2,CHAR(160),"")*1to strip them and convert to number. - Numbers stored as text due to CSV import? When opening a CSV, Excel often shows the green triangle. Use the first method or Paste Special Multiply.
Comparing Methods: Which Should You Choose?
For a one-off fix on a small range, Error Checking is fastest. For large datasets, Paste Special Multiply is the most efficient and doesn’t require formulas. If you need a dynamic solution that updates when source data changes, use VALUE in a helper column. Text to Columns is a fallback for dirty data with spaces. Avoid manually retyping numbers – it’s error-prone and time-consuming. Also note that VALUE only works with text that looks like a number; it returns #VALUE! if the text is not numeric.
Frequently Asked Questions
How do I convert a whole column from text to numbers?
Select the entire column (click the column letter), then use Paste Special Multiply with a cell containing 1. Or use the Error Checking method if green triangles appear. For a dynamic conversion, add a helper column with =VALUE(A2) and drag down.
Why does my Excel show numbers as text and won’t sum?
This usually happens because the cells were imported or formatted as Text. The quickest fix is to select the range, click the yellow warning icon, and choose “Convert to Number”. If that doesn’t appear, use Paste Special Multiply.
Can I convert text to numbers without a formula?
Yes. Use Paste Special Multiply (type 1 in a cell, copy it, select range, Paste Special > Multiply) or Text to Columns with General format. Both are formula-free and permanent.
What is the keyboard shortcut for Paste Special?
On Windows, press Ctrl+Alt+V to open Paste Special. On Mac, press Cmd+Ctrl+V. Then press M to select Multiply and press Enter.
Does converting text to numbers affect dates or currencies?
Yes, it can. For dates stored as text (e.g., “1/1/2025”), VALUE may return a serial number (45292) which displays as a number unless you format it as a date. For currencies, the conversion works fine, but ensure the cell format is set to Currency after conversion to show the dollar sign.
How do I convert a range to numbers in Google Sheets?
In Google Sheets, select the range, go to Format > Number > Number – but that only changes formatting, not text-to-number conversion. Use =VALUE(A2) in a helper column, or use the “Split text to columns” feature under Data, then choose a delimiter and set the column type to Number. The Paste Special Multiply method also works: copy a cell with 1, select range, right-click > Paste special > Multiply.
Safety and Accuracy Notes
Always make a backup copy of your workbook before using Paste Special Multiply or Text to Columns, as these overwrite the original data. If you use a macro to automate conversion, remember that macros cannot be undone with Ctrl+Z – save a copy first. For financial data, double-check that decimal points and thousands separators are interpreted correctly (e.g., “1,234” might become 1.234 in some locales). If your data contains formulas that return text, converting them to values will break the formulas – consider using VALUE in a separate column instead.
Related
- SQL COUNT DISTINCT Values: Syntax & Examples
- Selected Cell How Many Minutes? Excel Time Guide
- Entry Level Data Entry: Real Jobs, Pay, Skills
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Excel Flash Fill for Workdays: What It Can and Can’t DoNo—not for reliable workday calculations. Excel Flash Fill can copy a pattern, such as turning dates into weekday…
- How to Add a Header in Microsoft Word: Step-by-StepTo add a header in Microsoft Word, open the document, select Insert > Header, and choose a built-in…
- How to Insert a Cursive Signature in Microsoft WordTo insert a cursive signature in Microsoft Word, add a clear image of your handwritten signature with Insert…
- How to Highlight Cells Yellow in ExcelTo highlight cells yellow in Excel for Microsoft 365 on Windows, select the cell or range, open Home…
- PowerPoint Audio Controls: Add and Customize PlaybackTo add audio controls to a PowerPoint slide, insert an audio file with Insert > Audio, select the…
- Excel CSV Import Settings: Delimiters and Data TypesIn Excel for Microsoft 365 on Windows, use Data > From Text/CSV to import a CSV and choose…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.