+ Reply to Thread
Results 1 to 6 of 6

12.25 to display as $12,250,000 using custom formatting

  1. #1
    Registered User
    Join Date
    06-23-2010
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2007
    Posts
    13

    12.25 to display as $12,250,000 using custom formatting

    Is there anyway to have a custom format to multiply a number by 1 million? Like if I type in 4.252 it shows up as $4,252,000 etc.
    Last edited by arsenal123gunners; 06-27-2010 at 12:25 PM.

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

    Re: 12.25 to display as $12,250,000 using custom formatting

    No, you can't do that with a format. You can only go the other way.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,601

    Re: 12.25 to display as $12,250,000 using custom formatting

    You can format cells as: [$$-409]#.##0,000 000

    (maybe you'll need to switch , and . )

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: 12.25 to display as $12,250,000 using custom formatting

    zbor that
    [$$-409] bit what does it do ? as far as i'm aware that causes problems in 2007 with default format of workbook. and best thing is to delete any custom formats starting with that.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,601

    Re: 12.25 to display as $12,250,000 using custom formatting

    I have no idea.. I've just copy from custom format box since it was working for me

  6. #6
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: 12.25 to display as $12,250,000 using custom formatting

    A simple VBa solution might be

    1/. Format column A > Accounting > symbol > $

    2/. Put this code in the Sheet Module for the Sheet you need to "Format"
    Please Login or Register  to view this content.
    Numbers entered in Column A will be a real value, not just a formatted display value.

    To enter the code in the correct sheet module.

    Right click on the sheet tab you require then click > view code
    Paste all of the code in the resultant pane, (this is the Worksheet Module)


    Hope this helps.

    If you need any further information, please feel free to ask further

    However

    If this takes care of your needs, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED. It helps everybody!
    Also
    If you are satisfied by any members response to your problem please consider using the scales icon top right of thier post to show your appreciation.
    Last edited by Marcol; 06-25-2010 at 04:17 AM.

+ 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