+ Reply to Thread
Results 1 to 3 of 3

number format

  1. #1
    Newbie
    Guest

    number format

    I want to be able to format a number so that
    if it is 0 it shows "-"
    If it is positive is shows 2 decimal places like 10,500.30
    If it is negative it shows in brackets like (10,500.30)

    How can I do this

    Thanks

    A



  2. #2
    Bob Phillips
    Guest

    Re: number format

    Custom format of

    #,###,##0.00;(#,###,##0.00);"-"

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Newbie" <[email protected]> wrote in message
    news:%[email protected]...
    > I want to be able to format a number so that
    > if it is 0 it shows "-"
    > If it is positive is shows 2 decimal places like 10,500.30
    > If it is negative it shows in brackets like (10,500.30)
    >
    > How can I do this
    >
    > Thanks
    >
    > A
    >
    >




  3. #3
    Newbie
    Guest

    Re: number format

    thanks
    "Bob Phillips" <[email protected]> wrote in message
    news:[email protected]...
    > Custom format of
    >
    > #,###,##0.00;(#,###,##0.00);"-"
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Newbie" <[email protected]> wrote in message
    > news:%[email protected]...
    >> I want to be able to format a number so that
    >> if it is 0 it shows "-"
    >> If it is positive is shows 2 decimal places like 10,500.30
    >> If it is negative it shows in brackets like (10,500.30)
    >>
    >> How can I do this
    >>
    >> Thanks
    >>
    >> A
    >>
    >>

    >
    >




+ 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