1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Excel and negative numbers

Discussion in 'Business Applications' started by defscarlett, Apr 24, 2008.

Thread Status:
Not open for further replies.
  1. defscarlett

    defscarlett Thread Starter

    Joined:
    Feb 17, 2007
    Messages:
    146
    I know by formatting the cell you can select negative numbers to appear in red. I was wondering if there was a way to do that with zeros?
     
  2. Zack Barresse

    Zack Barresse

    Joined:
    Jul 25, 2004
    Messages:
    5,452
    Hi there,

    Yes, there is, but you'll need to do a custom format as there are no default formats for showing anything equal to zero in red. Now in order to do this, you'll need to understand a little of custom formatting. There are four items you can specify, and they are in specific order: Greater than zero, less than zero, equal to zero, and textual values. These items, are separated by a semi-colon ( ; ). So something like this...

    Code:
    0.00;-0.00[Red];0.0[Blue];[Green]
    This should explain them a little more...

    http://office.microsoft.com/en-us/excel/HP051995001033.aspx
    http://www.ozgrid.com/Excel/CustomFormats.htm
    http://www.exceltip.com/st/Replacing_Zeros_with_Dashes_in_Number_Formatting/66.html

    HTH
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/706818

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice