VLOOKUP returns #N/A when the value you search for is a real number but the matching column stores the same digits as a text string, and the fastest way to convert text to number for VLOOKUP depends on where the text comes from. If the text is a numeric string inside a cell such as "1234" sitting next to a column of real numbers, Excel's VALUE() function, the double-negative (--) trick, adding 0, or Paste Special as Values will fix the mismatch in place. If the text is a spelled-out English phrase like "twelve thousand four hundred" inside a transcript, form response, or copied document, you need a separate conversion that turns the words into digits before you paste them into your sheet. That second case is what the Words to Numbers Converter handles: enter a clear English cardinal integer phrase, choose Convert to digits, and the parser returns a comma-formatted integer such as 12,400 that can be pasted into a VLOOKUP key column. The two workflows share one goal, restore matching data types so VLOOKUP stops returning errors, but they run through different tools.

convert text to number for vlookup
Convert Text to Number for VLOOKUP: 4 Reliable Methods

Why VLOOKUP Returns #N/A for Numbers Stored as Text

VLOOKUP compares the lookup value against every entry in the first column of the table array, and the comparison is strict about data type. A real number 1234 is not equal to the text string "1234" in Excel's matching logic, even though they look identical on the screen. When the lookup column was populated from a CSV export, a web form, a copy-paste from a chat message, or a formula that wrapped a value in TEXT(), the cells hold text rather than numbers, and a VLOOKUP for a real number walks past every one of them. The same failure shows up in reverse: a text lookup value searching a numeric column produces the same #N/A. Any lookup function that uses an exact-match argument inherits the rule, including INDEX/MATCH, XLOOKUP in legacy mode, and SUMIFS used as a lookup substitute.

The mismatch usually becomes visible only after a sort, a SUM check, or a pivot table reveals that a "number" column will not aggregate. Green triangle warnings in the upper-left corner of cells and the apostrophe that appears in the formula bar are the two clearest signs that Excel has stored a value as text. Once the type is identified, the path back to a working VLOOKUP is short.

Excel Methods to Convert Text to Number for VLOOKUP

When the cell content already looks like digits, the fix lives entirely inside the spreadsheet. Five techniques are common, and the table below compares them on speed, whether they require a helper column, how they behave on a blank or already-numeric cell, and whether the change can be undone.

MethodFormula or actionHelper columnSafe on blanksReversible
VALUE()=VALUE(A1)YesErrors on blankYes (delete column)
Double-negative (--)=--A1YesErrors on blankYes
Add zero=A1+0YesReturns 0 for blankYes
Multiply by 1=A1*1YesReturns 0 for blankYes
Paste Special as Values, then multiplyCopy cell, Paste Special > MultiplyNoErrors on blankNo (overwrites)

The Paste Special approach is the only one that rewrites the original cell in place; the others sit in a helper column and need a copy-paste-as-values back over the source. For a single column of hundreds of rows, the helper-column approach with VALUE() or the double-negative is the safest, because blank rows error loudly instead of silently turning into 0 and corrupting downstream totals.

Text-to-Columns also flips text numbers to real numbers in place. Select the column, choose Data > Text to Columns, click Finish without changing any field selection, and Excel coerces the cells to numeric on the way through. This is the right answer when you cannot add a helper column because a VLOOKUP must reference the same range, and it matches the technique described in the related guide on converting storage values stored as text in Excel.

When the "Text" Is a Spelled-Out Number Phrase

The Excel tricks above only work when the cell already contains digits that Excel is misreading as text. They do nothing for the case where the cell contains words: "forty-two", "two hundred and six", "negative one million". The source in this case is usually a transcript, a chatbot reply, a form-response export, a contract clause, or a hand-typed note from a colleague, and the workflow must turn the words into digits before anything else can happen. Once the digits exist, they paste into a sheet as real numbers, and VLOOKUP matches them against a numeric lookup column without complaint.

The Words to Numbers Converter is built for exactly this case. It accepts an English cardinal integer phrase and returns a comma-formatted integer that can be copied into any spreadsheet, document, or form field. The companion guide on turning phone-style words into digits covers a related but distinct transcription workflow when each letter maps to a number on a keypad.

Convert a Number Phrase to Digits Step by Step

The converter is intentionally narrow: it accepts a clean cardinal integer phrase and rejects everything else, so the result is predictable. Use it as a quick step between the prose source and your spreadsheet.

  1. Open the converter and type only the cardinal integer phrase, such as twenty-five thousand three hundred seventy-six, into the input field. Do not paste the surrounding sentence, units, labels, or currency words.
  2. Select Convert to digits. The result appears below the input as 25,376, already comma-formatted and ready to copy.
  3. Copy the digit string and paste it into the spreadsheet cell that will become your VLOOKUP key. Because the paste inserts real digits, no VALUE() wrapper is required and the lookup matches the numeric column on the first try.
  4. If an error message appears, the parser has flagged a grammar boundary. Common fixes are removing a stray currency word, deleting a decimal point, replacing a lakh or crore grouping with the English equivalent, or splitting a sentence that contained more than one number phrase.
  5. Spot-check the result against the original prose before pasting it into a financial or legal cell. Transcribed audio in particular can drop a "thousand" or "million" and shift a value by several orders of magnitude.

What the Converter Accepts and Rejects

The parser is deliberately strict, and strictness is the reason a valid result is trustworthy. Knowing the boundary in advance saves a round of trial and error.

FormExampleAccepted
Cardinal integer, shorttwo hundred forty-sixYes
Hyphenated compoundtwenty-fiveYes
Connector "and"one hundred and fiveYes
Negative sign in wordsnegative twelve thousandYes
Decimal phraseforty-six point fiveNo
Currency phrasetwo hundred dollarsNo
Ordinalforty-secondNo
Indian groupingtwo lakh fifty thousandNo
Scaled duplicateone million millionNo
Embedded zerotwo hundred zero fiveNo

The English number words follow the spellout sequence documented in the Unicode LDML rule-based number formatting guidance, with the published examples in that resource providing independent checks for the hundred, thousand, and million forms. Capitalization and extra whitespace do not change the result, so "Two Hundred Forty-Six" parses the same as "two hundred forty-six". The supported range runs from negative 999,999,999,999 to positive 999,999,999,999, and the parser refuses to guess when a phrase lies outside that window.

Privacy and Verification Notes

The converter performs deterministic parsing in the current browser tab. The input phrase is not uploaded, not stored on a server, and not used to train any model. That matters when the prose contains customer identifiers, invoice totals, or anything else covered by an internal data-handling rule, because all parsing runs locally in the current browser tab. For teams working under a privacy or data-residency requirement, this lets the step sit inside an approved workflow rather than around it.

For numbers that drive financial, legal, or measured decisions, always read the result back against the original source before pasting it into a downstream cell. The converter is a transcription step, not a verification step: it does not know whether the speaker actually said "thirteen" or "thirty", and a single missed "million" in an audio transcript changes the result by six digits. A two-second read-back of the digits, the parsed value, and the original phrase is enough to catch most transcription errors. For regional variants, confirm that the phrase uses short-scale English, where thousand is 10³, million is 10⁶, and billion is 10⁹, before trusting the converted value in a downstream calculation.

Putting It Together for a Working VLOOKUP

Two cleanups cover most VLOOKUP data-type failures. For cells that already contain digit strings, use VALUE(), the double-negative, or Text to Columns in Excel to flip the column to real numbers. For source documents where the numbers are spelled out as English words, paste the phrase into the Words to Numbers Converter, copy the comma-formatted integer back into the sheet, and the lookup runs without an #N/A. The same goal, matching data types on both sides of the lookup, is reached through two different entry points, and using the right one for each source saves time and avoids the silent-corruption failure mode where blanks turn into zeros and downstream totals drift without warning.