Results 1 to 3 of 3
  1. #1
    Bronze Lounger
    Join Date
    Jan 2001
    Posts
    1,418
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Format After Formulas (2003)

    I would like my default number format to be "Accounting" with no decimal places and the dollar sign included. However, whenever I use a function, say FV, the result is always in "Currency" with 2 decimal places, and of course the dollar sign is included. I then have to manually change it to the desired format of Accounting, etc. Anyway to avoid this unnecessary step-i. e., have the function result be in the Acounting format with the dollar sign included and no decimal point?
    Thanks in advance

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Format After Formulas (2003)

    No, Excel tries to be smart, and assumes that anyone using a financial function wants to use Currency format.

    You could create a macro in your Personal.xls workbook:

    Sub AccountingFormat()
    Selection.NumberFormat = "_($* #,##0_);_($* (#,##0);_($* ""-""_);_(@_)"
    End Sub

    and assign it to a keyboard shortcut and/or custom toolbar button, so that you can apply the format quickly, without going into the Format Cells dialog.

  3. #3
    Bronze Lounger
    Join Date
    Jan 2001
    Posts
    1,418
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Format After Formulas (2003)

    Thanks, Hans.

Posting Permissions

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