Table of Contents
In Microsoft 365 or Excel 2024, you can spell out whole Vietnamese dong amounts with a worksheet formula that uses LET and LAMBDA. Enter the numeric amount in B1 and put the formula in another cell. It supports amounts from 0 to 999,999,999,999 VND and uses Vietnamese wording such as lẻ, mốt, and lăm.
Enter the formula
Paste the following into the formula bar for cell B2. If your Excel locale uses semicolons between arguments, replace the argument separators. This formula uses English function names.
=IF(B1="","",IF(NOT(ISNUMBER(B1)),"Enter a number",IF(OR(B1<0,B1<>INT(B1),B1>=10^12),"Enter a whole amount from 0 to 999999999999",LET(
amount,B1,
word,LAMBDA(digit,CHOOSE(digit+1,"không","một","hai","ba","bốn","năm","sáu","bảy","tám","chín")),
three,LAMBDA(num,full,LET(hund,QUOTIENT(num,100),tens,MOD(QUOTIENT(num,10),10),ones,MOD(num,10),
IF(num=0,"",IF(OR(hund>0,full),word(hund)&" trăm ","")&
IF(tens=0,IF(AND(ones>0,OR(hund>0,full)),"lẻ ",""),IF(tens=1,"mười ",word(tens)&" mươi "))&
IF(ones=0,"",IF(AND(tens>1,ones=1),"mốt",IF(AND(tens>0,ones=5),"lăm",word(ones))))))),
billions,QUOTIENT(amount,10^9),millions,MOD(QUOTIENT(amount,10^6),1000),thousands,MOD(QUOTIENT(amount,1000),1000),rest,MOD(amount,1000),
IF(amount=0,"không đồng",TRIM(IF(billions=0,"",three(billions,FALSE)&" tỷ ")&
IF(millions=0,"",three(millions,billions>0)&" triệu ")&
IF(thousands=0,"",three(thousands,QUOTIENT(amount,10^6)>0)&" nghìn ")&
three(rest,QUOTIENT(amount,1000)>0))&" đồng")))))The formula splits the amount into groups of three digits, spells each group, and adds the appropriate scale word. It leaves the output blank for an empty input and returns a message for text, negative values, or decimals. Keep the amount in B1 as a number and use B2 for the printed wording.
Check the wording with sample amounts
| Amount | Expected wording |
|---|---|
| 0 | không đồng |
| 15 | mười lăm đồng |
| 21 | hai mươi mốt đồng |
| 105 | một trăm lẻ năm đồng |
| 1,005 | một nghìn không trăm lẻ năm đồng |
| 1,000,000,000 | một tỷ đồng |
Check the wording your organization uses for variants such as lẻ and linh before copying it to invoices. If the amount arrived as text, see how to turn numeric text into a number in Excel.
Use a helper sheet if your workbook already has one
The screenshots below show the older helper-sheet method. They are useful if you already have a formula-only workbook with that setup. The formula above can go directly in your worksheet.

In that layout, the helper sheet reads the original amount through a cell reference such as =Sheet1!B1.

The results sheet then references the helper cell containing the Vietnamese words.

If the helper output contains only the words, the display cell can append " đồng". The formula in this guide already adds it.

If Excel shows #NAME?, check support for LAMBDA and your localized function names. Excel 2003 and 2016 do not support this formula. For other approaches, see ways to convert numbers to words in Excel.
Reader Comments 0
Sign in with email or Google to join the discussion.