Excel Practice Test

โ–ถ

Ever opened a spreadsheet, dropped =SUM(A1:A100) at the bottom, and watched it return zero? Yeah. Frustrating. The culprit is almost always text-formatted numbers โ€” digits that look like numbers but Excel treats as strings. You can't add them. You can't sort them properly. Formulas choke. This guide walks through every reliable way to fix it, from one-click tricks to VBA loops, with notes on when each method shines and when it falls flat.

Text-formatted numbers sneak in through imports โ€” CSV files from your bank, exports from old databases, scraped tables from web pages, copy-paste from PDFs. Sometimes a leading apostrophe causes it. Sometimes a stray space. Sometimes a currency symbol or a thousands separator that doesn't match your locale. The fix depends on the source and the volume. Small dataset? Click the green triangle. Hundreds of thousands of rows? Power Query. Repeatable refresh? Power Query again. One-off bulk? Paste Special multiply. Pick the right tool and you save hours.

One-cell fix: click the green triangle warning, choose Convert to Number
Formula: =VALUE(A1) or =--A1 (double-negative, fastest)
Bulk in-place: Paste Special โ€” Multiply by 1
Whole column: Data → Text to Columns → Finish
Locale-aware: =NUMBERVALUE(A1,",",".")
Repeatable imports: Power Query with column type set to Number
Bulk via VBA: Range("A1:A1000").Value = Range("A1:A1000").Value

First โ€” how do you even know a cell holds text instead of a number? Excel gives you several tells. Numbers right-align by default; text left-aligns. A small green triangle in the upper-left corner of a cell often means "this looks like a number stored as text." The ISNUMBER() function returns FALSE for text-formatted digits, and =TYPE(A1) returns 2 for text but 1 for an actual number.

Select the suspicious range โ€” if the status bar at the bottom shows only Count instead of Sum and Average, you've got text. Each check takes seconds and confirms the diagnosis before you commit to a fix. Worth remembering when you inherit messy spreadsheets.

A second-level diagnostic โ€” =LEN(A1) versus your expected length. If a five-digit number reads as length 6 or 7, you've got hidden characters. Run =CODE(LEFT(A1,1)) to inspect the first character. A return of 39 means an apostrophe. A return of 160 means non-breaking space. A return of 9 means tab. Each tells you which cleaning function to reach for. Diagnosis before treatment โ€” five seconds with these checks saves an hour of trial-and-error fixes.

Three Core Conversion Methods Compared

๐Ÿ“‹ VALUE Function

The VALUE() function converts a text string that looks like a number into an actual number. Drop it in a helper column:

  • Syntax: =VALUE(A1)
  • Drag down to apply across a range
  • Returns #VALUE! if the cell contains non-numeric characters like currency symbols or thousands separators that don't match your locale
  • Best for: formulas in an adjacent column where you want a live link to the source
  • Combine with CLEAN/TRIM for messier data: =VALUE(CLEAN(TRIM(A1)))
  • Copy → Paste Special as Values to convert back to plain numbers

VALUE is the textbook answer, but it's not always the fastest. For huge ranges, Paste Special wins.

๐Ÿ“‹ Paste Special

The fastest in-place conversion for large ranges. Here's the trick:

  1. Type 1 in any empty cell
  2. Copy that cell (Ctrl+C)
  3. Select the range of text-formatted numbers you want to convert
  4. Right-click → Paste Special (or Ctrl+Alt+V)
  5. Choose Values under Paste, Multiply under Operation
  6. Click OK

Boom. Done. Multiplying any number by 1 returns the number itself, but the act forces Excel to evaluate each cell as numeric. No helper column needed. No formulas left behind. Works in any version of Excel, on Mac and Windows. The only downside โ€” it loses any custom formatting, so you may need to re-apply currency or thousand-separator formats afterward.

๐Ÿ“‹ Text to Columns

Excel's wizard for splitting data also re-parses single columns. Use it when Paste Special feels heavy and you want a no-formula fix:

  1. Select the single column you want to convert (only one column at a time)
  2. Data tab → Text to Columns
  3. Choose Delimited → Next
  4. Untick every delimiter checkbox → Next
  5. Set column format to General → Finish

Excel re-reads each cell with General format rules โ€” text that resembles a number becomes a number; actual text stays text. Useful side effect: it strips invisible leading apostrophes too. Limitation โ€” works on one column at a time, so for multi-column conversions either loop the wizard or switch to Paste Special.

Multiplying by 1 deserves its own callout because it's the workhorse inside formulas. Three flavors do the same job: =A1*1, =A1+0, and =--A1. The double-negative is the most idiomatic in array-style formulas because it's two characters shorter and parses faster inside SUMPRODUCT and dynamic-array expressions. Try =SUMPRODUCT(--A1:A100) over text-formatted numbers โ€” it sums them correctly without a helper column. Pros use this constantly. It's compact, fast, and works in every Excel version going back to 2003.

Why does multiplying by 1 work? Excel's evaluation engine forces both sides of an arithmetic operator to be numeric. When you feed it a text string that resembles a number, the engine attempts a parse, succeeds, and the result is a true number type. If the parse fails โ€” say the cell contains "abc" โ€” you get a #VALUE! error. Wrap with IFERROR(--A1,0) if you want a clean zero for non-numeric entries instead of error noise spreading through dependent formulas. Pattern shows up everywhere in finance models.

Now โ€” the green triangle method. When Excel flags a cell as "number stored as text," you'll see a small green triangle in the corner and a warning icon to the left of the cell when you select it. Click that icon. The dropdown offers "Convert to Number" as the first option. Pick it. Done. Works for one cell or a selected range. The catch โ€” it only appears when Excel itself decided the cell looks like a number stored as text.

Cells with currency symbols, weird spaces, or non-locale separators won't show the triangle, and you'll need a different approach. For the cases where it does work, this is the fastest no-formula fix on the planet. Two clicks. The Excel TEXT function works the opposite direction โ€” turning numbers into formatted text, which can be useful when building reports.

If the green triangle has gone missing on a sheet where you expected it, check File → Options → Formulas → Error Checking Rules. Make sure "Numbers formatted as text or preceded by an apostrophe" is ticked. Some IT departments push corporate templates with that rule disabled, killing the diagnostic. Re-enable it and the triangles come back on the next workbook open. The same dialog controls a dozen other automatic checks โ€” formulas inconsistent with neighbors, formulas referring to empty cells, unlocked cells in protected ranges. Worth a one-time review when you set up a fresh Excel install.

VALUE vs NUMBERVALUE vs N vs Double-Negative

๐Ÿ”ด VALUE()
  • Syntax: =VALUE(A1)
  • Locale: Uses system locale settings
  • Returns: Number or #VALUE! error
  • Best for: Standard text-to-number conversion in formulas
  • Limitation: Fails on currency symbols outside system locale
๐ŸŸ  NUMBERVALUE()
  • Syntax: =NUMBERVALUE(A1,",",".")
  • Locale: Explicit decimal and thousands separator args
  • Returns: Number or #VALUE! on bad input
  • Best for: International data with mixed separators
  • Excel version: 2013 and later
๐ŸŸก N()
  • Syntax: =N(A1)
  • Behavior: Returns 0 for text โ€” does not parse digits
  • Returns: Number type, but zero for text
  • Best for: Type coercion in formulas, not conversion
  • Warning: Won't convert '123' to 123 โ€” returns 0 instead
๐ŸŸข Double-Negative (--)
  • Syntax: =--A1
  • Mechanism: Negation twice cancels but forces numeric eval
  • Performance: Fastest in array contexts like SUMPRODUCT
  • Best for: Compact formulas inside larger expressions
  • Compatibility: Works in every Excel version

Currency symbols and thousand separators trip up most conversion attempts. A cell showing $1,234.56 as text won't yield to plain VALUE(). Two clean fixes: NUMBERVALUE() with explicit separator arguments, or chained SUBSTITUTE() calls to strip the symbols first. Something like =SUBSTITUTE(SUBSTITUTE(A1,"$",""),",","")*1 nukes both the dollar sign and the comma, then multiplies by 1 to convert. For European data with comma-as-decimal, =NUMBERVALUE(A1,",",".") tells Excel the comma is the decimal mark and the period is the thousands separator. Match the args to your data's locale, not your system's.

Hidden non-printable characters from web scrapes deserve their own mention. Copy a number from a webpage and paste it into Excel โ€” looks fine. Try to add it to another number โ€” boom, error. The cell often contains a Unicode non-breaking space (CHAR 160) or some other invisible junk. The CLEAN() function strips most control characters; TRIM() handles whitespace.

Combine them with SUBSTITUTE: =VALUE(CLEAN(TRIM(SUBSTITUTE(A1,CHAR(160),"")))). Ugly, but bulletproof for messy imports. For repeated cleanup, drop the whole expression into a custom LAMBDA in modern Excel and call it like a built-in function. The count cells with text guide covers the complementary problem โ€” identifying text cells in a range.

Diagnose-Then-Fix Workflow

1

SUM returns 0 or wrong value. Check status bar โ€” only Count appears, no Sum or Average. Quick test: =ISNUMBER(A1) returns FALSE for text-formatted numbers.

2

Numbers right-align by default; text left-aligns. Check a few cells. Look for green triangles in upper-left corners โ€” Excel's hint that a cell holds number-as-text.

3

CSV import, web scrape, copy from PDF, accounting export โ€” each has typical patterns. Currency symbols mean SUBSTITUTE or NUMBERVALUE. Apostrophes mean Text to Columns. Spaces mean TRIM/CLEAN.

4

Small range โ€” click the green triangle. Single column โ€” Text to Columns. Bulk in-place โ€” Paste Special Multiply. Formula chain โ€” VALUE or double-negative. Repeated imports โ€” Power Query.

5

After conversion, sum the range. Run =ISNUMBER() on a sample. Check that =TYPE() returns 1. Confirm formulas that previously broke now produce expected results.

6

Conversion strips custom formatting. Re-apply currency, thousands separator, decimal places via Format Cells (Ctrl+1). Verify the display matches what you need for reports or exports.

For one-off massive jobs, VBA wins. A short macro loops a range and forces each cell back to numeric. Open the VBA editor with Alt+F11, insert a module, and paste this: For Each c In Selection: If IsNumeric(c.Value) Then c.Value = CDbl(c.Value): End If: Next c. Select your range first, then run the macro.

CDbl() converts the string into a double-precision number and assigns it back, replacing the text. Val() works similarly but stops at the first non-numeric character โ€” handy for stripping suffixes but risky if your data has weird formatting. For bulk in-place conversion across hundreds of thousands of cells, this approach finishes in seconds.

Power Query deserves serious attention for any data that refreshes on a schedule. Load your CSV through Data → Get Data → From File → From Text/CSV. In the Power Query editor, find your text-formatted column, right-click the header, choose Change Type → Decimal Number or Whole Number. Power Query remembers the transformation. Every time you refresh the source, the conversion applies automatically.

No formulas to maintain. No Paste Special dance. Robust against new rows. The setup costs five minutes; the payoff is years of friction-free imports. For accountants pulling weekly bank exports or analysts hitting quarterly database dumps, Power Query is the answer. The convert Excel to PDF walkthrough covers a different export need, but the Power Query mindset transfers โ€” set up once, run forever.

Conversion Gotchas to Watch For

Locale mismatch โ€” comma versus period as decimal separator
Dates stored as text โ€” use DATEVALUE, not VALUE
Times in HH:MM:SS โ€” convert with TIMEVALUE, not VALUE
Scientific notation like 1.23E+05 โ€” VALUE handles, but verify display
Empty cells treated as zero-length text โ€” won't convert to 0, may stay as text
Error values like #N/A blocking SUM โ€” wrap with IFERROR before converting
Hidden non-printable characters from web scrapes โ€” clean with CLEAN()
Leading apostrophes invisible in cell display โ€” only Text to Columns or Paste Special catches them
Leading zeros stripped on conversion โ€” only matters for IDs and zip codes; keep those as text
Custom formatting lost after Paste Special Multiply โ€” re-apply currency or thousands separators afterward

Performance matters when ranges get large. VALUE() in a helper column across 100,000 rows recalculates every time the workbook updates โ€” that drags. Paste Special Multiply runs once and leaves no formulas behind. VBA is fastest for one-time bulk jobs because it bypasses Excel's calc engine entirely.

Power Query loads and transforms in a separate engine, so it doesn't slow live calc. Text to Columns is instant but limited to one column at a time. For a small range, any method works. For ranges over 50,000 rows, prefer Paste Special, VBA, or Power Query. You'll feel the difference. The wrap text in Excel guide covers another formatting need that's quick but useful.

Memory usage differs too. A workbook full of text-formatted numbers uses more RAM than the same data stored as numbers โ€” text is bytes per character, numbers are eight bytes flat. Converting a column of 200,000 financial values from text to number can shrink the file by 30 percent or more. Save, close, reopen โ€” the calc tree rebuilds faster, autosave intervals shorten, the workbook feels snappier. If you've ever wondered why a colleague's spreadsheet runs sluggish, look first at columns of numeric-looking data that's actually text.

Method Pick by Scenario

๐Ÿ“‹ CSV Import

Repeated CSV imports that refresh on schedule:

  • Best: Power Query with column type set to Number โ€” survives refresh, no formulas needed
  • Quick alt: Paste Special Multiply after import โ€” fast but manual every time
  • Pro tip: Set up Power Query once, schedule the refresh, forget about conversion forever
  • If currency symbols appear: Add a Replace Values step in Power Query before the type change

๐Ÿ“‹ Bank Statement

One-time bank export with amounts as text:

  • Best: Paste Special Multiply for in-place fix
  • If currency: Find & Replace the dollar sign first, then Paste Special
  • If commas: Find & Replace the comma, then Paste Special
  • Verify: Sum the column at the bottom โ€” should match the statement total

๐Ÿ“‹ Database Export

SQL dump or BI tool export with numeric columns as strings:

  • Best: Power Query for repeatable processing
  • Alt: VBA macro for one-time mass conversion
  • Watch for: NULL values exported as the string "NULL" โ€” replace with empty before conversion
  • Watch for: Scientific notation in big integers โ€” set column type to Whole Number, not Decimal

๐Ÿ“‹ Web Scrape

Numbers copied from a webpage or HTML table:

  • Best: VALUE with CLEAN and TRIM stacked โ€” strips non-printable chars and whitespace
  • Common issue: CHAR(160) non-breaking spaces from HTML โ€” SUBSTITUTE them out first
  • Pattern: =VALUE(CLEAN(TRIM(SUBSTITUTE(A1,CHAR(160),""))))
  • For bulk: Run the formula in a helper column, then Paste Special Values back

Sometimes you absolutely should not convert. Zip codes with leading zeros โ€” convert and you lose the zeros, turning 02134 into 2134. Phone numbers, account numbers, SKUs, product IDs โ€” same problem. Keep these as text on purpose. Excel doesn't need them as numbers because you'll never sum or average them.

If your spreadsheet has a column of zips, format the column as Text before pasting data and you'll preserve the zeros. For mixed columns where some entries should be numeric and others should stay text, use a helper column with logic like =IF(LEN(A1)=5,A1,VALUE(A1)) to preserve five-digit zips while converting other entries.

Times and dates have their own conversion functions. Text like 05/11/2026 won't yield to VALUE() โ€” use DATEVALUE() instead. Text like 14:35:00 needs TIMEVALUE(). Combined date-time strings convert through nested calls: =DATEVALUE(LEFT(A1,10))+TIMEVALUE(RIGHT(A1,8)) for a string like 05/11/2026 14:35:00.

After conversion, apply a date or time format from Format Cells so the result displays as you expect โ€” otherwise you'll see Excel's serial number representation, which looks like 45788 instead of a recognizable date. The convert PDF to Excel guide covers the upstream problem of extracting tabular data from PDFs, which often produces text-formatted numbers you'll then need to convert.

One more scenario worth flagging โ€” pivot tables built over text-formatted numeric columns. Pivot tries to auto-detect the type, often fails, and presents what should be a Sum column as a Count instead. Symptom: your pivot shows row counts where you expected dollar totals. Fix: convert the source column first, then refresh the pivot.

Pivot won't reinterpret existing values, so a convert-then-refresh sequence is required. If the source data updates regularly, route it through Power Query and set the column type there โ€” the pivot reads from the loaded data and the conversion sticks across refreshes. Saves daily headache for analysts who run weekly reports on imported figures.

Conversion Speed and Capability Stats

0
What SUM returns when a range contains text-formatted numbers
Ctrl+Alt+V
Paste Special shortcut โ€” fastest in-place bulk conversion
=--A1
Double-negative trick โ€” fastest inside array formulas
VALUE
Standard function for formula-based conversion
Power Query
Best for repeatable conversion across refresh cycles
1
What =TYPE() returns for a real number versus 2 for text

Power Query specifics are worth a closer look since it's the most under-used tool for this problem. Open Power Query through Data → Get Data → From File for CSVs or From Other Sources for databases. The query editor shows your raw data. Click a column header and inspect the type icon to the left of the column name โ€” ABC means text, 123 means number. Click the icon and pick the type you want.

Power Query inserts a Changed Type step in the Applied Steps panel on the right. Close & Load drops the cleaned data into Excel. Every refresh re-runs the same steps. For locale issues, use Change Type → Using Locale to specify how the source represents decimals and thousands. Refresh the source data and Power Query handles everything automatically.

After conversion finishes, you'll usually want to re-apply formatting. Paste Special Multiply strips custom formats, so a column of dollar amounts becomes plain numbers without the dollar sign. Re-apply via Ctrl+1 (Format Cells) โ€” pick Currency, Number, or Custom as needed. Set decimal places, thousands separator, and any currency symbol. For consistent formatting across multiple workbooks, copy the formatted cell and use Paste Special Formats to apply the look without affecting values. ROUND() handles precision issues from imports โ€” bank statements often carry 15 decimal places that you don't want. =ROUND(A1,2) trims to cents.

A subtle Power Query trick โ€” the Replace Errors step. If your column has a few non-convertible cells mixed in with thousands of clean ones, set the column type to Number, accept the error indicators on bad rows, then right-click the column and choose Replace Errors. Enter null or zero.

Power Query swaps every error with your replacement, and the rest of the conversion proceeds clean. Beats hunting through 50,000 rows looking for that one weird entry that broke the type cast. The same approach scales to any messy import scenario where most data is clean and a few outliers cause grief.

Pros and Cons of Converting Text to Numbers

Pros

  • SUM, AVERAGE, and other math functions work correctly
  • Sorting by numeric value produces correct order โ€” 2 before 10, not 10 before 2
  • Pivot tables aggregate properly across the column
  • Charts plot values on a numeric axis instead of treating each as a category
  • File size shrinks because numbers store more compactly than text
  • Lookup functions like VLOOKUP and XLOOKUP match correctly across numeric keys

Cons

  • Custom formatting like currency symbols and thousand separators is stripped
  • Leading zeros disappear โ€” 00123 becomes 123, breaking IDs and zip codes
  • Trailing zeros after a decimal point drop unless format is re-applied
  • Large numbers may display in scientific notation by default
  • Time and date strings need DATEVALUE or TIMEVALUE โ€” VALUE fails
  • Power Query setup has a learning curve compared with simple Paste Special
FREE Excel Formulas Questions and Answers

Errors during conversion give you clues about what went wrong. #VALUE! means the text contains characters that can't parse as a number โ€” currency symbols, letters, weird spaces. Wrap the cell with CLEAN() and TRIM() first, or use SUBSTITUTE to remove the offending characters.

A result of 0 often means the original cell was empty or contained only whitespace. #DIV/0! happens when a converted value flows into a division step later โ€” the issue isn't the conversion, it's the downstream formula. #NAME? means a function name is wrong, often a typo or a function unavailable in your Excel version (like NUMBERVALUE before Excel 2013).

Version differences matter more than people expect. Excel 365 and Excel 2021 ship with dynamic arrays โ€” drop =VALUE(A1:A100) in a single cell and it spills converted results down a hundred rows. No drag-down needed. Excel 2019 and earlier need the formula in every cell or wrapped in a legacy array entry (Ctrl+Shift+Enter). NUMBERVALUE() arrived in 2013, so workbooks targeting 2010 or earlier need SUBSTITUTE chains instead.

Excel for Mac matches Windows feature-for-feature in modern versions but lags on edge cases like Power Query refresh from certain database sources. Google Sheets has its own equivalents โ€” VALUE() works identically, and TO_NUMBER() handles the same job. Most patterns transfer across spreadsheet apps with minor syntax tweaks.

Excel Convert Text to Number Questions and Answers

Why is my SUM returning 0 in Excel?

The most common reason โ€” the cells in the range are text-formatted numbers, not actual numbers. SUM ignores text. Quick test: select the range and check the status bar at the bottom of Excel. If you see Count but not Sum and Average, you've got text. Fix it with Paste Special Multiply (copy any cell containing 1, select the text range, Paste Special, Values, Multiply), or use =SUMPRODUCT(--A1:A100) which forces text-to-number conversion inline. Another cause โ€” the range references are wrong, the cells contain hidden errors, or the cells are filtered out. Check =ISNUMBER(A1) on a sample cell. If it returns FALSE, conversion is the fix.

How do I keep leading zeros when converting text to numbers?

You can't โ€” true numbers don't store leading zeros, because mathematically 00123 equals 123. If you need leading zeros for display, keep the data as text and apply a custom number format instead. Right-click the cell, Format Cells, Custom, and enter a format like 00000 (five zeros). The cell displays 00123 but stores whatever number you enter. The downside โ€” math functions still treat it as a number. If you need leading zeros for IDs, zip codes, account numbers, or SKUs, the cleanest answer is don't convert โ€” keep them as text. For mixed cases, use a helper column with TEXT(A1,"00000") to format on demand.

How do I convert an entire column from text to numbers at once?

Several methods scale to a full column. Paste Special Multiply is the fastest in-place fix โ€” copy any empty cell containing the value 1, select the entire column, Paste Special, choose Values and Multiply, click OK. Text to Columns works on one column at a time โ€” Data tab, Text to Columns, Delimited, untick all delimiters, Finish. Power Query handles columns of any size and remembers the conversion across refreshes โ€” load the data, change column type to Number, Close & Load. For VBA, a one-liner does it: Range("A1:A1000").Value = Range("A1:A1000").Value. Pick by volume and frequency.

What's the difference between VALUE and NUMBERVALUE?

VALUE uses your system's locale settings to interpret separators. If your computer is set to US English, VALUE expects period as decimal and comma as thousands. Drop a European-formatted number like 1.234,56 (period thousands, comma decimal) into VALUE on a US system and you get #VALUE!. NUMBERVALUE takes explicit decimal and group separator arguments โ€” =NUMBERVALUE(A1,",",".") tells Excel comma is the decimal mark and period is the thousands separator regardless of system locale. Use NUMBERVALUE for international data, exports from foreign systems, or any time you need explicit control. VALUE is fine for data matching your locale. NUMBERVALUE requires Excel 2013 or later.

Can I convert text to numbers without losing formatting?

Not directly โ€” most conversion methods strip custom number formats because the conversion replaces the cell value entirely. The clean workflow โ€” convert first, then re-apply formatting. Use Ctrl+1 to open Format Cells, pick Currency or Number, set decimals and thousands separator, click OK. For repeatable jobs, copy a properly-formatted cell and use Paste Special Formats to apply the look across the converted range. Power Query is slightly different โ€” you set the column type to Number and Power Query loads numbers, but you still apply Excel-side formatting after loading because Power Query doesn't carry Excel formatting through. Plan on a two-step process: convert, then format.

How do I handle empty cells during text-to-number conversion?

Empty cells behave differently from zero-length text strings. A truly empty cell (never typed in) ignored by VALUE() and most conversion functions โ€” they pass it through as empty. A cell containing an empty string from a formula like ="" or imported as "" from CSV is text, and VALUE() returns #VALUE!. For mixed columns, wrap conversion in IFERROR or IF logic: =IF(A1="","",VALUE(A1)) keeps empty cells empty and converts the rest. For Paste Special Multiply, empty cells stay empty โ€” only cells with values get multiplied. Power Query treats empty as null and preserves it as null in numeric columns. Each method handles emptiness slightly differently, so test on a small sample first.

Is there a VBA macro for bulk text-to-number conversion?

Yes โ€” and it runs faster than any formula approach for huge ranges. Open VBA with Alt+F11, insert a module, and paste: Sub ConvertToNumber() Dim c As Range: For Each c In Selection: If IsNumeric(c.Value) Then c.Value = CDbl(c.Value): Next c: End Sub. Select your range, then run the macro (Alt+F8, pick ConvertToNumber). IsNumeric checks whether the text resembles a number; CDbl converts to a double-precision number and assigns back, replacing the text. Variants โ€” Val() stops at the first non-numeric character (useful for stripping suffixes), CLng() returns long integers (better for whole numbers). For ranges over 100,000 cells, this approach finishes in seconds where formulas would lag.

What's the fastest way to spot text-formatted numbers in a sheet?

Three quick checks. First โ€” look at alignment. Numbers right-align by default, text left-aligns. A column where some cells right-align and others left-align signals mixed types. Second โ€” green triangles in the upper-left corner of cells indicate Excel's own warning that a cell holds a number stored as text. Third โ€” select the range and watch the status bar at the bottom. If Sum and Average don't appear (only Count does), the range is text. For programmatic checks, =ISNUMBER(A1) returns FALSE for text-formatted numbers, =TYPE(A1) returns 2 for text and 1 for numbers, and =SUMPRODUCT(--ISNUMBER(A1:A100)) counts how many cells in a range are real numbers. Use whichever fits the size of your spreadsheet.
FREE Excel Functions Questions and Answers

Best practice โ€” never convert in place without a backup. Copy your raw data to a second sheet or a backup workbook first, then convert on the live copy. If something goes sideways (and the first time you try Paste Special Multiply on the wrong range, something will), you can revert. Even better โ€” keep the source data in its original text form, do conversions in a helper column with VALUE or NUMBERVALUE, and reference the helper column in downstream formulas.

You preserve the original, you can audit the conversion, and you can change the conversion logic without re-importing. For repeatable workflows, Power Query gives you all of this automatically because the original source file stays untouched and every transformation is logged in Applied Steps.

The bottom line โ€” text-formatted numbers are a routine nuisance with at least seven distinct solutions, and each method earns its place in your toolkit for different volumes and contexts. Pick the one that matches your volume, frequency, and locale. Paste Special for one-off in-place fixes. VALUE or double-negative inside formulas. Text to Columns for single columns. Power Query for anything that refreshes. VBA when you want to script it.

The green-triangle click for the easiest cases. NUMBERVALUE for international data with locale-specific separators. Master two or three of these and you'll never see a SUM return zero again โ€” at least, not because of text-formatted numbers. Test on small samples first. Back up before bulk operations. Verify with a sum at the bottom of the column. Confirm cell types with ISNUMBER. Build the habits and the messy CSV imports stop costing you afternoons. Document your conversion approach in a worksheet note so the next person to open the file knows what happened to the data. Future-you will thank present-you.

Microsoft Excel Formulas and Functions 2 Practice Test
โ–ถ Start Quiz