+ Reply to Thread
Results 1 to 7 of 7

NumberFormat: display thousand seperator and opt. decimal points

  1. #1
    Registered User
    Join Date
    09-17-2013
    Location
    East
    MS-Off Ver
    Excel 2010
    Posts
    55

    NumberFormat: display thousand seperator and opt. decimal points

    Hey guys,

    I couldn't come up with a solution for the following issue: I want to format some numbers in the following format (using [.] as thousand seperator and [,] as decimal point):
    10.000
    13,33
    523
    513.613
    etc.
    Please Login or Register  to view this content.
    gives 10.000, but rounds 13,33 to 13.

    Please Login or Register  to view this content.
    gives "," behind integers, but displays 13,33 correctly.

    Any other ideas?

    Thanks,
    Klaster

  2. #2
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: NumberFormat: display thousand seperator and opt. decimal points

    In ThisWorkbook object:
    http://www.excelforum.com/excel-gene...separator.html

  3. #3
    Registered User
    Join Date
    09-17-2013
    Location
    East
    MS-Off Ver
    Excel 2010
    Posts
    55

    Re: NumberFormat: display thousand seperator and opt. decimal points

    Hey Kenneth,

    thanks for you reply. Unfortunately, that wasn't what I was looking for.

    My problem is, that I can't get a numberFormat, that shows thousand-seperators AND decimal numbers, but the later just in case the number is not a round lot.
    Sorry for not clarifying this better.

    Any ideas on that?

  4. #4
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Question Re: NumberFormat: display thousand seperator and opt. decimal points


    Hi,

    the easy way is to use the same format like "#,##0.00"


    Otherwise, see this code well operates on a PC with Arial 10 font :

    Please Login or Register  to view this content.
    Last edited by Marc L; 12-19-2013 at 09:31 AM. Reason: correction, sorry …

  5. #5
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: NumberFormat: display thousand seperator and opt. decimal points

    I think you are going to have problems working in two systems. If your system is set for those operators then this should work though it should be in your custom formats already.
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    09-17-2013
    Location
    East
    MS-Off Ver
    Excel 2010
    Posts
    55

    Re: NumberFormat: display thousand seperator and opt. decimal points

    Thanks Marc! That's quite delicious! :o)


    Kenneth: Seeing you 2nd reply just now. That might actually be the reason, however, I'll stick with Marc's solultion for now. Thanks anyways!

    Marking this solved.

  7. #7
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: NumberFormat: display thousand seperator and opt. decimal points

    Keep in mind that numberformat might seem to round but the true value is not changed.

+ 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. Replies: 2
    Last Post: 08-19-2013, 06:17 PM
  2. Number won't display with decimal points
    By mbderby in forum Excel General
    Replies: 2
    Last Post: 07-03-2013, 10:49 AM
  3. Replies: 3
    Last Post: 06-14-2012, 06:02 AM
  4. Form's Textbox thousand seperator
    By Snoopy2003 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-16-2011, 10:20 PM
  5. How to get thousand seperator after every two digits
    By Vanga Sasidhar in forum Excel General
    Replies: 2
    Last Post: 08-17-2006, 09:20 AM

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