Mastering Excel Change to Number: A Practical How-To
Learn proven methods to convert text that looks like numbers into true numeric values in Excel. Step-by-step formulas, Text to Columns, Paste Special, and Power Query for large datasets.
Learn how to convert text that looks like numbers into true numeric values in Excel. This guide covers quick in-sheet tricks (multiply by 1, add 0, VALUE, NUMBERVALUE), plus robust methods like Text to Columns, Paste Special with Multiply, and Power Query for large datasets. By the end, your data will behave like numbers in formulas and charts.
Why numbers stored as text cause issues
Numbers stored as text can disrupt calculations, sorting, and charting. When a value is treated as text, formulas that expect numbers return errors or unexpected results. This is especially common with data imports, mixed locale formatting, or values copied from websites. An effective excel change to number approach ensures your data behaves predictably in calculations and analytics. According to XLS Library, many beginners miss these signs and rely on ad-hoc fixes that fail on large datasets. This article helps you standardize the process and avoid common mistakes while keeping your workflow efficient.
Quick checks to spot text values
Before converting, verify which cells are text. Use ISNUMBER and ISTEXT in a new column: =ISTEXT(A2) will return TRUE if the cell contains text; =ISNUMBER(A2) returns TRUE for true numbers. You can also filter by type: select the dataset, go to Data > Filter, then filter by 'Text' to isolate candidates. A simple test is to add 0 or multiply by 1 in a nearby cell; if the result changes from left-aligned text to right-aligned numeric, the cell is text. These checks set the stage for a reliable excel change to number workflow.
In-sheet conversion methods: Multiply by 1 and Add 0
Two quick in-sheet fixes are widely used for small datasets. In a helper column, enter =A2*1 or =A2+0 to coerce text to numbers, then copy and paste values back over the originals. The logic is straightforward: arithmetic forces Excel to treat the value as numeric. For a large dataset, consider combining these tricks with a structured spill to minimize manual steps and reduce the risk of accidental overwrites.
Using VALUE and NUMBERVALUE wisely
VALUE converts a text string that looks like a number into a number, honoring your system locale. NUMBERVALUE takes an explicit decimal and thousands separator, which is helpful when data uses different regional formats. Use VALUE when your data uses the default locale and NUMBERVALUE when you must specify separators, e.g., =NUMBERVALUE(A2, ",", "."). These functions are robust for mixed data, but be mindful of non-numeric characters that will cause errors.
Text to Columns and Paste Special: Step-by-step
For bulk conversions, Text to Columns is a powerful ally. Select the range, then Data > Text to Columns. Choose Delimited, click Next, and then Finish (no delimiter needed). Excel will parse the content as numbers if possible. Alternatively, copy the range, use Paste Special > Multiply to coerce text numbers into numeric values directly in place. These methods are especially useful when dealing with very large datasets or inconsistent formatting across cells.
When to use Power Query for large data
Power Query excels at reshaping large datasets, cleaning strings, and converting data types in a repeatable workflow. Load your table into Power Query, select the column, change type to 'Decimal Number' or 'Whole Number', and apply Close & Load. This approach minimizes manual steps and is ideal for ongoing data ingestion where consistent conversions are required. XLS Library analysis shows Power Query as a scalable solution for complex data cleaning tasks.
Handling dates, times, and locale differences
Dates and times often arrive as text and need conversion to serial numbers. In many cases, you can use =DATEVALUE(text) or =TIMEVALUE(text) to translate to numeric date/time serials. Locale differences (comma vs period as decimal separators) can complicate conversion; NUMBERVALUE with explicit separators helps resolve inconsistencies. Always verify the resulting serials by formatting cells as Dates or Times to confirm correct interpretation.
Formulas to convert within calculations
You can embed conversion within formulas to avoid creating extra columns. The double-unary operator (e.g., =--A2) forces a numeric cast, while -A2 or +A2 can also work depending on context. Using these approaches preserves the original data layout while ensuring arithmetic operations produce numeric results. When combined with functions like SUM or AVERAGE, these conversions become invisible to your workflow but highly effective.
Data cleaning workflow and best practices
Adopt a repeatable workflow: 1) identify text-form numbers, 2) choose a consistent method, 3) apply conversion, 4) validate results, 5) document steps for future users. Keep a backup of the original data and test on a small sample first. Using Power Query or a scripted approach helps maintain consistency across large projects. The XLS Library Team recommends documenting any locale-specific rules to avoid future errors.
Tools & Materials
- Microsoft Excel (365/2019 or later)(Any modern Windows or Mac version with standard formulas and tools)
- Sample dataset containing numeric strings(Include mixed formats, spaces, and potential locale separators)
- Power Query (built-in or add-in)(Optional for large datasets; accessible via Data > Get & Transform)
Steps
Estimated time: 40-60 minutes
- 1
Identify text-like numbers
Scan the dataset to locate values that look numeric but are stored as text. Use ISTEXT in a helper column to flag text values, e.g., =ISTEXT(A2). This confirms which cells need conversion.
Tip: Tip: Sort by the ISTEXT result to focus on convert-only cells first. - 2
Prepare a conversion strategy
Decide between a quick in-sheet fix or a robust, scalable method. For small datasets, in-cell tricks work; for large datasets, Power Query or Text to Columns reduces manual steps.
Tip: Pro tip: Create a backup before applying bulk changes. - 3
Apply Multiply by 1
In a helper column, enter =A2*1, then fill down. Copy the results and Paste Special > Values over the original cells to replace text with numbers.
Tip: Warning: If a cell contains non-numeric text, the result will be #VALUE!; fix those cases separately. - 4
Use VALUE or NUMBERVALUE
If you need reliable conversion with locale awareness, use =VALUE(A2) or =NUMBERVALUE(A2, ",", "."). These formulas convert text to numbers and respect separators.
Tip: Pro tip: Use NUMBERVALUE when your data uses a non-default decimal separator. - 5
Text to Columns for bulk conversion
Select the range, Data > Text to Columns, choose Delimited (no delimiter), and finish. Excel converts many numeric strings to numbers automatically.
Tip: Note: This works best when text values are consistent and simple, without embedded letters. - 6
Paste Special > Multiply
Copy a cell with 1, select the target range, right-click > Paste Special > Multiply to coerce text to numbers in place.
Tip: Pro tip: Ensure you paste over the exact range you intend to convert to avoid partial conversions. - 7
Power Query workflow for large datasets
Load data into Power Query, change the data type to Number, and Close & Load. This creates a repeatable, auditable process ideal for ongoing imports.
Tip: Pro tip: Document each transformation step in Power Query for easy auditing. - 8
Verify results with checks
Use ISNUMBER to validate conversions and COUNT or SUM to verify totals align with expected values. Format results as Numbers or Dates to confirm correctness.
Tip: Warning: Some converted values may still be text due to unseen characters; use CLEAN and TRIM as needed. - 9
Handle special cases
Address dates, times, and mixed locales by applying DATEVALUE/TIMEVALUE or NUMBERVALUE with explicit separators to ensure consistency.
Tip: Pro tip: Keep a small test block to verify edge cases like 0, negative numbers, and zero-padded strings.
People Also Ask
What does it mean when a number is stored as text in Excel?
A value stored as text cannot be used in arithmetic until converted. Common causes include leading apostrophes, trailing spaces, or locale differences.
When a value is stored as text, you can't do math with it until you convert it to a number.
Why might a converted value still be text after applying one method?
Some characters, such as non-breaking spaces or hidden characters, can prevent a true numeric conversion. Clean data and re-check with ISNUMBER.
Sometimes extra characters stop Excel from converting; clean and re-check with ISNUMBER.
When should I use VALUE versus NUMBERVALUE?
Use VALUE for default locale conversions and NUMBERVALUE when you need explicit decimal and thousands separators.
Use VALUE for default locale, NUMBERVALUE when you need to specify separators.
Can Text to Columns handle all conversions?
Text to Columns is great for bulk numeric conversions but may not address complex locale issues. Pair with other methods as needed.
Text to Columns works well in many cases but isn’t a one-size-fits-all solution.
Is Power Query necessary for small datasets?
No, Power Query is optional for small datasets. It becomes valuable for repeatable processes and large data imports.
Power Query is optional for small sets but very helpful for bigger datasets.
Watch Video
The Essentials
- Identify which cells are text before converting
- Choose a method that fits dataset size and locale needs
- Validate results with ISNUMBER and simple checks
- Use Power Query for scalable, repeatable workflows
- Document locale rules to avoid future issues

