+ Reply to Thread
Results 1 to 5 of 5

conditional formatting

Hybrid View

  1. #1
    Registered User
    Join Date
    03-15-2011
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    48

    conditional formatting

    Is there a way to apply a condititional format to a column to make a minus figure display as a zero?

    macke

  2. #2
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: conditional formatting

    Try custom cell formatting
    ##;"0";0
    See How to Custom Format Cells
    Last edited by contaminated; 04-27-2011 at 06:51 AM.
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, ?Born in USSR?
    Vusal M Dadashev

    Baku, Azerbaijan

  3. #3
    Registered User
    Join Date
    03-15-2011
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: conditional formatting

    Hi that works brilliant thanks.

    What if the figure was 0.23 and I wanted this as a 0, but retaining the format of 2 decimal places.

    macke

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,719

    Re: conditional formatting

    Quote Originally Posted by rwl518p View Post
    Hi that works brilliant thanks.

    What if the figure was 0.23 and I wanted this as a 0, but retaining the format of 2 decimal places.

    macke
    Can you give some examples? 0.23 should display as what - 0 or 0.00?

    What about 1.23 or 123.74?
    Audere est facere

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

    Re: conditional formatting

    try just format as
    General;"0"
    "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

+ 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