Function Problems

How to Convert Numbers to Words Using Lakh and Crore in Excel

Phi Hung VoPhi Hung Vo Nov 10, 2026 868 views

Question details

The user wants to convert numeric values into written text amounts based on the South Asian numbering system (lakhs and crores) instead of the standard millions and billions.

How to Convert Numbers to Words Using Lakh and Crore in Excel
Product
Excel
Device & OS
not provided
Scenario
Generating financial reports, invoices, or accounting documents where the regional numbering standards for Bangladesh, India, or Pakistan are required.
Observed behavior
The default SpellNumber function or number formatting in Excel natively supports only Western numbering systems (millions/billions), necessitating a custom LAMBDA function or VBA script.
Before you start

Verify your Excel version before proceeding. The LAMBDA function approach requires a Microsoft 365 subscription; if you are using an older version, you must use the VBA macro solution.

Solution 1Recommended

Use a Custom LAMBDA Function (For Microsoft 365)

Implement a custom LAMBDA function to convert numbers directly in modern versions of Excel without relying on macros.

The LAMBDA function allows you to create customized, reusable functions directly within Excel's Name Manager. This method is highly recommended for Microsoft 365 users because it avoids the security prompts and file format changes associated with VBA macros.

1
Open the Name Manager

Navigate to the Formulas tab on the Excel ribbon and click on the Name Manager button.

2
Create the New LAMBDA Name

Click 'New', type 'SpellNumberBD' into the Name field, and paste your custom LAMBDA formula (handling the lakh and crore conversion logic) into the 'Refers to' box.

3
Apply the Formula

Select an empty cell in your worksheet and type =SpellNumberBD(A1), substituting 'A1' with the cell reference containing your numeric value.

Use a Custom LAMBDA Function (For Microsoft 365)
Version Compatibility: The LAMBDA function is only available in Excel for Microsoft 365. If you see a #NAME? error, your version does not support it. Proceed to the VBA solution instead.
Convert Numbers to Words in WPS Spreadsheet

Easily Format Currencies to Words with WPS Office

WPS Spreadsheet offers powerful, built-in support for advanced functions and VBA macros. You can effortlessly run custom User-Defined Functions to format your regional financial reports using lakhs and crores without needing a premium subscription.

  1. 1. Download and Open WPS Office: Launch WPS Spreadsheet and open the document containing your financial data.
  2. 2. Access the VBA Editor: Press ALT + F11 to open the built-in VBA editor directly within the software.
  3. 3. Insert the Code: Insert a new Module, paste your customized SpellNumber VBA script, and close the editor.
  4. 4. Convert the Numbers: Type the formula =SpellNumber(A1) directly into any cell to seamlessly view the results formatted in lakhs and crores.
Full support for executing custom VBA macros and saving in .xlsm formatHighly compatible with Microsoft Excel formulas and functionsLightweight, fast, and completely free to downloadFamiliar user interface requiring no learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Why doesn't the default SpellNumber function work for Indian Rupees?

The standard SpellNumber macro provided by Microsoft uses Western numbering conventions (millions and billions). To output amounts in lakhs and crores, you must implement a customized logic script via a LAMBDA formula or a tailored VBA macro.

Can I use the LAMBDA function in older standalone versions of Excel?

No, LAMBDA functions are an exclusive feature of Microsoft 365 subscriptions. If you are using standalone versions like Excel 2019, 2016, or earlier, you must rely on the VBA macro approach to create custom functions.

Do I need to save my file differently if I use the VBA method?

Yes. Whenever you add VBA code to a workbook to convert numbers to words, you must save your spreadsheet as an Excel Macro-Enabled Workbook (.xlsm). If saved as a standard .xlsx file, the custom code will be permanently deleted upon closing.