Number to Letter

Number to Letter › Number to word Excel formula

Number to word Excel formula

Result
Formula (Microsoft 365, Excel 2024, Google Sheets)

  
Formula in a worksheetB2
Book1HomeInsertFormulasData
B2fx
AB

The worksheet runs the same logic as the formula, so each row shows what Excel returns.

Excel has no built-in function that spells numbers as words, but 1 formula does it without VBA. Paste the LET formula below into any cell, point it at the cell with the number, and 1,234 becomes "one thousand two hundred thirty-four." The formula works in Microsoft 365, Excel 2024, and Google Sheets, because it uses LET and LAMBDA, and it handles whole numbers up to 999,999,999,999.

Set the cell reference and output style in the tool, copy the formula, and paste it next to your numbers. The worksheet preview shows what the formula returns for your number and 4 sample values, including the dollars-and-cents version for checks and invoices.

How number to word Excel formula calculator works?

To spell a number in Excel, the number to word Excel formula calculator builds a LET and LAMBDA formula for your cell. The formula takes the whole part of the number, splits it into billions, millions, thousands, and units, spells each 3-digit group with a LAMBDA, and joins the groups with their scale words. 1,234 in A2 returns "one thousand two hundred thirty-four".

  1. Set the cell

    Type the cell with the number, such as A2, and pick plain, PROPER, UPPER, or dollars and cents.

    A2 · plain
  2. Split the number

    INT(n/10^9), MOD(INT(n/10^6),1000), MOD(INT(n/1000),1000), and MOD(n,1000) give 4 groups.

    1234 → 0 | 0 | 1 | 234
  3. Spell each group

    The LAMBDA f spells 0–999 with INDEX into 2 word arrays.

    234 → two hundred thirty-four
  4. Join and preview

    TRIM joins the groups. The worksheet preview runs the same logic on 5 test values.

    one thousand two hundred thirty-four

The formula needs Microsoft 365, Excel 2024, Excel for the web, or Google Sheets. Older Excel versions show #NAME? for LET and LAMBDA.

Number to word Excel formula explained

The number to word Excel formula splits a number into 4 groups with INT and MOD. b = INT(n/10⁹), m = MOD(INT(n/10⁶),1000), k = MOD(INT(n/1000),1000), u = MOD(n,1000), and the result is f(b) billion f(m) million f(k) thousand f(u).

Formula

b=INT(n/10^9) m=MOD(INT(n/10^6),1000)
k=MOD(INT(n/1000),1000) u=MOD(n,1000)
f(x) = INDEX(o,INT(x/100)+1)&" hundred "&… tens and ones

Where

n
INT(ABS(A2)), the whole number without sign
o
array of 20 words, "" to nineteen
t
array of 10 tens words, "" "" twenty … ninety
f
LAMBDA that spells 0 to 999

Worked example

A2 = 2,500,000b = 0, m = 2, k = 500, u = 0f(2) = two, f(500) = five hundredResult: two million five hundred thousand

The dollars option wraps the result: &" dollars and "&TEXT(MOD(ROUND(ABS(A2)*100,0),100),"00")&"/100".

Number to word Excel formula conversion chart

The number to word Excel formula conversion chart shows the result of the formula for 12 cell values. The formula covers every whole number from 0 to 999,999,999,999 and adds "minus" for negative numbers.

A2Plain resultPROPER result
0zeroZero
7sevenSeven
19nineteenNineteen
45forty-fiveForty-Five
100one hundredOne hundred
1,005one thousand fiveOne thousand five
1,234one thousand two hundred thirty-fourOne thousand two hundred thirty-Four
19,999nineteen thousand nine hundred ninety-nineNineteen thousand nine hundred ninety-Nine
250,000two hundred fifty thousandTwo hundred fifty thousand
2,500,000two million five hundred thousandTwo million five hundred thousand
-42minus forty-twoMinus forty-Two
1,000,000,000one billionOne billion

The number to words formula

This is the formula for cell A2. Change A2 in 2 places to point at another cell, or generate it in the tool above.

=LET(n,INT(ABS(A2)),o,{"","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"},t,{"","","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"},f,LAMBDA(x,TRIM(IF(x>=100,INDEX(o,INT(x/100)+1)&" hundred ","")&IF(MOD(x,100)<20,INDEX(o,MOD(x,100)+1),INDEX(t,INT(MOD(x,100)/10)+1)&IF(MOD(x,10),"-"&INDEX(o,MOD(x,10)+1),"")))),b,INT(n/10^9),m,MOD(INT(n/10^6),1000),k,MOD(INT(n/1000),1000),u,MOD(n,1000),IF(A2<0,"minus ","")&IF(n=0,"zero",TRIM(IF(b,f(b)&" billion ","")&IF(m,f(m)&" million ","")&IF(k,f(k)&" thousand ","")&f(u))))

The formula splits the number into 4 groups of 3 digits (billions, millions, thousands, units), spells each group with the same LAMBDA, and joins them with the scale words. TRIM removes the extra spaces left by empty groups, so 2,000,001 reads "two million one."

How the formula works, part by part

PartWhat it does
n,INT(ABS(A2))Drops the sign and decimals.
o,{…} and t,{…}Arrays of the 20 words from zero to nineteen and the 8 tens words.
f,LAMBDA(x,…)Spells 0 to 999: hundreds, then 1–19 directly or tens plus a hyphen and ones.
b, m, k, uThe billions, millions, thousands, and units groups.
IF(A2<0,"minus ","")Adds "minus" for negative numbers.

Older Excel versions: SpellNumber VBA

Excel 2019 and earlier lack LAMBDA, so the formula returns #NAME?. In those versions, use a VBA user-defined function. Microsoft publishes a SpellNumber macro on its support site; paste it into a module (Alt + F11, Insert, Module) and call =SpellNumber(A2). Save the workbook as .xlsm to keep the macro. The number to letter VBA page covers the module setup.

Excel stores 15 significant digits, so numbers above 999,999,999,999,999 lose their last digits before any formula sees them.

Frequently asked questions

Is there a function in Excel to convert numbers to words?

No built-in function exists. Use the LET formula on this page in Microsoft 365, Excel 2024, or Google Sheets, or the SpellNumber VBA macro in older versions.

Why does the formula show #NAME?

#NAME? means the Excel version does not support LET or LAMBDA. Use Microsoft 365, Excel 2024, or the VBA SpellNumber macro.

How do I get capital letters?

Wrap the formula in UPPER( ) for capitals or PROPER( ) for Title Case. The output style menu in the tool does this for you.

Can the formula write dollars and cents?

Yes. Pick "Dollars and cents" and the formula returns text such as "one thousand two hundred thirty-four dollars and 56/100."

Does it work in Google Sheets?

Yes. Google Sheets supports LET and LAMBDA, so the same formula works.

What is the Excel formula to convert numbers to words?

Excel has no built-in function, so use a LET and LAMBDA formula that splits the number into groups of 3 and spells each group. The generator above writes the full formula for any cell.

Does the number to words formula work in Excel 2016?

No, Excel 2016 lacks LET and LAMBDA and shows #NAME?. Use a SpellNumber VBA macro in Excel 2016 and 2019.

What does the formula return for 1005?

The formula returns "one thousand five" for 1,005. PROPER makes it "One Thousand Five".