+ Reply to Thread
Results 1 to 3 of 3

Negative Number as a Zero

  1. #1
    Registered User
    Join Date
    10-27-2009
    Location
    Sierra Vista AZ
    MS-Off Ver
    Excel 2007
    Posts
    9

    Question Negative Number as a Zero

    My Formula is =(J42-K43)+H45

    If J42-K43 equals a negative number, I want it to be zero; then add H45. Any help? Formatting the cell will not work, if J42-K43 is a negative number, I need it to be a value of zero (and then add cell H45) not just displayed as such. Any help???
    Last edited by garybarrow; 11-03-2009 at 04:17 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: Negative Number as a Zero

    =max(0, J42-K43) + H45
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    10-27-2009
    Location
    Sierra Vista AZ
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Negative Number as a Zero

    GREAT!! Just what I needed! How do I rate you for helping me? I've tried to find it in the FAQ but failed....

+ 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