+ Reply to Thread
Results 1 to 3 of 3

editing number format

Hybrid View

  1. #1
    Registered User
    Join Date
    06-17-2010
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    2

    editing number format

    hi pple,

    i would like to insert a vba code where i want to convert an amount of 5,402,203 into 5.40M; is it possible because i been using "##,##0,\M" but it's giving me 5,402M instead of 5.40M becoz 5,402M sounds like 5 thousand and 4hundred and 2 millions.

    thanks.

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: editing number format

    Almost

    0.*,\K

    or

    0.. \M
    Last edited by snb; 06-18-2010 at 11:46 AM.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: editing number format

    Depnding on your regional settings (I don't know what Singapore uses), maybe 0.00,,\M
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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