+ Reply to Thread
Results 1 to 2 of 2

Custom Excel Format Displaying Lacs and Crores with decimals for any number.

  1. #1
    Registered User
    Join Date
    08-27-2023
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    2019
    Posts
    1

    Unhappy Custom Excel Format Displaying Lacs and Crores with decimals for any number.

    While handling a spectrum of very big numbers to small numbers, I like to keep the output short, summarized, concise and to the point. Hence, I found a format which partially works. I tried to fix it but no luck.

    The following Excel Custom Format

    [>9999999]#,##0.00,,," Cr "[$৳];[>99999]#,##0.00,," Lac "[$৳];##,##0[$ ৳]

    Gives me the following result:

    5 = 5 ৳

    50 = 50 ৳

    500 = 500 ৳

    5000 = 5,000 ৳

    50000 = 50,000 ৳

    500000 = 0.50 Lac ৳

    5000000 = 5.00 Lac ৳

    50000000 = 0.05 Cr ৳

    500000000 = 0.50 Cr ৳

    5000000000 = 5.00 Cr ৳

    50000000000 = 50.00 Cr ৳

    500000000000 = 500.00 Cr ৳

    We know in Bangladeshi/Indian format, there is a comma after every 2 zeros starting after the last 3 zeros. Hence as a result some results are wrong^, the actual result I'm seeking for is 500000 = 5.00 Lac ৳, 5000000 = 50.00 Lac ৳, 50000000 = 5.00 Cr ৳, 500000000 = 50.00 Cr ৳ and so on. The first 5 results are correct. What is the correct custom format, so it gives me what I'm looking for?

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,632

    Re: Custom Excel Format Displaying Lacs and Crores with decimals for any number.

    The issue is because of grouping digits rule is different in India/Bangladesh (may be some other countries in the region) than in the rest of world.

    But programmers in Microsoft knew about this. See the solution (start with the suggestion at the bottom going to language settings in options first) here: https://chandoo.org/wp/indian-currency-format-excel/
    Best Regards,

    Kaper

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Custom Number format for Crores, lakhs and Thousands
    By zaska in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-28-2023, 08:18 AM
  2. Replies: 3
    Last Post: 01-17-2022, 10:55 AM
  3. Replies: 5
    Last Post: 01-25-2020, 05:18 PM
  4. Displaying the number of decimals entered by the user
    By Johnegee in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-01-2019, 11:39 AM
  5. Displaying the number of decimals entered by the user
    By Johnegee in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-31-2019, 09:53 PM
  6. Displaying decimals that go in to a given number
    By weSky in forum Excel General
    Replies: 1
    Last Post: 06-07-2006, 05:00 AM
  7. Replies: 1
    Last Post: 12-09-2005, 01:00 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1